Commit | Line | Data |
---|---|---|
64a69107 DJ |
1 | 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
2 | ||
3 | * terminal.h: Check HAVE_SGTTY_H. | |
4 | ||
5 | 2007-02-27 Mat Hostetter <mat@lcs.mit.edu> | |
6f8486da DJ |
6 | |
7 | * remote-utils.c (remote_open): Print out the assigned port number. | |
8 | ||
c74d0ad8 DJ |
9 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
10 | ||
11 | * remote-utils.c (monitor_output): New function. | |
12 | * server.c (debug_threads): Define here. | |
13 | (monitor_show_help): New function. | |
14 | (handle_query): Handle qRcmd. | |
15 | (main): Do not handle 'd' packet. | |
16 | * server.h (debug_threads, remote_debug, monitor_output): Declare. | |
17 | * linux-low.c, spu-low.c, win32-i386-low.c: Remove definitions | |
18 | of debug_threads. | |
19 | ||
de7c3b4a PA |
20 | 2007-02-25 Pedro Alves <pedro_alves@portugalmail.pt> |
21 | ||
22 | * Makefile.in (EXEEXT): New. | |
23 | (clean): Use $(EXEEXT). | |
24 | ||
ef57601b PA |
25 | 2007-02-25 Pedro Alves <pedro_alves@portugalmail.pt> |
26 | ||
27 | * target.h (target_ops): Rename send_signal to request_interrupt, | |
28 | and remove enum target_signal parameter. | |
29 | * linux-low.c (linux_request_interrupt): Rename from | |
30 | linux_send_signal, and always send SIGINT. | |
31 | * spu-low.c (spu_request_interrupt): Rename from spu_send_signal, | |
32 | and always send SIGINT. | |
33 | * remote-utils.c (putpkt_binary): Call request_interrupt, instead | |
34 | of send_signal. | |
35 | (input_interrupt): Likewise. | |
36 | ||
820f2bda PA |
37 | 2007-02-25 Pedro Alves <pedro_alves@portugalmail.pt> |
38 | ||
39 | * server.c (get_features_xml): Check if target implemented | |
40 | arch_string. | |
41 | * win32-i386-low.c (win32_arch_string): New. | |
42 | (win32_target_ops): Add win32_arch_string as arch_string member. | |
43 | ||
ab39bf24 UW |
44 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
45 | ||
46 | * spu-low.c (spu_arch_string): New. | |
47 | (spu_target_ops): Add spu_arch_string. | |
48 | ||
61ff6e04 DJ |
49 | 2007-02-16 Daniel Jacobowitz <dan@codesourcery.com> |
50 | ||
51 | * remote-utils.c: Remove HAVE_TERMINAL_H check. | |
52 | * configure.ac: Do not check for terminal.h. | |
53 | * configure, config.in: Regenerated. | |
54 | ||
fb1e4ffc DJ |
55 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
56 | ||
57 | * Makefile.in (OBS): Add $(XML_BUILTIN). | |
58 | (XML_DIR, XML_TARGET, XML_FILES, XML_BUILTIN): New. | |
59 | (clean): Update. | |
60 | (target.xml, xml-builtin.c, stamp-xml, arm-with-iwmmxt.o) | |
61 | (arm-with-iwmmxt.c): New. | |
62 | * config.in, configure: Regenerate. | |
63 | * configure.ac: Check for iWMMXt. Handle srv_xmltarget, | |
64 | srv_xmlbuiltin, and srv_xmlfiles. Define USE_XML. | |
65 | * configure.srv: Mention srv_xmltarget and srv_xmlfiles. | |
66 | (arm*-*-linux*): Add iWMMXt and regset support. | |
67 | * linux-arm-low.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. | |
68 | (arm_fill_gregset, arm_store_gregset, arm_fill_wmmxregset) | |
69 | (arm_store_wmmxregset, target_regsets): New. | |
70 | * server.c (get_features_xml): Take annex argument. Check builtin | |
71 | XML documents. | |
72 | (handle_query): Handle multiple annexes. | |
73 | ||
0f48aa01 DJ |
74 | 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
75 | ||
76 | * remote-utils.c [USE_WIN32API] (read, write): Define. | |
77 | (putpkt_binary, input_interrupt, readchar, getpkt): Use read and | |
78 | write. | |
79 | ||
23181151 DJ |
80 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
81 | ||
82 | * linux-i386-low.c (the_low_target): Set arch_string. | |
83 | * linux-x86-64-low.c (the_low_target): Likewise. | |
84 | * linux-low.c (linux_arch_string): New. | |
85 | (linux_target_ops): Add it. | |
86 | * linux-low.h (struct linux_target_ops): Add arch_string. | |
87 | * server.c (write_qxfer_response): Use const void * for DATA. | |
88 | (get_features_xml): New. | |
89 | (handle_query): Handle qXfer:features:read. Report it for qSupported. | |
90 | * target.h (struct target_ops): Add arch_string method. | |
91 | ||
9d606399 DJ |
92 | 2007-01-03 Denis Pilat <denis.pilat@st.com> |
93 | Daniel Jacobowitz <dan@codesourcery.com> | |
94 | ||
95 | * linux-low.c (linux_kill): Handle being called with no threads. | |
96 | * win32-i386-low.c (win32_kill): Likewise. | |
97 | (get_child_debug_event): Clear current_process_handle. | |
98 | ||
99 | 2006-12-30 Denis PILAT <denis.pilat@st.com> | |
8264bb58 DJ |
100 | Daniel Jacobowitz <dan@codesourcery.com> |
101 | ||
102 | * remote-utils.c (remote_open): Check the type of specified | |
103 | serial port devices before opening them. | |
104 | * server.c (main): Kill the inferior if an error occurs during | |
105 | the first remote_open. | |
106 | ||
a5e13d24 DJ |
107 | 2006-12-05 Markus Deuling <deuling@de.ibm.com> |
108 | ||
109 | * README: Update supported targets. | |
110 | ||
186947f7 DJ |
111 | 2006-11-28 Daniel Jacobowitz <dan@codesourcery.com> |
112 | ||
113 | * Makefile.in (clean): Remove reg-mips64.c. | |
114 | (reg-mips64.c, reg-mips64.o): New rules. | |
115 | * configure.srv: Handle mips64. Include regset support for mips. | |
116 | * linux-mips-low.c (union mips_register): New. | |
117 | (mips_get_pc, mips_set_pc, mips_reinsert_addr): Use it. | |
118 | (mips_breakpoint, mips_breakpoint_at): Use int. | |
119 | (mips_collect_register, mips_supply_register) | |
120 | (mips_collect_register_32bit, mips_supply_register_32bit) | |
121 | (mips_fill_gregset, mips_store_gregset, mips_fill_fpregset) | |
122 | (mips_store_fpregset, target_regsets): New. | |
123 | * thread-db.c (thread_db_get_tls_address): Use uintptr_t. | |
124 | ||
a13e2c95 UW |
125 | 2006-11-22 Ulrich Weigand <uweigand@de.ibm.com> |
126 | ||
127 | * configure.srv: Add target "spu*-*-*". | |
128 | * Makefile.in (clean): Remove reg-spu.c. | |
129 | (reg-spu.c, reg-spu.o, spu-low.o): Add dependencies. | |
130 | * spu-low.c: New file. | |
131 | ||
cb7283db DJ |
132 | 2006-11-16 Daniel Jacobowitz <dan@codesourcery.com> |
133 | ||
134 | * configure.ac: Correct td_thr_tls_get_addr test. | |
135 | * configure: Regenerated. | |
136 | ||
89be2091 DJ |
137 | 2006-11-16 Daniel Jacobowitz <dan@codesourcery.com> |
138 | ||
139 | * linux-low.c (linux_wait_for_event): Reformat. Use the | |
140 | pass_signals array. | |
141 | * remote-utils.c (decode_address_to_semicolon): New. | |
142 | * server.c (pass_signals, handle_general_set): New. | |
143 | (handle_query): Mention QPassSignals for qSupported. | |
144 | (main): Call handle_general_set. | |
145 | * server.h (pass_signals, decode_address_to_semicolon): New. | |
146 | ||
000ef4f0 DJ |
147 | 2006-11-06 Daniel Jacobowitz <dan@codesourcery.com> |
148 | ||
149 | * server.c (handle_query): Correct error handling for read_auxv. | |
150 | ||
b7149293 UW |
151 | 2005-10-19 Ulrich Weigand <uweigand@de.ibm.com> |
152 | ||
153 | * configure.srv [s390-*-linux*, s390x-*-linux*]: Set srv_linux_regsets | |
154 | and srv_linux_thread_db to yes. | |
155 | * linux-s390-low.c (s390_fill_gregset): New function. | |
156 | (target_regsets): Define data structure. | |
157 | ||
dae5f5cf DJ |
158 | 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com> |
159 | ||
160 | * acinclude.m4 (SRV_CHECK_TLS_GET_ADDR): New. | |
161 | * configure.ac: Use it. Define HAVE_TD_THR_TLS_GET_ADDR. | |
162 | * config.in, configure: Regenerated. | |
163 | * inferiors.c (gdb_id_to_thread): New function. | |
164 | (gdb_id_to_thread_id): Use it. | |
165 | * linux-low.c (linux_target_ops): Use thread_db_get_tls_address. | |
166 | * linux-low.h (struct process_info): Add th member. | |
167 | (thread_db_get_tls_address): New prototype. | |
168 | * remote-utils.c (decode_address): Make non-static. | |
169 | * server.c (handle_query): Handle qGetTLSAddr. | |
170 | * server.h (gdb_id_to_thread, decode_address): New prototypes. | |
171 | * target.h (struct target_ops): Add get_tls_address. | |
172 | * thread-db.c (maybe_attach_thread): Save the thread handle. | |
173 | (thread_db_get_tls_address): New. | |
174 | ||
32ca6d61 DJ |
175 | 2006-09-28 Daniel Jacobowitz <dan@codesourcery.com> |
176 | ||
177 | * linux-low.c (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
178 | (linux_resume_one_process): Take a siginfo_t *. Update all | |
179 | callers. Queue it if necessary. Use PTRACE_SETSIGINFO. | |
180 | (struct pending_signals): Add a siginfo_t. | |
181 | (linux_wait_for_process): Always set last_status. | |
182 | (linux_wait_for_event): Use PTRACE_GETSIGINFO. | |
183 | (linux_queue_one_thread): Use PTRACE_GETSIGINFO. | |
184 | * linux-low.h (struct process_info): Add last_status. | |
185 | ||
5ffff7c1 DJ |
186 | 2006-09-21 Daniel Jacobowitz <dan@codesourcery.com> |
187 | ||
188 | * remote-utils.c (try_rle): New function. | |
189 | (putpkt_binary): Use it. | |
190 | ||
8695c747 DJ |
191 | 2006-08-19 Daniel Jacobowitz <dan@codesourcery.com> |
192 | ||
193 | * Makefile.in (clean): Clean reg-x86-64-linux.c. | |
194 | (reg-x86-64-linux.o, reg-x86-64-linux.c): New. | |
195 | * configure.srv (x86_64-*-linux*): Use reg-x86-64-linux.o. | |
196 | * linux-x86-64-low.c (x86_64_regmap): Include ORIG_RAX. | |
197 | (x86_64_fill_gregset, x86_64_store_gregset): Skip floating | |
198 | point registers. | |
199 | ||
290fadea RS |
200 | 2006-08-08 Richard Sandiford <richard@codesourcery.com> |
201 | ||
202 | * server.c (terminal_fd): New variable. | |
203 | (old_foreground_pgrp): Likewise. | |
204 | (restore_old_foreground_pgrp): New function. | |
205 | (start_inferior): Record the terminal file descriptor in terminal_fd | |
206 | and its original foreground group in old_foreground_pgrp. Register | |
207 | restore_old_foreground_pgrp with atexit(). | |
208 | ||
9f2e1e63 DJ |
209 | 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com> |
210 | ||
211 | * server.c (handle_query): Correct qPart to qXfer. | |
212 | ||
b80864fb DJ |
213 | 2006-07-22 Daniel Jacobowitz <dan@codesourcery.com> |
214 | ||
215 | * configure.ac: Check for more headers which are missing on | |
216 | Windows. Automatically supply -lwsock32 and USE_WIN32API. | |
217 | * configure.srv: Add Cygwin and mingw32. | |
218 | * remote-utils.c: Don't include headers unconditionally which | |
219 | are missing on mingw32. Include <winsock.h> for mingw32. | |
220 | (remote_open): Adjust for mingw32 support. Flush | |
221 | standard error after writing to it. | |
222 | (remote_close, putpkt_binary, input_interrupt, block_async_io) | |
223 | (unblock_async_io, enable_async_io, disable_async_io) | |
224 | (readchar, getpkt): Update for Winsock support. | |
225 | (prepare_resume_reply): Expect a protocol signal number. | |
226 | * server.c: Disable <sys/wait.h> on mingw32. | |
227 | (start_inferior): Adjust for mingw32 support. Flush | |
228 | standard error after writing to it. | |
229 | (attach_inferior): Likewise. Use protocol signal | |
230 | numbers. | |
231 | (main): Skip 'D' packet on mingw32. Use protocol signal numbers | |
232 | and names. | |
233 | * win32-i386-low.c: New file. | |
234 | * Makefile.in (XM_CLIBS): Set. | |
235 | (gdbserver, gdbreplay): Use $(INTERNAL_CFLAGS). | |
236 | (win32-i386-low.o): New dependency rule. | |
237 | * linux-low.c (linux_wait): Use target signal numbers. | |
238 | * target.h (struct target_ops): Doc fix. | |
239 | * server.h (target_signal_to_name): New prototype. | |
240 | * gdbreplay.c: Don't include headers unconditionally which | |
241 | are missing on mingw32. Include <winsock.h> for mingw32. | |
242 | (remote_close, remote_open): Adjust for Winsock support. | |
243 | * configure, config.in: Regenerated. | |
244 | ||
0876f84a DJ |
245 | 2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> |
246 | ||
247 | * server.c (decode_xfer_read, write_qxfer_response): New. | |
248 | (handle_query): Take a packet length argument. Handle | |
249 | qXfer:auxv:read instead of qPart:auxv:read. Mention it in | |
250 | the qSupported response. | |
251 | (main): Update call to handle_query. | |
252 | ||
01f9e8fa DJ |
253 | 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com> |
254 | ||
255 | * remote-utils.c (remote_escape_output, remote_unescape_input): New. | |
256 | (putpkt_binary): Renamed from putpkt and adjusted for binary | |
257 | data. | |
258 | (putpkt): New wrapper for putpkt_binary. | |
259 | (readchar): Don't mask off the high bit. | |
260 | (decode_X_packet): New function. | |
261 | * server.c (main): Call putpkt_binary if a handler sets the packet | |
262 | length. Save the length of the incoming packet. Handle 'X'. | |
263 | * server.h (gdb_byte, remote_escape_output, decode_X_packet): New. | |
264 | ||
be2a5f71 DJ |
265 | 2006-06-21 Daniel Jacobowitz <dan@codesourcery.com> |
266 | ||
267 | * server.c (handle_query): Handle qSupported. | |
268 | ||
ea025f5f DJ |
269 | 2006-05-30 Daniel Jacobowitz <dan@codesourcery.com> |
270 | ||
271 | * remote-utils.c (all_symbols_looked_up): New variable. | |
272 | (look_up_one_symbol): Check it. | |
273 | * server.h (look_up_one_symbol): New declaration. | |
274 | * thread-db.c (thread_db_init): Set all_symbols_looked_up. | |
275 | ||
9308fc88 DJ |
276 | 2006-05-30 Daniel Jacobowitz <dan@codesourcery.com> |
277 | ||
278 | * Makefile.in (linux-arm-low.o): Update dependencies. | |
66f338c7 | 279 | * linux-arm-low.c: Include "gdb_proc_service.h". |
9308fc88 DJ |
280 | (PTRACE_GET_THREAD_AREA): Define. |
281 | (ps_get_thread_area): New function. | |
282 | ||
52fb6437 NS |
283 | 2006-05-09 Nathan Sidwell <nathan@codesourcery.com> |
284 | ||
285 | * configure.srv (m68k*-*-uclinux*): New target. | |
286 | * linux-low.c (linux_create_inferior): Use vfork on mmuless systems. | |
287 | (linux_resume_one_process): Remove extraneous cast. | |
288 | (linux_read_offsets): New. | |
289 | (linux_target_op): Add linux_read_offsets on mmuless systems. | |
290 | * server.c (handle_query): Add qOffsets logic. | |
291 | * target.h (struct target_ops): Add read_offsets. | |
292 | ||
21b0f40c DJ |
293 | 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
294 | ||
295 | * linux-mips-low.c: Include <sys/ptrace.h> and "gdb_proc_service.h". | |
296 | (PTRACE_GET_THREAD_AREA): Define. | |
297 | (ps_get_thread_area): New function. | |
298 | * Makefile.in (linux-i386-low.o, linux-mips-low.o) | |
299 | (linux-x86-64-low.o): Update. | |
300 | ||
0050a760 DJ |
301 | 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
302 | ||
303 | * configure.ac: Remove checks for prfpregset_t. | |
304 | * gdb_proc_service.h: New file. | |
305 | * linux-i386-low.c, linux-x86-64-low.c, thread-db.c: Use the | |
306 | new "gdb_proc_service.h". | |
307 | * proc-service.c: Likewise. | |
308 | (ps_pglobal_lookup, ps_pdread, ps_pdwrite): Use psaddr_t. | |
309 | (ps_lgetfpregs, ps_lsetfpregs): Use a void* argument. | |
310 | * Makefile.in (gdb_proc_service_h): Updated. | |
311 | * configure, config.in: Regenerated. | |
312 | ||
b92a518e DJ |
313 | 2006-03-03 Daniel Jacobowitz <dan@codesourcery.com> |
314 | ||
315 | * remote-utils.c (prepare_resume_reply): Move declaration | |
316 | of gdb_id_from_wait to the top of the block. | |
317 | ||
545587ee DJ |
318 | 2006-02-15 Daniel Jacobowitz <dan@codesourcery.com> |
319 | ||
320 | * linux-low.c (regsets_store_inferior_registers): Read the regset | |
321 | from the target before filling it. | |
322 | ||
9db87ebd DJ |
323 | 2006-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
324 | ||
325 | * server.c (attach_inferior): Return SIGTRAP for a successful | |
326 | attach. | |
327 | ||
dd24457d DJ |
328 | 2006-02-01 Daniel Jacobowitz <dan@codesourcery.com> |
329 | ||
330 | * Makefile.in (OBS): Add version.o. | |
331 | (STAGESTUFF): Delete. | |
332 | (version.o): Add dependencies. | |
333 | (version.c): Replace rule. | |
334 | (clean): Remove version.c. | |
335 | * server.c (gdbserver_version): New. | |
336 | (gdbserver_usage): Use printf. | |
337 | (main): Handle --version and --help. | |
338 | * server.h (version, host_name): Add declarations. | |
339 | ||
6f0f660e EZ |
340 | 2005-12-23 Eli Zaretskii <eliz@gnu.org> |
341 | ||
342 | * linux-arm-low.c: | |
343 | * linux-arm-low.c: | |
344 | * inferiors.c: | |
345 | * i387-fp.h: | |
346 | * i387-fp.c: | |
347 | * gdbreplay.c: | |
348 | * regcache.c: | |
349 | * proc-service.c: | |
350 | * mem-break.h: | |
351 | * mem-break.c: | |
352 | * linux-x86-64-low.c: | |
353 | * linux-sh-low.c: | |
354 | * linux-s390-low.c: | |
355 | * linux-ppc64-low.c: | |
356 | * linux-ppc-low.c: | |
357 | * linux-mips-low.c: | |
358 | * linux-m68k-low.c: | |
359 | * linux-m32r-low.c: | |
360 | * linux-low.h: | |
361 | * linux-low.c: | |
362 | * linux-ia64-low.c: | |
363 | * linux-i386-low.c: | |
364 | * linux-crisv32-low.c: | |
365 | * thread-db.c: | |
366 | * terminal.h: | |
367 | * target.h: | |
368 | * target.c: | |
369 | * server.h: | |
370 | * server.c: | |
371 | * remote-utils.c: | |
372 | * regcache.h: | |
373 | * utils.c: | |
374 | * Makefile.in: | |
375 | * configure.ac: | |
376 | * gdbserver.1: Add (C) after Copyright. Update the FSF | |
377 | address. | |
378 | ||
9d1fb177 DJ |
379 | 2005-11-13 Daniel Jacobowitz <dan@codesourcery.com> |
380 | ||
381 | * linux-arm-low.c (arm_eabi_breakpoint): New variable. | |
382 | (arm_breakpoint_at): Recognize both breakpoints. | |
383 | (the_low_target): Use the correct breakpoint instruction. | |
384 | ||
011a70c2 DJ |
385 | 2005-11-02 Daniel Jacobowitz <dan@codesourcery.com> |
386 | ||
387 | * configure.srv (x86_64-*-linux*): Turn on thread_db support. | |
388 | * linux-x86-64-low.c (x86_64_breakpoint, x86_64_breakpoint_len) | |
389 | (x86_64_get_pc, x86_64_set_pc, x86_64_breakpoint_at): New. | |
390 | (the_low_target): Update. | |
391 | ||
7fb85e41 AS |
392 | 2005-10-25 Andreas Schwab <schwab@suse.de> |
393 | ||
394 | * server.c (main): Allocate mem_buf with PBUFSIZ bytes. | |
395 | ||
396 | * linux-ia64-low.c (ia64_regmap): Remove NAT registers. | |
397 | (ia64_num_regs): Reduce to 462. | |
398 | ||
3db0444b DJ |
399 | 2005-09-17 Daniel Jacobowitz <dan@codesourcery.com> |
400 | ||
401 | * acinclude.m4: Correct quoting. | |
402 | * aclocal.m4: Regenerated. | |
403 | ||
404 | Suggested by SZOKOVACS Robert <szo@ies.hu>: | |
405 | * thread-db.c (thread_db_err_str): Handle TD_VERSION. | |
406 | (thread_db_init): Call thread_db_err_str. | |
407 | * configure.ac: Check for TD_VERSION. | |
408 | * config.in, configure: Regenerated. | |
409 | ||
bee0189a DJ |
410 | 2005-07-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
411 | ||
412 | * server.h (error, fatal, warning): Add ATTR_FORMAT. | |
413 | ||
e9d25b98 DJ |
414 | 2005-07-13 Daniel Jacobowitz <dan@codesourcery.com> |
415 | ||
416 | * configure.ac: Define HAVE_LINUX_REGSETS even if PTRACE_GETREGS | |
417 | is not available. Define HAVE_PTRACE_GETREGS if it is. | |
418 | * config.in, configure: Regenerated. | |
419 | * configure.srv: Set srv_linux_regsets for PowerPC and PowerPC64. | |
420 | * linux-i386-low.c, linux-m68k-low.c: Update to use | |
421 | HAVE_PTRACE_GETREGS. | |
422 | * linux-low.c (regsets_fetch_inferior_registers) | |
423 | (regsets_store_inferior_registers): Only return 0 if we processed | |
424 | GENERAL_REGS. | |
425 | * linux-ppc-low.c (ppc_fill_gregset, target_regsets): New. | |
426 | * linux-ppc64-low.c (ppc_fill_gregset, target_regsets): New. | |
427 | ||
a06660f7 DJ |
428 | 2005-07-13 Daniel Jacobowitz <dan@codesourcery.com> |
429 | ||
430 | * inferiors.c (struct thread_info): Add gdb_id. | |
431 | (add_thread): Add gdb_id argument. | |
432 | (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): New. | |
433 | * linux-low.c (linux_create_inferior, linux_attach_lwp): Update | |
434 | calls to add_thread. | |
435 | * remote-utils.c (prepare_resume_reply: Use thread_to_gdb_id. | |
436 | * server.c (handle_query): Use thread_to_gdb_id. | |
437 | (handle_v_cont, main): Use gdb_id_to_thread_id. | |
438 | * server.h (add_thread): Update prototype. | |
439 | (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): New | |
440 | prototypes. | |
441 | ||
5a1f5858 DJ |
442 | 2005-07-13 Daniel Jacobowitz <dan@codesourcery.com> |
443 | ||
444 | * linux-low.c (fetch_register, usr_store_inferior_registers): Handle | |
445 | left-padded registers. | |
446 | * linux-low.h (struct linux_target_ops): Add left_pad_xfer. | |
447 | * linux-ppc64-low.c (the_low_target): Set left_pad_xfer. | |
448 | ||
e122f1f5 SE |
449 | 2005-07-01 Steve Ellcey <sje@cup.hp.com> |
450 | ||
451 | * configure.ac (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS. | |
452 | * configure: Regenerate. | |
453 | * config.in: Regenerate. | |
454 | * server.h (NEED_DECLARATION_STRERROR): | |
455 | Replace with !HAVE_DECL_STRERROR. | |
456 | ||
d592fa2f DJ |
457 | 2005-06-16 Daniel Jacobowitz <dan@codesourcery.com> |
458 | ||
459 | * linux-low.c (linux_wait, linux_send_signal): Don't test | |
460 | an unsigned long variable for > 0 if it could be MAX_ULONG. | |
461 | * server.c (myresume): Likewise. | |
462 | * target.c (set_desired_inferior): Likewise. | |
463 | ||
ccbd4912 MK |
464 | 2005-06-13 Mark Kettenis <kettenis@gnu.org> |
465 | ||
466 | * configure.ac: Simplify and improve check for socklen_t. | |
467 | * configure, config.in: Regenerate. | |
468 | ||
f450004a DJ |
469 | 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com> |
470 | ||
471 | * acconfig.h: Remove. | |
472 | * configure.ac: Add a test for socklen_t. Use three-argument | |
473 | AC_DEFINE throughout. | |
474 | * config.in: Regenerated using autoheader 2.59. | |
475 | * configure: Regenerated. | |
476 | ||
477 | * gdbreplay.c (socklen_t): Provide a default. | |
478 | (remote_open): Use socklen_t. | |
479 | * remote-utils.c (socklen_t): Provide a default. | |
480 | (remote_open): Use socklen_t. | |
481 | (convert_int_to_ascii, convert_ascii_to_int, decode_M_packet): Use | |
482 | unsigned char. | |
483 | ||
484 | * i387-fp.c (struct i387_fsave, struct i387_fxsave): Use unsigned | |
485 | char for buffers. | |
486 | * linux-low.c (linux_read_memory, linux_write_memory) | |
487 | (linux_read_auxv): Likewise. | |
488 | * mem-break.c (breakpoint_data, set_breakpoint_data, check_mem_read) | |
489 | (check_mem_write): Likewise. | |
490 | * mem-break.h (set_breakpoint_data, check_mem_read, check_mem_write): | |
491 | Likewise. | |
492 | * regcache.c (struct inferior_rgcache_data, registers_to_string) | |
493 | (registers_from_string, register_data): Likewise. | |
494 | * server.c (handle_query, main): Likewise. | |
495 | * server.h (convert_ascii_to_int, convert_int_to_ascii) | |
496 | (decode_M_packet): Likewise. | |
497 | * target.c (read_inferior_memory, write_inferior_memory): Likewise. | |
498 | * target.h (struct target_ops): Update read_memory, write_memory, | |
499 | and read_auxv. | |
500 | (read_inferior_memory, write_inferior_memory): Update. | |
501 | * linux-low.h (struct linux_target_ops): Change type of breakpoint | |
502 | to unsigned char *. | |
503 | * linux-arm-low.c, linux-cris-low.c, linux-crisv32-low.c, | |
504 | linux-i386-low.c, linux-m32r-low.c, linux-m68k-low.c, | |
505 | linux-mips-low.c, linux-ppc-low.c, linux-ppc64-low.c, | |
506 | linux-s390-low.c, linux-sh-low.c: Update for changes in | |
507 | read_inferior_memory and the_low_target->breakpoint. | |
508 | ||
eee84df1 DJ |
509 | 2005-05-28 Daniel Jacobowitz <dan@codesourcery.com> |
510 | ||
511 | * Makefile.in (SFILES): Add linux-ppc64-low.c. | |
512 | (linux-ppc64-low.o, reg-ppc64.c, reg-ppc64.o): New targets. | |
513 | * configure.srv: Add powerpc64-*-linux*. | |
514 | * linux-ppc64-low.c: New file. | |
515 | ||
45b134e5 OF |
516 | 2005-05-23 Orjan Friberg <orjanf@axis.com> |
517 | ||
518 | * linux-cris-low.c: New file with support for CRIS. | |
519 | * linux-crisv32-low.c: Ditto for CRISv32. | |
520 | * Makefile.in (SFILES): Add linux-cris-low.c, linux-crisv32-low.c. | |
521 | (clean): Add reg-cris.c and reg-crisv32.c. | |
522 | Add linux-cris-low.o, linux-crisv32-low.o, reg-cris.o, reg-cris.c, | |
523 | reg-crisv32.o, and reg-crisv32.c to make rules. | |
524 | * configure.srv: Add cris-*-linux* and crisv32-*-linux* to list of | |
525 | recognized targets. | |
526 | ||
48d93c75 UW |
527 | 2005-05-16 Ulrich Weigand <uweigand@de.ibm.com> |
528 | ||
529 | * linux-low.c (fetch_register): Ensure buffer size is a multiple | |
530 | of sizeof (PTRACE_XFER_TYPE). | |
531 | (usr_store_inferior_registers): Likewise. Zero out excess bytes. | |
532 | ||
e013ee27 OF |
533 | 2005-05-12 Orjan Friberg <orjanf@axis.com> |
534 | ||
535 | * target.h (struct target_ops): Add insert_watchpoint, | |
536 | remove_watchpoint, stopped_by_watchpoint, stopped_data_address function | |
537 | pointers for hardware watchpoint support. | |
538 | * linux-low.h (struct linux_target_ops): Ditto. | |
539 | * linux-low.c (linux_insert_watchpoint, linux_remove_watchpoint) | |
540 | (linux_stopped_by_watchpoint, linux_stopped_data_address): New. Add | |
541 | to linux_target_ops. | |
542 | * remote-utils.c (prepare_resume_reply): Add watchpoint information to | |
543 | reply packet. | |
544 | * server.c (main): Recognize 'Z' and 'z' packets. | |
545 | ||
b0ded00b UW |
546 | 2005-05-10 Ulrich Weigand <uweigand@de.ibm.com> |
547 | ||
548 | * linux-s390-low.c (s390_breakpoint, s390_breakpoint_len): Define. | |
549 | (s390_get_pc, s390_set_pc, s390_breakpoint_at): New functions. | |
550 | (the_low_target): Add new members. | |
551 | ||
8643e2ad DJ |
552 | 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com> |
553 | ||
554 | * proc-service.c (ps_lgetregs): Search all_processes instead of | |
555 | all_threads. | |
556 | ||
fc620387 DJ |
557 | 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com> |
558 | ||
559 | * server.c (start_inferior): Change return type to int. | |
560 | (attach_inferior): Change sigptr to int *. | |
561 | (handle_v_cont, handle_v_requests): Change signal to int *. | |
562 | (main): Change signal to int. | |
563 | ||
564 | 2005-04-15 Kei Sakamoto <sakamoto.kei@renesas.com> | |
7cfbc4a0 KI |
565 | |
566 | * Makefile.in: Add linux-m32r-low.o, reg-m32r.c and reg-m32r.o. | |
567 | * configure.srv: Add m32r*-*-linux*. | |
568 | * linux-m32r-low.c: New file. | |
569 | ||
e0e76420 DJ |
570 | 2005-03-04 Daniel Jacobowitz <dan@codesourcery.com> |
571 | ||
572 | * Makefile.in (stamp-h): Set CONFIG_HEADERS explicitly. | |
573 | ||
a1928bad DJ |
574 | 2005-03-03 Daniel Jacobowitz <dan@codesourcery.com> |
575 | ||
576 | * inferiors.c (change_inferior_id, add_thread, find_inferior_id): | |
577 | Take unsigned long arguments for PIDs. | |
578 | * linux-low.c (add_process, linux_attach_lwp, linux_attach) | |
579 | (linux_thread_alive, linux_wait_for_event, kill_lwp, send_sigstop) | |
580 | (wait_for_sigstop, linux_resume_one_process) | |
581 | (regsets_fetch_inferior_registers, linux_send_signal) | |
582 | (linux_read_auxv): Likewise. Update the types of variables holding | |
583 | PIDs. Update format string specifiers. | |
584 | * linux-low.h (struct process_info, linux_attach_lwp): Likewise. | |
585 | * remote-utils.c (prepare_resume_reply): Likewise. | |
586 | * server.c (cont_thread, general_thread, step_thread) | |
587 | (thread_from_wait, old_thread_from_wait, signal_pid): Change type to | |
588 | unsigned long. | |
589 | (handle_query): Update format specifiers. | |
590 | (handle_v_cont, main): Use strtoul for thread IDs. | |
591 | * server.h (struct inferior_list_entry): Use unsigned long for ID. | |
592 | (add_thread, find_inferior_id, change_inferior_id, cont_thread) | |
593 | (general_thread, step_thread, thread_from_wait) | |
594 | (old_thread_from_wait): Update. | |
595 | * target.h (struct thread_resume): Use unsigned long for THREAD. | |
596 | (struct target_ops): Use unsigned long for arguments to attach and | |
597 | thread_alive. | |
598 | ||
dcdb98d2 DJ |
599 | 2005-02-24 Daniel Jacobowitz <dan@codesourcery.com> |
600 | ||
601 | * acinclude.m4: Include bfd/bfd.m4 directly. | |
602 | * configure.ac: Use AC_ARG_PROGRAM. Suggested by Aron Griffis | |
603 | <agriffis@toolchain.org>. | |
604 | * aclocal.m4, configure: Regenerated. | |
605 | ||
bec39cab AC |
606 | 2005-01-07 Andrew Cagney <cagney@gnu.org> |
607 | ||
608 | * configure.ac: Rename configure.in, require autoconf 2.59. | |
609 | * configure: Re-generate. | |
610 | ||
434c4c77 DJ |
611 | 2004-12-08 Daniel Jacobowitz <dan@debian.org> |
612 | ||
613 | * acinclude.m4 (SRV_CHECK_THREAD_DB): Add ps_get_thread_area. Reset | |
614 | LIBS when finished. | |
615 | * aclocal.m4: Regenerated. | |
616 | * configure: Regenerated. | |
617 | ||
db1d3e1b AS |
618 | 2004-11-21 Andreas Schwab <schwab@suse.de> |
619 | ||
620 | * linux-m68k-low.c (m68k_num_gregs): Define. | |
621 | (m68k_fill_gregset, m68k_store_gregset, m68k_fill_fpregset) | |
622 | (m68k_store_fpregset, target_regsets) [HAVE_LINUX_REGSETS]: New. | |
623 | (m68k_breakpoint, m68k_breakpoint_len, m68k_get_pc, m68k_set_pc) | |
624 | (m68k_breakpoint_at): New. Add to the_low_target. | |
625 | ||
626 | * configure.srv (m68*-*-linux*): Set srv_linux_regsets and | |
627 | srv_linux_thread_db to yes. | |
628 | ||
43360365 JB |
629 | 2004-10-20 Joel Brobecker <brobecker@gnat.com> |
630 | ||
631 | * linux-x86-64-low.c (ARCH_SET_GS): Add definition if missing. | |
632 | (ARCH_SET_FS): Likewise. | |
633 | (ARCH_GET_FS): Likewise. | |
634 | (ARCH_GET_GS): Likewise. | |
635 | ||
fd500816 DJ |
636 | 2004-10-16 Daniel Jacobowitz <dan@debian.org> |
637 | ||
638 | * linux-i386-low.c (ps_get_thread_area): New. | |
639 | * linux-x86-64-low.c (ps_get_thread_area): New. | |
640 | * linux-low.c: Include <sys/syscall.h>. | |
641 | (linux_kill_one_process): Don't kill the first thread here. | |
642 | (linux_kill): Kill the first thread here. | |
643 | (kill_lwp): New function. | |
644 | (send_sigstop, linux_send_signal): Use it. | |
645 | * proc-service.c: Clean up #ifdefs. | |
646 | (fpregset_info): Delete. | |
647 | (ps_lgetregs): Update and enable implementation. | |
648 | (ps_lsetregs, ps_lgetfpregs, ps_lsetfpregs): Remove disabled | |
649 | implementations. | |
650 | * remote-utils.c (struct sym_cache, symbol_cache): New. | |
651 | (input_interrupt): Print a clearer message. | |
652 | (async_io_enabled): New variable. | |
653 | (enable_async_io, disable_async_io): Use it. Update comments. | |
654 | (look_up_one_symbol): Use the symbol cache. | |
655 | * thread-db.c (thread_db_look_up_symbols): New function. | |
656 | (thread_db_init): Update comments. Call thread_db_look_up_symbols. | |
657 | ||
f6de3c42 DJ |
658 | 2004-10-16 Daniel Jacobowitz <dan@debian.org> |
659 | ||
660 | * configure.in: Test for -rdynamic. | |
661 | * configure: Regenerated. | |
662 | * Makefile (INTERNAL_LDFLAGS): New. | |
663 | (gdbserver, gdbreplay): Use it. | |
664 | ||
2c0fc042 AC |
665 | 2004-09-02 Andrew Cagney <cagney@gnu.org> |
666 | ||
667 | * Makefile.in (TAGS): Replace TM_FILE with DEPRECATED_TM_FILE. | |
668 | ||
075b3282 DJ |
669 | 2004-03-23 Daniel Jacobowitz <drow@mvista.com> |
670 | ||
671 | * linux-low.c (linux_wait): Clear all_processes list also. | |
672 | ||
fa6a77dc DJ |
673 | 2004-03-12 Daniel Jacobowitz <drow@mvista.com> |
674 | ||
675 | * linux-low.c: Include <errno.h>. Remove extern declaration of | |
676 | errno. | |
677 | ||
6d782a97 DJ |
678 | 2004-03-12 Daniel Jacobowitz <drow@mvista.com> |
679 | ||
680 | * gdbreplay.c, server.h, utils.c: Update copyright years. | |
681 | ||
3a7fb99b DJ |
682 | 2004-03-04 Nathan J. Williams <nathanw@wasabisystems.com> |
683 | ||
684 | * server.c (main): Print child status or termination signal from | |
685 | variable 'signal', not 'sig'. | |
686 | ||
c3e735a6 DJ |
687 | 2004-03-04 Nathan J. Williams <nathanw@wasabisystems.com> |
688 | ||
689 | * linux-low.c (linux_read_memory): Change return type to | |
690 | int. Check for and return error from ptrace(). | |
691 | * target.c (read_inferior_memory): Change return type to int. Pass | |
692 | back return status from the_target->read_memory(). | |
693 | * target.h (struct target_ops): Adapt *read_memory() prototype. | |
694 | Update comment. | |
695 | (read_inferior_memory): Adapt prototype. | |
696 | * server.c (main): Return an error packet if | |
697 | read_inferior_memory() returns an error. | |
698 | ||
a59d1c82 DJ |
699 | 2004-03-04 Daniel Jacobowitz <drow@mvista.com> |
700 | ||
701 | * Makefile.in (distclean): Remove config.h, stamp-h, and config.log. | |
702 | Unify with other clean targets. | |
703 | ||
dc3f8883 DJ |
704 | 2004-02-29 Daniel Jacobowitz <drow@mvista.com> |
705 | ||
706 | * server.c (handle_v_cont): Call set_desired_inferior. | |
707 | ||
89a208da DJ |
708 | 2004-02-29 Daniel Jacobowitz <drow@mvista.com> |
709 | ||
710 | * remote-utils.c (prepare_resume_reply): Always supply "thread:". | |
711 | ||
62ea82f5 DJ |
712 | 2004-02-29 Daniel Jacobowitz <drow@mvista.com> |
713 | ||
714 | * linux-low.c (linux_wait): Unblock async I/O. | |
715 | (linux_resume): Block and enable async I/O. | |
716 | * remote-utils.c (block_async_io, unblock_async_io): New functions. | |
717 | * server.h (block_async_io, unblock_async_io): Add prototypes. | |
718 | ||
6910d122 DJ |
719 | 2004-02-29 Daniel Jacobowitz <drow@mvista.com> |
720 | ||
721 | * remote-utils.c (remote_open): Print a status notice after | |
722 | opening a TCP port. | |
723 | * server.c (attach_inferior): Print a status notice after | |
724 | attaching. | |
725 | ||
726 | 2004-02-29 Daniel Jacobowitz <drow@mvista.com> | |
d677d77d DJ |
727 | |
728 | * linux-arm-low.c (arm_get_pc): Print out stop PC in debug mode. | |
729 | ||
c89dc5d4 DJ |
730 | 2004-02-26 Daniel Jacobowitz <drow@mvista.com> |
731 | ||
732 | * remote-utils.c (write_enn): Use "E01" instead of "ENN" for the | |
733 | error packet. | |
734 | * server.c, target.h: Update copyright years. | |
735 | ||
4b8dad4a RM |
736 | 2004-02-25 Roland McGrath <roland@redhat.com> |
737 | ||
738 | * target.h (struct target_ops): New member `read_auxv'. | |
739 | * server.c (handle_query): Handle qPart:auxv:read: query using that. | |
740 | * linux-low.c (linux_read_auxv): New function. | |
741 | (linux_target_ops): Initialize `read_auxv' member to that. | |
742 | ||
d7446758 JB |
743 | 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
744 | ||
745 | Committed by Jim Blandy <jimb@redhat.com>. | |
746 | ||
747 | * linux-s390-low.c (s390_num_regs): Update. | |
4b8dad4a | 748 | (s390_regmap): Remove control registers. Use __s390x__ predefine |
d7446758 JB |
749 | instead of GPR_SIZE to distiguish s390 and s390x targets. |
750 | ||
5544ad89 DJ |
751 | 2004-01-31 Daniel Jacobowitz <drow@mvista.com> |
752 | ||
753 | * linux-low.c: Update copyright year. | |
754 | (check_removed_breakpoint): Clear pending_is_breakpoint. | |
755 | (linux_set_resume_request, linux_queue_one_thread) | |
756 | (resume_status_pending_p): New functions. | |
757 | (linux_continue_one_thread): Use process->resume. | |
758 | (linux_resume): Only resume threads if there are no pending events. | |
759 | * linux-low.h (struct process_info): Add resume request | |
760 | pointer. | |
761 | ||
2a68b70e DJ |
762 | 2004-01-30 Daniel Jacobowitz <drow@mvista.com> |
763 | ||
764 | * regcache.c (new_register_cache): Clear the allocated register | |
765 | buffer. Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>. | |
766 | ||
64386c31 DJ |
767 | 2003-10-13 Daniel Jacobowitz <drow@mvista.com> |
768 | ||
769 | * linux-low.c (linux_resume): Take a struct thread_resume * | |
770 | argument. | |
771 | (linux_wait): Update call. | |
772 | (resume_ptr): New static variable. | |
773 | (linux_continue_one_thread): Renamed from | |
774 | linux_continue_one_process. Use resume_ptr. | |
775 | (linux_resume): Use linux_continue_one_thread. | |
776 | * server.c (handle_v_cont, handle_v_requests): New functions. | |
777 | (myresume): New function. | |
778 | (main): Handle 'v' case. | |
779 | * target.h (struct thread_resume): New type. | |
780 | (struct target_ops): Change argument of "resume" to struct | |
781 | thread_resume *. | |
782 | (myresume): Delete macro. | |
783 | ||
c938e9b0 L |
784 | 2003-08-08 H.J. Lu <hongjiu.lu@intel.com> |
785 | ||
786 | * Makefile.in (install-only): Create dest dir. Support DESTDIR. | |
787 | (uninstall): Support DESTDIR. | |
788 | ||
7f313d07 BC |
789 | Mon Jul 21 20:09:34 UTC 2003 Brendan Conoboy <blc@redhat.com> |
790 | ||
791 | * configure.srv: Add xscale*linux copy of arm*linux entry. | |
792 | ||
3b2fc2ea DJ |
793 | 2003-07-24 Daniel Jacobowitz <drow@mvista.com> |
794 | ||
795 | * linux-arm-low.c (arm_reinsert_addr): New function. | |
796 | (the_low_target): Add arm_reinsert_addr. | |
797 | ||
1c0a559e MK |
798 | 2003-07-08 Mark Kettenis <kettenis@gnu.org> |
799 | ||
800 | * mem-break.c: Remove whitespace at end of file. | |
801 | ||
43d5792c DJ |
802 | 2003-06-28 Daniel Jacobowitz <drow@mvista.com> |
803 | ||
804 | * configure.in: Check whether we need to prototype strerror. | |
805 | * server.h: Optionally prototype strerror. | |
806 | * gdbreplay.c (perror_with_name): Use strerror. | |
807 | * linux-low.c (linux_attach_lwp): Use strerror. | |
808 | * utils.c (perror_with_name): Use strerror. | |
809 | * config.in, configure: Regenerated. | |
810 | ||
c8a86edf DJ |
811 | 2003-06-28 Daniel Jacobowitz <drow@mvista.com> |
812 | ||
813 | * linux-sh-low.c (sh_regmap): Fix FP register offsets, reported by | |
814 | SUGIOKA Toshinobu <sugioka@itonet.co.jp>. | |
815 | ||
73d37363 DJ |
816 | 2003-06-20 Daniel Jacobowitz <drow@mvista.com> |
817 | ||
818 | * Makefile.in (SFILES): Update. | |
819 | * low-hppabsd.c, low-lynx.c, low-nbsd.c, low-sim.c, low-sparc.c, | |
820 | low-sun3.c: Remove files. | |
821 | ||
6ad8ae5c DJ |
822 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
823 | ||
824 | * linux-low.c: Move comment to linux_thread_alive where it belonged. | |
825 | (linux_detach_one_process, linux_detach): New functions. | |
826 | (linux_target_ops): Add linux_detach. | |
827 | * server.c (main): Handle 'D' packet. | |
828 | * target.h (struct target_ops): Add "detach" member. | |
829 | (detach_inferior): Define. | |
830 | ||
1581182a MK |
831 | 2003-06-13 Mark Kettenis <kettenis@gnu.org> |
832 | ||
833 | From Kelley Cook <kelleycook@wideopenwest.com>: | |
834 | * configure.srv: Accept i[34567]86 variants. | |
835 | ||
e5379b03 DJ |
836 | 2003-06-05 Daniel Jacobowitz <drow@mvista.com> |
837 | ||
838 | * linux-low.c (linux_wait_for_event): Correct comment typos. | |
839 | (linux_resume_one_process): Call check_removed_breakpoint. | |
840 | (linux_send_signal): New function. | |
841 | (linux_target_ops): Add linux_send_signal. | |
842 | * remote-utils.c (putpkt, input_interrupt): Use send_signal instead | |
843 | of kill. | |
844 | * target.h (struct target_ops): Add send_signal. | |
845 | ||
2ff29de4 JB |
846 | 2003-05-29 Jim Blandy <jimb@redhat.com> |
847 | ||
848 | * linux-low.c (usr_store_inferior_registers): Transfer buf in | |
849 | PTRACE_XFER_TYPE-sized chunks, not int-sized chunks. Otherwise, | |
850 | if 'int' is smaller than PTRACE_XFER_TYPE, you end up throwing | |
851 | away part of the register's value. | |
852 | ||
254787d4 DJ |
853 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
854 | ||
855 | * linux-low.c (linux_create_inferior): Use __SIGRTMIN. | |
856 | (linux_wait_for_event, linux_init_signals): Likewise. | |
857 | ||
94e10508 DJ |
858 | 2003-03-17 Daniel Jacobowitz <drow@mvista.com> |
859 | ||
860 | * configure.in: Check for stdlib.h. | |
861 | * configure: Regenerated. | |
862 | * config.in: Regenerated. | |
863 | ||
4c0711e0 DJ |
864 | 2003-01-04 Andreas Schwab <schwab@suse.de> |
865 | ||
866 | * linux-m68k-low.c (m68k_num_regs): Define to 29 instead of 31. | |
867 | ||
ef66e766 AC |
868 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
869 | ||
870 | * Makefile.in: Remove obsolete code. | |
871 | ||
a1358604 DJ |
872 | 2002-11-20 Daniel Jacobowitz <drow@mvista.com> |
873 | ||
874 | * linux-s390-low.c (s390_regmap): Check GPR_SIZE instead of | |
875 | defined(PT_FPR0_HI). | |
876 | ||
23ce3b1c DJ |
877 | 2002-11-17 Stuart Hughes <seh@zee2.com> |
878 | ||
879 | * linux-arm-low.c (arm_num_regs): Increase. | |
880 | (arm_regmap): Include status register. | |
881 | ||
882 | 2002-11-17 Daniel Jacobowitz <drow@mvista.com> | |
883 | ||
884 | * linux-low.c (register_addr): Remove incorrect -1 check. | |
885 | ||
a9fa9f7d DJ |
886 | 2002-08-29 Daniel Jacobowitz <drow@mvista.com> |
887 | ||
888 | * linux-low.c (linux_create_inferior): Call setpgid. Return | |
889 | the new PID. | |
890 | (unstopped_p, linux_signal_pid): Remove. | |
891 | (linux_target_ops): Remove linux_signal_pid. | |
892 | * remote-utils.c (putpkt, input_interrupt): Use signal_pid | |
893 | global instead of target method. | |
894 | * target.h (struct target_ops): Remove signal_pid. Update comment | |
895 | for create_inferior. | |
896 | * server.c (signal_pid): New variable. | |
897 | (create_inferior): Set signal_pid. Block SIGTTOU and SIGTTIN in | |
4b8dad4a | 898 | gdbserver. Set the child to be the foreground process group. |
a9fa9f7d DJ |
899 | (attach_inferior): Set signal_pid. |
900 | ||
17574093 DJ |
901 | 2002-08-23 Daniel Jacobowitz <drow@mvista.com> |
902 | ||
903 | * ChangeLog: New file, with entries from gdb/ChangeLog after GDB 5.2. | |
904 | ||
905 | 2002-08-20 Jim Blandy <jimb@redhat.com> | |
906 | ||
907 | * Makefile.in (LDFLAGS): Allow the configure script to establish a | |
908 | default for this. | |
909 | ||
910 | 2002-08-01 Andrew Cagney <cagney@redhat.com> | |
911 | ||
912 | * Makefile.in: Make chill references obsolete. | |
913 | ||
914 | 2002-07-24 Kevin Buettner <kevinb@redhat.com> | |
915 | ||
916 | * configure.in (unistd.h): Add to AC_CHECK_HEADERS list. | |
917 | * configure: Regenerate. | |
918 | * config.in: Regenerate. | |
919 | ||
920 | 2002-07-09 David O'Brien <obrien@FreeBSD.org> | |
921 | ||
922 | * gdbreplay.c (stdlib.h, unistd.h): Conditionaly include. | |
923 | (perror_with_name, remote_close, remote_open, expect, play): Static. | |
924 | ||
925 | 2002-07-04 Michal Ludvig <mludvig@suse.cz> | |
926 | ||
4b8dad4a | 927 | * linux-x86-64-low.c (x86_64_regmap): Make it an array of |
17574093 DJ |
928 | byte offsets instead of an array of indexes. |
929 | (x86_64_store_gregset, x86_64_store_fpregset): Parameter made const. | |
930 | ||
931 | 2002-06-13 Daniel Jacobowitz <drow@mvista.com> | |
932 | ||
933 | * regcache.c: Add comment. | |
934 | ||
935 | 2002-06-11 Daniel Jacobowitz <drow@mvista.com> | |
936 | ||
937 | * thread-db.c: New file. | |
938 | * proc-service.c: New file. | |
939 | * acinclude.m4: New file. | |
940 | * Makefile.in: Add GDBSERVER_LIBS, gdb_proc_service_h, | |
941 | proc-service.o, and thread-db.o. | |
942 | (linux-low.o): Add USE_THREAD_DB. | |
943 | * acconfig.h: Add HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, | |
944 | HAVE_LWPID_T, HAVE_PSADDR_T, and PRFPREGSET_T_BROKEN. | |
945 | * aclocal.m4: Regenerated. | |
946 | * config.in: Regenerated. | |
947 | * configure: Regenerated. | |
948 | * configure.in: Check for proc_service.h, sys/procfs.h, | |
949 | thread_db.h, and linux/elf.h headrs. | |
950 | Check for lwpid_t, psaddr_t, prgregset_t, prfpregset_t, and | |
951 | PRFPREGSET_T_BROKEN. Introduce srv_thread_depfiles and USE_THREAD_DB. | |
952 | Check for -lthread_db and thread support. | |
953 | * configure.srv: Enable thread_db support for ARM, i386, MIPS, | |
954 | PowerPC, and SuperH. | |
955 | * i387-fp.c: Constify arguments. | |
956 | * i387-fp.h: Likewise. | |
957 | * inferiors.c: (struct thread_info): Renamed from | |
958 | `struct inferior_info'. Remove PID member. Use generic inferior | |
959 | list header. All uses updated. | |
960 | (inferiors, signal_pid): Removed. | |
961 | (all_threads): New variable. | |
962 | (get_thread): Define. | |
963 | (add_inferior_to_list): New function. | |
964 | (for_each_inferior): New function. | |
965 | (change_inferior_id): New function. | |
966 | (add_inferior): Removed. | |
967 | (remove_inferior): New function. | |
968 | (add_thread): New function. | |
969 | (free_one_thread): New function. | |
970 | (remove_thread): New function. | |
971 | (clear_inferiors): Use for_each_inferior and free_one_thread. | |
972 | (find_inferior): New function. | |
973 | (find_inferior_id): New function. | |
974 | (inferior_target_data): Update argument type. | |
975 | (set_inferior_target_data): Likewise. | |
976 | (inferior_regcache_data): Likewise. | |
977 | (set_inferior_regcache_data): Likewise. | |
978 | * linux-low.c (linux_bp_reinsert): Remove. | |
979 | (all_processes, stopping_threads, using_thrads) | |
980 | (struct pending_signals, debug_threads, pid_of): New. | |
981 | (inferior_pid): Replace with macro. | |
982 | (struct inferior_linux_data): Remove. | |
983 | (get_stop_pc, add_process): New functions. | |
984 | (linux_create_inferior): Restore SIGRTMIN+1 before calling exec. | |
985 | Use add_process and add_thread. | |
986 | (linux_attach_lwp): New function, based on old linux_attach. Use | |
987 | add_process and add_thread. Set stop_expected for new threads. | |
988 | (linux_attach): New function. | |
989 | (linux_kill_one_process): New function. | |
990 | (linux_kill): Kill all LWPs. | |
991 | (linux_thread_alive): Use find_inferior_id. | |
992 | (check_removed_breakpoints, status_pending_p): New functions. | |
993 | (linux_wait_for_process): Renamed from linux_wait_for_one_inferior. | |
994 | Update. Use WNOHANG. Wait for cloned processes also. Update process | |
995 | struct for the found process. | |
996 | (linux_wait_for_event): New function. | |
997 | (linux_wait): Use it. Support LWPs. | |
998 | (send_sigstop, wait_for_sigstop, stop_all_processes) | |
999 | (linux_resume_one_process, linux_continue_one_process): New functions. | |
1000 | (linux_resume): Support LWPs. | |
1001 | (REGISTER_RAW_SIZE): Remove. | |
1002 | (fetch_register): Use register_size instead. Call supply_register. | |
1003 | (usr_store_inferior_registers): Likewise. Call collect_register. | |
1004 | Fix recursive case. | |
1005 | (regsets_fetch_inferior_registers): Improve error message. | |
1006 | (regsets_store_inferior_registers): Add debugging. | |
1007 | (linux_look_up_symbols): Call thread_db_init if USE_THREAD_DB. | |
1008 | (unstopped_p, linux_signal_pid): New functions. | |
1009 | (linux_target_ops): Add linux_signal_pid. | |
1010 | (linux_init_signals): New function. | |
1011 | (initialize_low): Call it. Initialize using_threads. | |
1012 | * regcache.c (inferior_regcache_data): Add valid | |
1013 | flag. | |
1014 | (get_regcache): Fetch registers lazily. Add fetch argument | |
1015 | and update all callers. | |
1016 | (regcache_invalidate_one, regcache_invalidate): New | |
1017 | functions. | |
1018 | (new_register_cache): Renamed from create_register_cache. | |
1019 | Return the new regcache. | |
1020 | (free_register_cache): Change argument to a void *. | |
1021 | (registers_to_string, registers_from_string): Call get_regcache | |
1022 | with fetch flag set. | |
1023 | (register_data): Make static. Pass fetch flag to get_regcache. | |
1024 | (supply_register): Call get_regcache with fetch flag clear. | |
1025 | (collect_register): Call get_regcache with fetch flag set. | |
1026 | (collect_register_as_string): New function. | |
1027 | * regcache.h: Update. | |
1028 | * remote-utils.c (putpkt): Flush after debug output and use | |
1029 | stderr. | |
1030 | Handle input interrupts while waiting for an ACK. | |
1031 | (input_interrupt): Use signal_pid method. | |
1032 | (getpkt): Flush after debug output and use stderr. | |
1033 | (outreg): Use collect_register_as_string. | |
1034 | (new_thread_notify, dead_thread_notify): New functions. | |
1035 | (prepare_resume_reply): Check using_threads. Set thread_from_wait | |
1036 | and general_thread. | |
1037 | (look_up_one_symbol): Flush after debug output. | |
1038 | * server.c (step_thread, server_waiting): New variables. | |
1039 | (start_inferior): Don't use signal_pid. Update call to mywait. | |
1040 | (attach_inferior): Update call to mywait. | |
1041 | (handle_query): Handle qfThreadInfo and qsThreadInfo. | |
1042 | (main): Don't fetch/store registers explicitly. Use | |
1043 | set_desired_inferior. Support proposed ``Hs'' packet. Update | |
1044 | calls to mywait. | |
1045 | * server.h: Update. | |
1046 | (struct inferior_list, struct_inferior_list_entry): New. | |
1047 | * target.c (set_desired_inferior): New. | |
1048 | (write_inferior_memory): Constify. | |
1049 | (mywait): New function. | |
1050 | * target.h: Update. | |
1051 | (struct target_ops): New signal_pid method. | |
1052 | (mywait): Removed macro, added prototype. | |
1053 | ||
1054 | * linux-low.h (regset_func): Removed. | |
1055 | (regset_fill_func, regset_store_func): New. | |
1056 | (enum regset_type): New. | |
1057 | (struct regset_info): Add type field. Use new operation types. | |
1058 | (struct linux_target_ops): stop_pc renamed to get_pc. | |
1059 | Add decr_pc_after_break and breakpoint_at. | |
1060 | (get_process, get_thread_proess, get_process_thread) | |
1061 | (strut process_info, all_processes, linux_attach_lwp) | |
1062 | (thread_db_init): New. | |
1063 | ||
1064 | * linux-arm-low.c (arm_get_pc, arm_set_pc, | |
1065 | arm_breakpoint, arm_breakpoint_len, arm_breakpoint_at): New. | |
1066 | (the_low_target): Add new members. | |
1067 | * linux-i386-low.c (i386_store_gregset, i386_store_fpregset) | |
1068 | (i386_store_fpxregset): Constify. | |
1069 | (target_regsets): Add new kind identifier. | |
1070 | (i386_get_pc): Renamed from i386_stop_pc. Simplify. | |
1071 | (i386_set_pc): Add debugging. | |
1072 | (i386_breakpoint_at): New function. | |
1073 | (the_low_target): Add new members. | |
1074 | * linux-mips-low.c (mips_get_pc, mips_set_pc) | |
1075 | (mips_breakpoint, mips_breakpoint_len, mips_reinsert_addr) | |
1076 | (mips_breakpoint_at): New. | |
1077 | (the_low_target): Add new members. | |
1078 | * linux-ppc-low.c (ppc_get_pc, ppc_set_pc) | |
1079 | (ppc_breakpoint, ppc_breakpoint_len, ppc_breakpoint_at): New. | |
1080 | (the_low_target): Add new members. | |
1081 | * linux-sh-low.c (sh_get_pc, sh_set_pc) | |
1082 | (sh_breakpoint, sh_breakpoint_len, sh_breakpoint_at): New. | |
1083 | (the_low_target): Add new members. | |
1084 | * linux-x86-64-low.c (target_regsets): Add new kind | |
1085 | identifier. | |
1086 | ||
1087 | 2002-05-15 Daniel Jacobowitz <drow@mvista.com> | |
1088 | ||
1089 | From Martin Pool <mbp@samba.org>: | |
1090 | * server.c (gdbserver_usage): New function. | |
1091 | (main): Call it. | |
1092 | ||
1093 | 2002-05-14 Daniel Jacobowitz <drow@mvista.com> | |
1094 | ||
1095 | * mem-break.c (reinsert_breakpoint_by_bp): Correct typo | |
1096 | stop_at -> stop_pc. | |
1097 | ||
1098 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> | |
1099 | ||
1100 | * Makefile.in: Remove obsolete code. | |
1101 | ||
1102 | 2002-04-24 Michal Ludvig <mludvig@suse.cz> | |
1103 | ||
1104 | * linux-low.c (regsets_fetch_inferior_registers), | |
1105 | (regsets_store_inferior_registers): Removed cast to int from | |
1106 | ptrace() calls. | |
1107 | * regcache.h: Added declaration of struct inferior_info. | |
1108 | ||
1109 | 2002-04-20 Daniel Jacobowitz <drow@mvista.com> | |
1110 | ||
1111 | * inferiors.c (struct inferior_info): Add regcache_data. | |
1112 | (add_inferior): Call create_register_cache. | |
1113 | (clear_inferiors): Call free_register_cache. | |
1114 | (inferior_regcache_data, set_inferior_regcache_data): New functions. | |
1115 | * regcache.c (struct inferior_regcache_data): New. | |
1116 | (registers): Remove. | |
1117 | (get_regcache): New function. | |
1118 | (create_register_cache, free_register_cache): New functions. | |
1119 | (set_register_cache): Don't initialize the register cache here. | |
1120 | (registers_to_string, registers_from_string, register_data): Call | |
1121 | get_regcache. | |
1122 | * regcache.h: Add prototypes. | |
1123 | * server.h: Likewise. | |
1124 | ||
1125 | 2002-04-20 Daniel Jacobowitz <drow@mvista.com> | |
1126 | ||
1127 | * mem-break.c: New file. | |
1128 | * mem-break.h: New file. | |
1129 | * Makefile.in: Add mem-break.o rule; update server.h | |
1130 | dependencies. | |
1131 | * inferiors.c (struct inferior_info): Add target_data | |
1132 | member. | |
1133 | (clear_inferiors): Free target_data member if set. | |
1134 | (inferior_target_data, set_inferior_target_data): New functions. | |
1135 | * linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) | |
1136 | (i386_stop_pc, i386_set_pc): New. Add to the_low_target. | |
1137 | * linux-low.c (linux_bp_reinsert): New variable. | |
1138 | (struct inferior_linux_data): New. | |
1139 | (linux_create_inferior): Use set_inferior_target_data. | |
1140 | (linux_attach): Likewise. Call add_inferior. | |
1141 | (linux_wait_for_one_inferior): New function. | |
1142 | (linux_wait): Call it. | |
1143 | (linux_write_memory): Add const. | |
1144 | (initialize_low): Call set_breakpoint_data. | |
1145 | * linux-low.h (struct linux_target_ops): Add breakpoint | |
1146 | handling members. | |
1147 | * server.c (attach_inferior): Remove extra add_inferior | |
1148 | call. | |
1149 | * server.h: Include mem-break.h. Update inferior.c | |
1150 | prototypes. | |
1151 | * target.c (read_inferior_memory) | |
1152 | (write_inferior_memory): New functions. | |
1153 | * target.h (read_inferior_memory) | |
1154 | (write_inferior_memory): Change macros to prototypes. | |
1155 | (struct target_ops): Update comments. Add const to write_memory | |
1156 | definition. | |
1157 | ||
1158 | 2002-04-11 Daniel Jacobowitz <drow@mvista.com> | |
1159 | ||
1160 | * linux-low.c (usr_store_inferior_registers): Support | |
1161 | registers which are allowed to fail to store. | |
1162 | * linux-low.h (linux_target_ops): Likewise. | |
1163 | * linux-ppc-low.c (ppc_regmap): Support FPSCR. | |
1164 | (ppc_cannot_store_register): FPSCR may not be storable. | |
1165 | ||
1166 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> | |
1167 | ||
1168 | * server.h: Include <string.h> if HAVE_STRING_H. | |
1169 | * ChangeLog: Correct paths in last ChangeLog entry. | |
1170 | ||
1171 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> | |
1172 | ||
1173 | * linux-low.h: Remove obsolete prototypes. | |
1174 | (struct linux_target_ops): New. | |
1175 | (extern the_low_target): New. | |
1176 | * linux-low.c (num_regs, regmap): Remove declarations. | |
1177 | (register_addr): Use the_low_target explicitly. | |
1178 | (fetch_register): Likewise. | |
1179 | (usr_fetch_inferior_registers): Likewise. | |
1180 | (usr_store_inferior_registers): Likewise. | |
1181 | * linux-arm-low.c (num_regs): Remove. | |
1182 | (arm_num_regs): Define. | |
1183 | (arm_regmap): Renamed from regmap, made static. | |
1184 | (arm_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1185 | made static. | |
1186 | (arm_cannot_store_register): Renamed from cannot_store_register, | |
1187 | made static. | |
1188 | (the_low_target): New. | |
1189 | * linux-i386-low.c (num_regs): Remove. | |
1190 | (i386_num_regs): Define. | |
1191 | (i386_regmap): Renamed from regmap, made static. | |
1192 | (i386_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1193 | made static. | |
1194 | (i386_cannot_store_register): Renamed from cannot_store_register, | |
1195 | made static. | |
1196 | (the_low_target): New. | |
1197 | * linux-ia64-low.c (num_regs): Remove. | |
1198 | (ia64_num_regs): Define. | |
1199 | (ia64_regmap): Renamed from regmap, made static. | |
1200 | (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1201 | made static. | |
1202 | (ia64_cannot_store_register): Renamed from cannot_store_register, | |
1203 | made static. | |
1204 | (the_low_target): New. | |
1205 | * linux-m68k-low.c (num_regs): Remove. | |
1206 | (m68k_num_regs): Define. | |
1207 | (m68k_regmap): Renamed from regmap, made static. | |
1208 | (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1209 | made static. | |
1210 | (m68k_cannot_store_register): Renamed from cannot_store_register, | |
1211 | made static. | |
1212 | (the_low_target): New. | |
1213 | * linux-mips-low.c (num_regs): Remove. | |
1214 | (mips_num_regs): Define. | |
1215 | (mips_regmap): Renamed from regmap, made static. | |
1216 | (mips_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1217 | made static. | |
1218 | (mips_cannot_store_register): Renamed from cannot_store_register, | |
1219 | made static. | |
1220 | (the_low_target): New. | |
1221 | * linux-ppc-low.c (num_regs): Remove. | |
1222 | (ppc_num_regs): Define. | |
1223 | (ppc_regmap): Renamed from regmap, made static. | |
1224 | (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1225 | made static. | |
1226 | (ppc_cannot_store_register): Renamed from cannot_store_register, | |
1227 | made static. | |
1228 | (the_low_target): New. | |
1229 | * linux-s390-low.c (num_regs): Remove. | |
1230 | (s390_num_regs): Define. | |
1231 | (s390_regmap): Renamed from regmap, made static. | |
1232 | (s390_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1233 | made static. | |
1234 | (s390_cannot_store_register): Renamed from cannot_store_register, | |
1235 | made static. | |
1236 | (the_low_target): New. | |
1237 | * linux-sh-low.c (num_regs): Remove. | |
1238 | (sh_num_regs): Define. | |
1239 | (sh_regmap): Renamed from regmap, made static. | |
1240 | (sh_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1241 | made static. | |
1242 | (sh_cannot_store_register): Renamed from cannot_store_register, | |
1243 | made static. | |
1244 | (the_low_target): New. | |
1245 | * linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. | |
1246 | (the_low_target): New. | |
1247 | ||
1248 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> | |
1249 | ||
1250 | * Makefile.in: Add stamp-h target. | |
1251 | * configure.in: Create stamp-h. | |
1252 | * configure: Regenerated. | |
1253 | ||
1254 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> | |
1255 | ||
1256 | * inferiors.c: New file. | |
1257 | * target.c: New file. | |
1258 | * target.h: New file. | |
1259 | * Makefile.in: Add target.o and inferiors.o. Update | |
1260 | dependencies. | |
1261 | * linux-low.c (inferior_pid): New static variable, | |
1262 | moved from server.c. | |
1263 | (linux_create_inferior): Renamed from create_inferior. | |
1264 | Call add_inferior. Return 0 on success instead of a PID. | |
1265 | (linux_attach): Renamed from myattach. | |
1266 | (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). | |
1267 | (linux_thread_alive): Renamed from mythread_alive. | |
1268 | (linux_wait): Renamed from mywait. Call clear_inferiors () if the | |
1269 | child dies. | |
1270 | (linux_resume): Renamed from myresume. Add missing ``return 0''. | |
1271 | (regsets_store_inferior_registers): Correct error message. | |
1272 | Add missing ``return 0''. | |
1273 | (linux_fetch_registers): Renamed from fetch_inferior_registers. | |
1274 | (linux_store_registers): Renamed from store_inferior_registers. | |
1275 | (linux_read_memory): Renamed from read_inferior_memory. | |
1276 | (linux_write_memory): Renamed from write_inferior_memory. | |
1277 | (linux_target_ops): New structure. | |
1278 | (initialize_low): Call set_target_ops (). | |
1279 | * remote-utils.c (unhexify): New function. | |
1280 | (hexify): New function. | |
1281 | (input_interrupt): Send signals to ``signal_pid''. | |
1282 | * server.c (inferior_pid): Remove. | |
1283 | (start_inferior): Update create_inferior call. | |
1284 | (attach_inferior): Call add_inferior. | |
1285 | (handle_query): New function. | |
1286 | (main): Call handle_query for `q' packets. | |
1287 | * server.h: Include "target.h". Remove obsolete prototypes. | |
1288 | Add prototypes for "inferiors.c", "target.c", hexify, and unhexify. | |
1289 | ||
1290 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> | |
1291 | ||
1292 | * Makefile.in: Add WARN_CFLAGS. Update configury | |
1293 | dependencies. | |
1294 | * configure.in: Check for <string.h> | |
1295 | * configure: Regenerate. | |
1296 | * config.in: Regenerate. | |
1297 | * gdbreplay.c: Include needed system headers. | |
1298 | (remote_open): Remove strchr prototype. | |
1299 | * linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. | |
1300 | * regcache.c (supply_register): Change buf argument to const void *. | |
1301 | (supply_register_by_name): Likewise. | |
1302 | (collect_register): Change buf argument to void *. | |
1303 | (collect_register_by_name): Likewise. | |
1304 | * regcache.h: Add missing prototypes. | |
1305 | * remote-utils.c: Include <arpa/inet.h> for inet_ntoa. | |
1306 | * server.c (handle_query): New function. | |
1307 | (attached): New static variable, moved out of main. | |
1308 | (main): Quiet longjmp clobber warnings. | |
1309 | * server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. | |
1310 | * utils.c (error): Remove NORETURN. | |
1311 | (fatal): Likewise. |