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