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