]>
Commit | Line | Data |
---|---|---|
7fb85e41 AS |
1 | 2005-10-25 Andreas Schwab <schwab@suse.de> |
2 | ||
3 | * server.c (main): Allocate mem_buf with PBUFSIZ bytes. | |
4 | ||
5 | * linux-ia64-low.c (ia64_regmap): Remove NAT registers. | |
6 | (ia64_num_regs): Reduce to 462. | |
7 | ||
3db0444b DJ |
8 | 2005-09-17 Daniel Jacobowitz <dan@codesourcery.com> |
9 | ||
10 | * acinclude.m4: Correct quoting. | |
11 | * aclocal.m4: Regenerated. | |
12 | ||
13 | Suggested by SZOKOVACS Robert <szo@ies.hu>: | |
14 | * thread-db.c (thread_db_err_str): Handle TD_VERSION. | |
15 | (thread_db_init): Call thread_db_err_str. | |
16 | * configure.ac: Check for TD_VERSION. | |
17 | * config.in, configure: Regenerated. | |
18 | ||
bee0189a DJ |
19 | 2005-07-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
20 | ||
21 | * server.h (error, fatal, warning): Add ATTR_FORMAT. | |
22 | ||
e9d25b98 DJ |
23 | 2005-07-13 Daniel Jacobowitz <dan@codesourcery.com> |
24 | ||
25 | * configure.ac: Define HAVE_LINUX_REGSETS even if PTRACE_GETREGS | |
26 | is not available. Define HAVE_PTRACE_GETREGS if it is. | |
27 | * config.in, configure: Regenerated. | |
28 | * configure.srv: Set srv_linux_regsets for PowerPC and PowerPC64. | |
29 | * linux-i386-low.c, linux-m68k-low.c: Update to use | |
30 | HAVE_PTRACE_GETREGS. | |
31 | * linux-low.c (regsets_fetch_inferior_registers) | |
32 | (regsets_store_inferior_registers): Only return 0 if we processed | |
33 | GENERAL_REGS. | |
34 | * linux-ppc-low.c (ppc_fill_gregset, target_regsets): New. | |
35 | * linux-ppc64-low.c (ppc_fill_gregset, target_regsets): New. | |
36 | ||
a06660f7 DJ |
37 | 2005-07-13 Daniel Jacobowitz <dan@codesourcery.com> |
38 | ||
39 | * inferiors.c (struct thread_info): Add gdb_id. | |
40 | (add_thread): Add gdb_id argument. | |
41 | (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): New. | |
42 | * linux-low.c (linux_create_inferior, linux_attach_lwp): Update | |
43 | calls to add_thread. | |
44 | * remote-utils.c (prepare_resume_reply: Use thread_to_gdb_id. | |
45 | * server.c (handle_query): Use thread_to_gdb_id. | |
46 | (handle_v_cont, main): Use gdb_id_to_thread_id. | |
47 | * server.h (add_thread): Update prototype. | |
48 | (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): New | |
49 | prototypes. | |
50 | ||
5a1f5858 DJ |
51 | 2005-07-13 Daniel Jacobowitz <dan@codesourcery.com> |
52 | ||
53 | * linux-low.c (fetch_register, usr_store_inferior_registers): Handle | |
54 | left-padded registers. | |
55 | * linux-low.h (struct linux_target_ops): Add left_pad_xfer. | |
56 | * linux-ppc64-low.c (the_low_target): Set left_pad_xfer. | |
57 | ||
e122f1f5 SE |
58 | 2005-07-01 Steve Ellcey <sje@cup.hp.com> |
59 | ||
60 | * configure.ac (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS. | |
61 | * configure: Regenerate. | |
62 | * config.in: Regenerate. | |
63 | * server.h (NEED_DECLARATION_STRERROR): | |
64 | Replace with !HAVE_DECL_STRERROR. | |
65 | ||
d592fa2f DJ |
66 | 2005-06-16 Daniel Jacobowitz <dan@codesourcery.com> |
67 | ||
68 | * linux-low.c (linux_wait, linux_send_signal): Don't test | |
69 | an unsigned long variable for > 0 if it could be MAX_ULONG. | |
70 | * server.c (myresume): Likewise. | |
71 | * target.c (set_desired_inferior): Likewise. | |
72 | ||
ccbd4912 MK |
73 | 2005-06-13 Mark Kettenis <kettenis@gnu.org> |
74 | ||
75 | * configure.ac: Simplify and improve check for socklen_t. | |
76 | * configure, config.in: Regenerate. | |
77 | ||
f450004a DJ |
78 | 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com> |
79 | ||
80 | * acconfig.h: Remove. | |
81 | * configure.ac: Add a test for socklen_t. Use three-argument | |
82 | AC_DEFINE throughout. | |
83 | * config.in: Regenerated using autoheader 2.59. | |
84 | * configure: Regenerated. | |
85 | ||
86 | * gdbreplay.c (socklen_t): Provide a default. | |
87 | (remote_open): Use socklen_t. | |
88 | * remote-utils.c (socklen_t): Provide a default. | |
89 | (remote_open): Use socklen_t. | |
90 | (convert_int_to_ascii, convert_ascii_to_int, decode_M_packet): Use | |
91 | unsigned char. | |
92 | ||
93 | * i387-fp.c (struct i387_fsave, struct i387_fxsave): Use unsigned | |
94 | char for buffers. | |
95 | * linux-low.c (linux_read_memory, linux_write_memory) | |
96 | (linux_read_auxv): Likewise. | |
97 | * mem-break.c (breakpoint_data, set_breakpoint_data, check_mem_read) | |
98 | (check_mem_write): Likewise. | |
99 | * mem-break.h (set_breakpoint_data, check_mem_read, check_mem_write): | |
100 | Likewise. | |
101 | * regcache.c (struct inferior_rgcache_data, registers_to_string) | |
102 | (registers_from_string, register_data): Likewise. | |
103 | * server.c (handle_query, main): Likewise. | |
104 | * server.h (convert_ascii_to_int, convert_int_to_ascii) | |
105 | (decode_M_packet): Likewise. | |
106 | * target.c (read_inferior_memory, write_inferior_memory): Likewise. | |
107 | * target.h (struct target_ops): Update read_memory, write_memory, | |
108 | and read_auxv. | |
109 | (read_inferior_memory, write_inferior_memory): Update. | |
110 | * linux-low.h (struct linux_target_ops): Change type of breakpoint | |
111 | to unsigned char *. | |
112 | * linux-arm-low.c, linux-cris-low.c, linux-crisv32-low.c, | |
113 | linux-i386-low.c, linux-m32r-low.c, linux-m68k-low.c, | |
114 | linux-mips-low.c, linux-ppc-low.c, linux-ppc64-low.c, | |
115 | linux-s390-low.c, linux-sh-low.c: Update for changes in | |
116 | read_inferior_memory and the_low_target->breakpoint. | |
117 | ||
eee84df1 DJ |
118 | 2005-05-28 Daniel Jacobowitz <dan@codesourcery.com> |
119 | ||
120 | * Makefile.in (SFILES): Add linux-ppc64-low.c. | |
121 | (linux-ppc64-low.o, reg-ppc64.c, reg-ppc64.o): New targets. | |
122 | * configure.srv: Add powerpc64-*-linux*. | |
123 | * linux-ppc64-low.c: New file. | |
124 | ||
45b134e5 OF |
125 | 2005-05-23 Orjan Friberg <orjanf@axis.com> |
126 | ||
127 | * linux-cris-low.c: New file with support for CRIS. | |
128 | * linux-crisv32-low.c: Ditto for CRISv32. | |
129 | * Makefile.in (SFILES): Add linux-cris-low.c, linux-crisv32-low.c. | |
130 | (clean): Add reg-cris.c and reg-crisv32.c. | |
131 | Add linux-cris-low.o, linux-crisv32-low.o, reg-cris.o, reg-cris.c, | |
132 | reg-crisv32.o, and reg-crisv32.c to make rules. | |
133 | * configure.srv: Add cris-*-linux* and crisv32-*-linux* to list of | |
134 | recognized targets. | |
135 | ||
48d93c75 UW |
136 | 2005-05-16 Ulrich Weigand <uweigand@de.ibm.com> |
137 | ||
138 | * linux-low.c (fetch_register): Ensure buffer size is a multiple | |
139 | of sizeof (PTRACE_XFER_TYPE). | |
140 | (usr_store_inferior_registers): Likewise. Zero out excess bytes. | |
141 | ||
e013ee27 OF |
142 | 2005-05-12 Orjan Friberg <orjanf@axis.com> |
143 | ||
144 | * target.h (struct target_ops): Add insert_watchpoint, | |
145 | remove_watchpoint, stopped_by_watchpoint, stopped_data_address function | |
146 | pointers for hardware watchpoint support. | |
147 | * linux-low.h (struct linux_target_ops): Ditto. | |
148 | * linux-low.c (linux_insert_watchpoint, linux_remove_watchpoint) | |
149 | (linux_stopped_by_watchpoint, linux_stopped_data_address): New. Add | |
150 | to linux_target_ops. | |
151 | * remote-utils.c (prepare_resume_reply): Add watchpoint information to | |
152 | reply packet. | |
153 | * server.c (main): Recognize 'Z' and 'z' packets. | |
154 | ||
b0ded00b UW |
155 | 2005-05-10 Ulrich Weigand <uweigand@de.ibm.com> |
156 | ||
157 | * linux-s390-low.c (s390_breakpoint, s390_breakpoint_len): Define. | |
158 | (s390_get_pc, s390_set_pc, s390_breakpoint_at): New functions. | |
159 | (the_low_target): Add new members. | |
160 | ||
8643e2ad DJ |
161 | 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com> |
162 | ||
163 | * proc-service.c (ps_lgetregs): Search all_processes instead of | |
164 | all_threads. | |
165 | ||
fc620387 DJ |
166 | 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com> |
167 | ||
168 | * server.c (start_inferior): Change return type to int. | |
169 | (attach_inferior): Change sigptr to int *. | |
170 | (handle_v_cont, handle_v_requests): Change signal to int *. | |
171 | (main): Change signal to int. | |
172 | ||
173 | 2005-04-15 Kei Sakamoto <sakamoto.kei@renesas.com> | |
7cfbc4a0 KI |
174 | |
175 | * Makefile.in: Add linux-m32r-low.o, reg-m32r.c and reg-m32r.o. | |
176 | * configure.srv: Add m32r*-*-linux*. | |
177 | * linux-m32r-low.c: New file. | |
178 | ||
e0e76420 DJ |
179 | 2005-03-04 Daniel Jacobowitz <dan@codesourcery.com> |
180 | ||
181 | * Makefile.in (stamp-h): Set CONFIG_HEADERS explicitly. | |
182 | ||
a1928bad DJ |
183 | 2005-03-03 Daniel Jacobowitz <dan@codesourcery.com> |
184 | ||
185 | * inferiors.c (change_inferior_id, add_thread, find_inferior_id): | |
186 | Take unsigned long arguments for PIDs. | |
187 | * linux-low.c (add_process, linux_attach_lwp, linux_attach) | |
188 | (linux_thread_alive, linux_wait_for_event, kill_lwp, send_sigstop) | |
189 | (wait_for_sigstop, linux_resume_one_process) | |
190 | (regsets_fetch_inferior_registers, linux_send_signal) | |
191 | (linux_read_auxv): Likewise. Update the types of variables holding | |
192 | PIDs. Update format string specifiers. | |
193 | * linux-low.h (struct process_info, linux_attach_lwp): Likewise. | |
194 | * remote-utils.c (prepare_resume_reply): Likewise. | |
195 | * server.c (cont_thread, general_thread, step_thread) | |
196 | (thread_from_wait, old_thread_from_wait, signal_pid): Change type to | |
197 | unsigned long. | |
198 | (handle_query): Update format specifiers. | |
199 | (handle_v_cont, main): Use strtoul for thread IDs. | |
200 | * server.h (struct inferior_list_entry): Use unsigned long for ID. | |
201 | (add_thread, find_inferior_id, change_inferior_id, cont_thread) | |
202 | (general_thread, step_thread, thread_from_wait) | |
203 | (old_thread_from_wait): Update. | |
204 | * target.h (struct thread_resume): Use unsigned long for THREAD. | |
205 | (struct target_ops): Use unsigned long for arguments to attach and | |
206 | thread_alive. | |
207 | ||
dcdb98d2 DJ |
208 | 2005-02-24 Daniel Jacobowitz <dan@codesourcery.com> |
209 | ||
210 | * acinclude.m4: Include bfd/bfd.m4 directly. | |
211 | * configure.ac: Use AC_ARG_PROGRAM. Suggested by Aron Griffis | |
212 | <agriffis@toolchain.org>. | |
213 | * aclocal.m4, configure: Regenerated. | |
214 | ||
bec39cab AC |
215 | 2005-01-07 Andrew Cagney <cagney@gnu.org> |
216 | ||
217 | * configure.ac: Rename configure.in, require autoconf 2.59. | |
218 | * configure: Re-generate. | |
219 | ||
434c4c77 DJ |
220 | 2004-12-08 Daniel Jacobowitz <dan@debian.org> |
221 | ||
222 | * acinclude.m4 (SRV_CHECK_THREAD_DB): Add ps_get_thread_area. Reset | |
223 | LIBS when finished. | |
224 | * aclocal.m4: Regenerated. | |
225 | * configure: Regenerated. | |
226 | ||
db1d3e1b AS |
227 | 2004-11-21 Andreas Schwab <schwab@suse.de> |
228 | ||
229 | * linux-m68k-low.c (m68k_num_gregs): Define. | |
230 | (m68k_fill_gregset, m68k_store_gregset, m68k_fill_fpregset) | |
231 | (m68k_store_fpregset, target_regsets) [HAVE_LINUX_REGSETS]: New. | |
232 | (m68k_breakpoint, m68k_breakpoint_len, m68k_get_pc, m68k_set_pc) | |
233 | (m68k_breakpoint_at): New. Add to the_low_target. | |
234 | ||
235 | * configure.srv (m68*-*-linux*): Set srv_linux_regsets and | |
236 | srv_linux_thread_db to yes. | |
237 | ||
43360365 JB |
238 | 2004-10-20 Joel Brobecker <brobecker@gnat.com> |
239 | ||
240 | * linux-x86-64-low.c (ARCH_SET_GS): Add definition if missing. | |
241 | (ARCH_SET_FS): Likewise. | |
242 | (ARCH_GET_FS): Likewise. | |
243 | (ARCH_GET_GS): Likewise. | |
244 | ||
fd500816 DJ |
245 | 2004-10-16 Daniel Jacobowitz <dan@debian.org> |
246 | ||
247 | * linux-i386-low.c (ps_get_thread_area): New. | |
248 | * linux-x86-64-low.c (ps_get_thread_area): New. | |
249 | * linux-low.c: Include <sys/syscall.h>. | |
250 | (linux_kill_one_process): Don't kill the first thread here. | |
251 | (linux_kill): Kill the first thread here. | |
252 | (kill_lwp): New function. | |
253 | (send_sigstop, linux_send_signal): Use it. | |
254 | * proc-service.c: Clean up #ifdefs. | |
255 | (fpregset_info): Delete. | |
256 | (ps_lgetregs): Update and enable implementation. | |
257 | (ps_lsetregs, ps_lgetfpregs, ps_lsetfpregs): Remove disabled | |
258 | implementations. | |
259 | * remote-utils.c (struct sym_cache, symbol_cache): New. | |
260 | (input_interrupt): Print a clearer message. | |
261 | (async_io_enabled): New variable. | |
262 | (enable_async_io, disable_async_io): Use it. Update comments. | |
263 | (look_up_one_symbol): Use the symbol cache. | |
264 | * thread-db.c (thread_db_look_up_symbols): New function. | |
265 | (thread_db_init): Update comments. Call thread_db_look_up_symbols. | |
266 | ||
f6de3c42 DJ |
267 | 2004-10-16 Daniel Jacobowitz <dan@debian.org> |
268 | ||
269 | * configure.in: Test for -rdynamic. | |
270 | * configure: Regenerated. | |
271 | * Makefile (INTERNAL_LDFLAGS): New. | |
272 | (gdbserver, gdbreplay): Use it. | |
273 | ||
2c0fc042 AC |
274 | 2004-09-02 Andrew Cagney <cagney@gnu.org> |
275 | ||
276 | * Makefile.in (TAGS): Replace TM_FILE with DEPRECATED_TM_FILE. | |
277 | ||
075b3282 DJ |
278 | 2004-03-23 Daniel Jacobowitz <drow@mvista.com> |
279 | ||
280 | * linux-low.c (linux_wait): Clear all_processes list also. | |
281 | ||
fa6a77dc DJ |
282 | 2004-03-12 Daniel Jacobowitz <drow@mvista.com> |
283 | ||
284 | * linux-low.c: Include <errno.h>. Remove extern declaration of | |
285 | errno. | |
286 | ||
6d782a97 DJ |
287 | 2004-03-12 Daniel Jacobowitz <drow@mvista.com> |
288 | ||
289 | * gdbreplay.c, server.h, utils.c: Update copyright years. | |
290 | ||
3a7fb99b DJ |
291 | 2004-03-04 Nathan J. Williams <nathanw@wasabisystems.com> |
292 | ||
293 | * server.c (main): Print child status or termination signal from | |
294 | variable 'signal', not 'sig'. | |
295 | ||
c3e735a6 DJ |
296 | 2004-03-04 Nathan J. Williams <nathanw@wasabisystems.com> |
297 | ||
298 | * linux-low.c (linux_read_memory): Change return type to | |
299 | int. Check for and return error from ptrace(). | |
300 | * target.c (read_inferior_memory): Change return type to int. Pass | |
301 | back return status from the_target->read_memory(). | |
302 | * target.h (struct target_ops): Adapt *read_memory() prototype. | |
303 | Update comment. | |
304 | (read_inferior_memory): Adapt prototype. | |
305 | * server.c (main): Return an error packet if | |
306 | read_inferior_memory() returns an error. | |
307 | ||
a59d1c82 DJ |
308 | 2004-03-04 Daniel Jacobowitz <drow@mvista.com> |
309 | ||
310 | * Makefile.in (distclean): Remove config.h, stamp-h, and config.log. | |
311 | Unify with other clean targets. | |
312 | ||
dc3f8883 DJ |
313 | 2004-02-29 Daniel Jacobowitz <drow@mvista.com> |
314 | ||
315 | * server.c (handle_v_cont): Call set_desired_inferior. | |
316 | ||
89a208da DJ |
317 | 2004-02-29 Daniel Jacobowitz <drow@mvista.com> |
318 | ||
319 | * remote-utils.c (prepare_resume_reply): Always supply "thread:". | |
320 | ||
62ea82f5 DJ |
321 | 2004-02-29 Daniel Jacobowitz <drow@mvista.com> |
322 | ||
323 | * linux-low.c (linux_wait): Unblock async I/O. | |
324 | (linux_resume): Block and enable async I/O. | |
325 | * remote-utils.c (block_async_io, unblock_async_io): New functions. | |
326 | * server.h (block_async_io, unblock_async_io): Add prototypes. | |
327 | ||
6910d122 DJ |
328 | 2004-02-29 Daniel Jacobowitz <drow@mvista.com> |
329 | ||
330 | * remote-utils.c (remote_open): Print a status notice after | |
331 | opening a TCP port. | |
332 | * server.c (attach_inferior): Print a status notice after | |
333 | attaching. | |
334 | ||
335 | 2004-02-29 Daniel Jacobowitz <drow@mvista.com> | |
d677d77d DJ |
336 | |
337 | * linux-arm-low.c (arm_get_pc): Print out stop PC in debug mode. | |
338 | ||
c89dc5d4 DJ |
339 | 2004-02-26 Daniel Jacobowitz <drow@mvista.com> |
340 | ||
341 | * remote-utils.c (write_enn): Use "E01" instead of "ENN" for the | |
342 | error packet. | |
343 | * server.c, target.h: Update copyright years. | |
344 | ||
4b8dad4a RM |
345 | 2004-02-25 Roland McGrath <roland@redhat.com> |
346 | ||
347 | * target.h (struct target_ops): New member `read_auxv'. | |
348 | * server.c (handle_query): Handle qPart:auxv:read: query using that. | |
349 | * linux-low.c (linux_read_auxv): New function. | |
350 | (linux_target_ops): Initialize `read_auxv' member to that. | |
351 | ||
d7446758 JB |
352 | 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
353 | ||
354 | Committed by Jim Blandy <jimb@redhat.com>. | |
355 | ||
356 | * linux-s390-low.c (s390_num_regs): Update. | |
4b8dad4a | 357 | (s390_regmap): Remove control registers. Use __s390x__ predefine |
d7446758 JB |
358 | instead of GPR_SIZE to distiguish s390 and s390x targets. |
359 | ||
5544ad89 DJ |
360 | 2004-01-31 Daniel Jacobowitz <drow@mvista.com> |
361 | ||
362 | * linux-low.c: Update copyright year. | |
363 | (check_removed_breakpoint): Clear pending_is_breakpoint. | |
364 | (linux_set_resume_request, linux_queue_one_thread) | |
365 | (resume_status_pending_p): New functions. | |
366 | (linux_continue_one_thread): Use process->resume. | |
367 | (linux_resume): Only resume threads if there are no pending events. | |
368 | * linux-low.h (struct process_info): Add resume request | |
369 | pointer. | |
370 | ||
2a68b70e DJ |
371 | 2004-01-30 Daniel Jacobowitz <drow@mvista.com> |
372 | ||
373 | * regcache.c (new_register_cache): Clear the allocated register | |
374 | buffer. Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>. | |
375 | ||
64386c31 DJ |
376 | 2003-10-13 Daniel Jacobowitz <drow@mvista.com> |
377 | ||
378 | * linux-low.c (linux_resume): Take a struct thread_resume * | |
379 | argument. | |
380 | (linux_wait): Update call. | |
381 | (resume_ptr): New static variable. | |
382 | (linux_continue_one_thread): Renamed from | |
383 | linux_continue_one_process. Use resume_ptr. | |
384 | (linux_resume): Use linux_continue_one_thread. | |
385 | * server.c (handle_v_cont, handle_v_requests): New functions. | |
386 | (myresume): New function. | |
387 | (main): Handle 'v' case. | |
388 | * target.h (struct thread_resume): New type. | |
389 | (struct target_ops): Change argument of "resume" to struct | |
390 | thread_resume *. | |
391 | (myresume): Delete macro. | |
392 | ||
c938e9b0 L |
393 | 2003-08-08 H.J. Lu <hongjiu.lu@intel.com> |
394 | ||
395 | * Makefile.in (install-only): Create dest dir. Support DESTDIR. | |
396 | (uninstall): Support DESTDIR. | |
397 | ||
7f313d07 BC |
398 | Mon Jul 21 20:09:34 UTC 2003 Brendan Conoboy <blc@redhat.com> |
399 | ||
400 | * configure.srv: Add xscale*linux copy of arm*linux entry. | |
401 | ||
3b2fc2ea DJ |
402 | 2003-07-24 Daniel Jacobowitz <drow@mvista.com> |
403 | ||
404 | * linux-arm-low.c (arm_reinsert_addr): New function. | |
405 | (the_low_target): Add arm_reinsert_addr. | |
406 | ||
1c0a559e MK |
407 | 2003-07-08 Mark Kettenis <kettenis@gnu.org> |
408 | ||
409 | * mem-break.c: Remove whitespace at end of file. | |
410 | ||
43d5792c DJ |
411 | 2003-06-28 Daniel Jacobowitz <drow@mvista.com> |
412 | ||
413 | * configure.in: Check whether we need to prototype strerror. | |
414 | * server.h: Optionally prototype strerror. | |
415 | * gdbreplay.c (perror_with_name): Use strerror. | |
416 | * linux-low.c (linux_attach_lwp): Use strerror. | |
417 | * utils.c (perror_with_name): Use strerror. | |
418 | * config.in, configure: Regenerated. | |
419 | ||
c8a86edf DJ |
420 | 2003-06-28 Daniel Jacobowitz <drow@mvista.com> |
421 | ||
422 | * linux-sh-low.c (sh_regmap): Fix FP register offsets, reported by | |
423 | SUGIOKA Toshinobu <sugioka@itonet.co.jp>. | |
424 | ||
73d37363 DJ |
425 | 2003-06-20 Daniel Jacobowitz <drow@mvista.com> |
426 | ||
427 | * Makefile.in (SFILES): Update. | |
428 | * low-hppabsd.c, low-lynx.c, low-nbsd.c, low-sim.c, low-sparc.c, | |
429 | low-sun3.c: Remove files. | |
430 | ||
6ad8ae5c DJ |
431 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
432 | ||
433 | * linux-low.c: Move comment to linux_thread_alive where it belonged. | |
434 | (linux_detach_one_process, linux_detach): New functions. | |
435 | (linux_target_ops): Add linux_detach. | |
436 | * server.c (main): Handle 'D' packet. | |
437 | * target.h (struct target_ops): Add "detach" member. | |
438 | (detach_inferior): Define. | |
439 | ||
1581182a MK |
440 | 2003-06-13 Mark Kettenis <kettenis@gnu.org> |
441 | ||
442 | From Kelley Cook <kelleycook@wideopenwest.com>: | |
443 | * configure.srv: Accept i[34567]86 variants. | |
444 | ||
e5379b03 DJ |
445 | 2003-06-05 Daniel Jacobowitz <drow@mvista.com> |
446 | ||
447 | * linux-low.c (linux_wait_for_event): Correct comment typos. | |
448 | (linux_resume_one_process): Call check_removed_breakpoint. | |
449 | (linux_send_signal): New function. | |
450 | (linux_target_ops): Add linux_send_signal. | |
451 | * remote-utils.c (putpkt, input_interrupt): Use send_signal instead | |
452 | of kill. | |
453 | * target.h (struct target_ops): Add send_signal. | |
454 | ||
2ff29de4 JB |
455 | 2003-05-29 Jim Blandy <jimb@redhat.com> |
456 | ||
457 | * linux-low.c (usr_store_inferior_registers): Transfer buf in | |
458 | PTRACE_XFER_TYPE-sized chunks, not int-sized chunks. Otherwise, | |
459 | if 'int' is smaller than PTRACE_XFER_TYPE, you end up throwing | |
460 | away part of the register's value. | |
461 | ||
254787d4 DJ |
462 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
463 | ||
464 | * linux-low.c (linux_create_inferior): Use __SIGRTMIN. | |
465 | (linux_wait_for_event, linux_init_signals): Likewise. | |
466 | ||
94e10508 DJ |
467 | 2003-03-17 Daniel Jacobowitz <drow@mvista.com> |
468 | ||
469 | * configure.in: Check for stdlib.h. | |
470 | * configure: Regenerated. | |
471 | * config.in: Regenerated. | |
472 | ||
4c0711e0 DJ |
473 | 2003-01-04 Andreas Schwab <schwab@suse.de> |
474 | ||
475 | * linux-m68k-low.c (m68k_num_regs): Define to 29 instead of 31. | |
476 | ||
ef66e766 AC |
477 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
478 | ||
479 | * Makefile.in: Remove obsolete code. | |
480 | ||
a1358604 DJ |
481 | 2002-11-20 Daniel Jacobowitz <drow@mvista.com> |
482 | ||
483 | * linux-s390-low.c (s390_regmap): Check GPR_SIZE instead of | |
484 | defined(PT_FPR0_HI). | |
485 | ||
23ce3b1c DJ |
486 | 2002-11-17 Stuart Hughes <seh@zee2.com> |
487 | ||
488 | * linux-arm-low.c (arm_num_regs): Increase. | |
489 | (arm_regmap): Include status register. | |
490 | ||
491 | 2002-11-17 Daniel Jacobowitz <drow@mvista.com> | |
492 | ||
493 | * linux-low.c (register_addr): Remove incorrect -1 check. | |
494 | ||
a9fa9f7d DJ |
495 | 2002-08-29 Daniel Jacobowitz <drow@mvista.com> |
496 | ||
497 | * linux-low.c (linux_create_inferior): Call setpgid. Return | |
498 | the new PID. | |
499 | (unstopped_p, linux_signal_pid): Remove. | |
500 | (linux_target_ops): Remove linux_signal_pid. | |
501 | * remote-utils.c (putpkt, input_interrupt): Use signal_pid | |
502 | global instead of target method. | |
503 | * target.h (struct target_ops): Remove signal_pid. Update comment | |
504 | for create_inferior. | |
505 | * server.c (signal_pid): New variable. | |
506 | (create_inferior): Set signal_pid. Block SIGTTOU and SIGTTIN in | |
4b8dad4a | 507 | gdbserver. Set the child to be the foreground process group. |
a9fa9f7d DJ |
508 | (attach_inferior): Set signal_pid. |
509 | ||
17574093 DJ |
510 | 2002-08-23 Daniel Jacobowitz <drow@mvista.com> |
511 | ||
512 | * ChangeLog: New file, with entries from gdb/ChangeLog after GDB 5.2. | |
513 | ||
514 | 2002-08-20 Jim Blandy <jimb@redhat.com> | |
515 | ||
516 | * Makefile.in (LDFLAGS): Allow the configure script to establish a | |
517 | default for this. | |
518 | ||
519 | 2002-08-01 Andrew Cagney <cagney@redhat.com> | |
520 | ||
521 | * Makefile.in: Make chill references obsolete. | |
522 | ||
523 | 2002-07-24 Kevin Buettner <kevinb@redhat.com> | |
524 | ||
525 | * configure.in (unistd.h): Add to AC_CHECK_HEADERS list. | |
526 | * configure: Regenerate. | |
527 | * config.in: Regenerate. | |
528 | ||
529 | 2002-07-09 David O'Brien <obrien@FreeBSD.org> | |
530 | ||
531 | * gdbreplay.c (stdlib.h, unistd.h): Conditionaly include. | |
532 | (perror_with_name, remote_close, remote_open, expect, play): Static. | |
533 | ||
534 | 2002-07-04 Michal Ludvig <mludvig@suse.cz> | |
535 | ||
4b8dad4a | 536 | * linux-x86-64-low.c (x86_64_regmap): Make it an array of |
17574093 DJ |
537 | byte offsets instead of an array of indexes. |
538 | (x86_64_store_gregset, x86_64_store_fpregset): Parameter made const. | |
539 | ||
540 | 2002-06-13 Daniel Jacobowitz <drow@mvista.com> | |
541 | ||
542 | * regcache.c: Add comment. | |
543 | ||
544 | 2002-06-11 Daniel Jacobowitz <drow@mvista.com> | |
545 | ||
546 | * thread-db.c: New file. | |
547 | * proc-service.c: New file. | |
548 | * acinclude.m4: New file. | |
549 | * Makefile.in: Add GDBSERVER_LIBS, gdb_proc_service_h, | |
550 | proc-service.o, and thread-db.o. | |
551 | (linux-low.o): Add USE_THREAD_DB. | |
552 | * acconfig.h: Add HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, | |
553 | HAVE_LWPID_T, HAVE_PSADDR_T, and PRFPREGSET_T_BROKEN. | |
554 | * aclocal.m4: Regenerated. | |
555 | * config.in: Regenerated. | |
556 | * configure: Regenerated. | |
557 | * configure.in: Check for proc_service.h, sys/procfs.h, | |
558 | thread_db.h, and linux/elf.h headrs. | |
559 | Check for lwpid_t, psaddr_t, prgregset_t, prfpregset_t, and | |
560 | PRFPREGSET_T_BROKEN. Introduce srv_thread_depfiles and USE_THREAD_DB. | |
561 | Check for -lthread_db and thread support. | |
562 | * configure.srv: Enable thread_db support for ARM, i386, MIPS, | |
563 | PowerPC, and SuperH. | |
564 | * i387-fp.c: Constify arguments. | |
565 | * i387-fp.h: Likewise. | |
566 | * inferiors.c: (struct thread_info): Renamed from | |
567 | `struct inferior_info'. Remove PID member. Use generic inferior | |
568 | list header. All uses updated. | |
569 | (inferiors, signal_pid): Removed. | |
570 | (all_threads): New variable. | |
571 | (get_thread): Define. | |
572 | (add_inferior_to_list): New function. | |
573 | (for_each_inferior): New function. | |
574 | (change_inferior_id): New function. | |
575 | (add_inferior): Removed. | |
576 | (remove_inferior): New function. | |
577 | (add_thread): New function. | |
578 | (free_one_thread): New function. | |
579 | (remove_thread): New function. | |
580 | (clear_inferiors): Use for_each_inferior and free_one_thread. | |
581 | (find_inferior): New function. | |
582 | (find_inferior_id): New function. | |
583 | (inferior_target_data): Update argument type. | |
584 | (set_inferior_target_data): Likewise. | |
585 | (inferior_regcache_data): Likewise. | |
586 | (set_inferior_regcache_data): Likewise. | |
587 | * linux-low.c (linux_bp_reinsert): Remove. | |
588 | (all_processes, stopping_threads, using_thrads) | |
589 | (struct pending_signals, debug_threads, pid_of): New. | |
590 | (inferior_pid): Replace with macro. | |
591 | (struct inferior_linux_data): Remove. | |
592 | (get_stop_pc, add_process): New functions. | |
593 | (linux_create_inferior): Restore SIGRTMIN+1 before calling exec. | |
594 | Use add_process and add_thread. | |
595 | (linux_attach_lwp): New function, based on old linux_attach. Use | |
596 | add_process and add_thread. Set stop_expected for new threads. | |
597 | (linux_attach): New function. | |
598 | (linux_kill_one_process): New function. | |
599 | (linux_kill): Kill all LWPs. | |
600 | (linux_thread_alive): Use find_inferior_id. | |
601 | (check_removed_breakpoints, status_pending_p): New functions. | |
602 | (linux_wait_for_process): Renamed from linux_wait_for_one_inferior. | |
603 | Update. Use WNOHANG. Wait for cloned processes also. Update process | |
604 | struct for the found process. | |
605 | (linux_wait_for_event): New function. | |
606 | (linux_wait): Use it. Support LWPs. | |
607 | (send_sigstop, wait_for_sigstop, stop_all_processes) | |
608 | (linux_resume_one_process, linux_continue_one_process): New functions. | |
609 | (linux_resume): Support LWPs. | |
610 | (REGISTER_RAW_SIZE): Remove. | |
611 | (fetch_register): Use register_size instead. Call supply_register. | |
612 | (usr_store_inferior_registers): Likewise. Call collect_register. | |
613 | Fix recursive case. | |
614 | (regsets_fetch_inferior_registers): Improve error message. | |
615 | (regsets_store_inferior_registers): Add debugging. | |
616 | (linux_look_up_symbols): Call thread_db_init if USE_THREAD_DB. | |
617 | (unstopped_p, linux_signal_pid): New functions. | |
618 | (linux_target_ops): Add linux_signal_pid. | |
619 | (linux_init_signals): New function. | |
620 | (initialize_low): Call it. Initialize using_threads. | |
621 | * regcache.c (inferior_regcache_data): Add valid | |
622 | flag. | |
623 | (get_regcache): Fetch registers lazily. Add fetch argument | |
624 | and update all callers. | |
625 | (regcache_invalidate_one, regcache_invalidate): New | |
626 | functions. | |
627 | (new_register_cache): Renamed from create_register_cache. | |
628 | Return the new regcache. | |
629 | (free_register_cache): Change argument to a void *. | |
630 | (registers_to_string, registers_from_string): Call get_regcache | |
631 | with fetch flag set. | |
632 | (register_data): Make static. Pass fetch flag to get_regcache. | |
633 | (supply_register): Call get_regcache with fetch flag clear. | |
634 | (collect_register): Call get_regcache with fetch flag set. | |
635 | (collect_register_as_string): New function. | |
636 | * regcache.h: Update. | |
637 | * remote-utils.c (putpkt): Flush after debug output and use | |
638 | stderr. | |
639 | Handle input interrupts while waiting for an ACK. | |
640 | (input_interrupt): Use signal_pid method. | |
641 | (getpkt): Flush after debug output and use stderr. | |
642 | (outreg): Use collect_register_as_string. | |
643 | (new_thread_notify, dead_thread_notify): New functions. | |
644 | (prepare_resume_reply): Check using_threads. Set thread_from_wait | |
645 | and general_thread. | |
646 | (look_up_one_symbol): Flush after debug output. | |
647 | * server.c (step_thread, server_waiting): New variables. | |
648 | (start_inferior): Don't use signal_pid. Update call to mywait. | |
649 | (attach_inferior): Update call to mywait. | |
650 | (handle_query): Handle qfThreadInfo and qsThreadInfo. | |
651 | (main): Don't fetch/store registers explicitly. Use | |
652 | set_desired_inferior. Support proposed ``Hs'' packet. Update | |
653 | calls to mywait. | |
654 | * server.h: Update. | |
655 | (struct inferior_list, struct_inferior_list_entry): New. | |
656 | * target.c (set_desired_inferior): New. | |
657 | (write_inferior_memory): Constify. | |
658 | (mywait): New function. | |
659 | * target.h: Update. | |
660 | (struct target_ops): New signal_pid method. | |
661 | (mywait): Removed macro, added prototype. | |
662 | ||
663 | * linux-low.h (regset_func): Removed. | |
664 | (regset_fill_func, regset_store_func): New. | |
665 | (enum regset_type): New. | |
666 | (struct regset_info): Add type field. Use new operation types. | |
667 | (struct linux_target_ops): stop_pc renamed to get_pc. | |
668 | Add decr_pc_after_break and breakpoint_at. | |
669 | (get_process, get_thread_proess, get_process_thread) | |
670 | (strut process_info, all_processes, linux_attach_lwp) | |
671 | (thread_db_init): New. | |
672 | ||
673 | * linux-arm-low.c (arm_get_pc, arm_set_pc, | |
674 | arm_breakpoint, arm_breakpoint_len, arm_breakpoint_at): New. | |
675 | (the_low_target): Add new members. | |
676 | * linux-i386-low.c (i386_store_gregset, i386_store_fpregset) | |
677 | (i386_store_fpxregset): Constify. | |
678 | (target_regsets): Add new kind identifier. | |
679 | (i386_get_pc): Renamed from i386_stop_pc. Simplify. | |
680 | (i386_set_pc): Add debugging. | |
681 | (i386_breakpoint_at): New function. | |
682 | (the_low_target): Add new members. | |
683 | * linux-mips-low.c (mips_get_pc, mips_set_pc) | |
684 | (mips_breakpoint, mips_breakpoint_len, mips_reinsert_addr) | |
685 | (mips_breakpoint_at): New. | |
686 | (the_low_target): Add new members. | |
687 | * linux-ppc-low.c (ppc_get_pc, ppc_set_pc) | |
688 | (ppc_breakpoint, ppc_breakpoint_len, ppc_breakpoint_at): New. | |
689 | (the_low_target): Add new members. | |
690 | * linux-sh-low.c (sh_get_pc, sh_set_pc) | |
691 | (sh_breakpoint, sh_breakpoint_len, sh_breakpoint_at): New. | |
692 | (the_low_target): Add new members. | |
693 | * linux-x86-64-low.c (target_regsets): Add new kind | |
694 | identifier. | |
695 | ||
696 | 2002-05-15 Daniel Jacobowitz <drow@mvista.com> | |
697 | ||
698 | From Martin Pool <mbp@samba.org>: | |
699 | * server.c (gdbserver_usage): New function. | |
700 | (main): Call it. | |
701 | ||
702 | 2002-05-14 Daniel Jacobowitz <drow@mvista.com> | |
703 | ||
704 | * mem-break.c (reinsert_breakpoint_by_bp): Correct typo | |
705 | stop_at -> stop_pc. | |
706 | ||
707 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> | |
708 | ||
709 | * Makefile.in: Remove obsolete code. | |
710 | ||
711 | 2002-04-24 Michal Ludvig <mludvig@suse.cz> | |
712 | ||
713 | * linux-low.c (regsets_fetch_inferior_registers), | |
714 | (regsets_store_inferior_registers): Removed cast to int from | |
715 | ptrace() calls. | |
716 | * regcache.h: Added declaration of struct inferior_info. | |
717 | ||
718 | 2002-04-20 Daniel Jacobowitz <drow@mvista.com> | |
719 | ||
720 | * inferiors.c (struct inferior_info): Add regcache_data. | |
721 | (add_inferior): Call create_register_cache. | |
722 | (clear_inferiors): Call free_register_cache. | |
723 | (inferior_regcache_data, set_inferior_regcache_data): New functions. | |
724 | * regcache.c (struct inferior_regcache_data): New. | |
725 | (registers): Remove. | |
726 | (get_regcache): New function. | |
727 | (create_register_cache, free_register_cache): New functions. | |
728 | (set_register_cache): Don't initialize the register cache here. | |
729 | (registers_to_string, registers_from_string, register_data): Call | |
730 | get_regcache. | |
731 | * regcache.h: Add prototypes. | |
732 | * server.h: Likewise. | |
733 | ||
734 | 2002-04-20 Daniel Jacobowitz <drow@mvista.com> | |
735 | ||
736 | * mem-break.c: New file. | |
737 | * mem-break.h: New file. | |
738 | * Makefile.in: Add mem-break.o rule; update server.h | |
739 | dependencies. | |
740 | * inferiors.c (struct inferior_info): Add target_data | |
741 | member. | |
742 | (clear_inferiors): Free target_data member if set. | |
743 | (inferior_target_data, set_inferior_target_data): New functions. | |
744 | * linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) | |
745 | (i386_stop_pc, i386_set_pc): New. Add to the_low_target. | |
746 | * linux-low.c (linux_bp_reinsert): New variable. | |
747 | (struct inferior_linux_data): New. | |
748 | (linux_create_inferior): Use set_inferior_target_data. | |
749 | (linux_attach): Likewise. Call add_inferior. | |
750 | (linux_wait_for_one_inferior): New function. | |
751 | (linux_wait): Call it. | |
752 | (linux_write_memory): Add const. | |
753 | (initialize_low): Call set_breakpoint_data. | |
754 | * linux-low.h (struct linux_target_ops): Add breakpoint | |
755 | handling members. | |
756 | * server.c (attach_inferior): Remove extra add_inferior | |
757 | call. | |
758 | * server.h: Include mem-break.h. Update inferior.c | |
759 | prototypes. | |
760 | * target.c (read_inferior_memory) | |
761 | (write_inferior_memory): New functions. | |
762 | * target.h (read_inferior_memory) | |
763 | (write_inferior_memory): Change macros to prototypes. | |
764 | (struct target_ops): Update comments. Add const to write_memory | |
765 | definition. | |
766 | ||
767 | 2002-04-11 Daniel Jacobowitz <drow@mvista.com> | |
768 | ||
769 | * linux-low.c (usr_store_inferior_registers): Support | |
770 | registers which are allowed to fail to store. | |
771 | * linux-low.h (linux_target_ops): Likewise. | |
772 | * linux-ppc-low.c (ppc_regmap): Support FPSCR. | |
773 | (ppc_cannot_store_register): FPSCR may not be storable. | |
774 | ||
775 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> | |
776 | ||
777 | * server.h: Include <string.h> if HAVE_STRING_H. | |
778 | * ChangeLog: Correct paths in last ChangeLog entry. | |
779 | ||
780 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> | |
781 | ||
782 | * linux-low.h: Remove obsolete prototypes. | |
783 | (struct linux_target_ops): New. | |
784 | (extern the_low_target): New. | |
785 | * linux-low.c (num_regs, regmap): Remove declarations. | |
786 | (register_addr): Use the_low_target explicitly. | |
787 | (fetch_register): Likewise. | |
788 | (usr_fetch_inferior_registers): Likewise. | |
789 | (usr_store_inferior_registers): Likewise. | |
790 | * linux-arm-low.c (num_regs): Remove. | |
791 | (arm_num_regs): Define. | |
792 | (arm_regmap): Renamed from regmap, made static. | |
793 | (arm_cannot_fetch_register): Renamed from cannot_fetch_register, | |
794 | made static. | |
795 | (arm_cannot_store_register): Renamed from cannot_store_register, | |
796 | made static. | |
797 | (the_low_target): New. | |
798 | * linux-i386-low.c (num_regs): Remove. | |
799 | (i386_num_regs): Define. | |
800 | (i386_regmap): Renamed from regmap, made static. | |
801 | (i386_cannot_fetch_register): Renamed from cannot_fetch_register, | |
802 | made static. | |
803 | (i386_cannot_store_register): Renamed from cannot_store_register, | |
804 | made static. | |
805 | (the_low_target): New. | |
806 | * linux-ia64-low.c (num_regs): Remove. | |
807 | (ia64_num_regs): Define. | |
808 | (ia64_regmap): Renamed from regmap, made static. | |
809 | (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, | |
810 | made static. | |
811 | (ia64_cannot_store_register): Renamed from cannot_store_register, | |
812 | made static. | |
813 | (the_low_target): New. | |
814 | * linux-m68k-low.c (num_regs): Remove. | |
815 | (m68k_num_regs): Define. | |
816 | (m68k_regmap): Renamed from regmap, made static. | |
817 | (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, | |
818 | made static. | |
819 | (m68k_cannot_store_register): Renamed from cannot_store_register, | |
820 | made static. | |
821 | (the_low_target): New. | |
822 | * linux-mips-low.c (num_regs): Remove. | |
823 | (mips_num_regs): Define. | |
824 | (mips_regmap): Renamed from regmap, made static. | |
825 | (mips_cannot_fetch_register): Renamed from cannot_fetch_register, | |
826 | made static. | |
827 | (mips_cannot_store_register): Renamed from cannot_store_register, | |
828 | made static. | |
829 | (the_low_target): New. | |
830 | * linux-ppc-low.c (num_regs): Remove. | |
831 | (ppc_num_regs): Define. | |
832 | (ppc_regmap): Renamed from regmap, made static. | |
833 | (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, | |
834 | made static. | |
835 | (ppc_cannot_store_register): Renamed from cannot_store_register, | |
836 | made static. | |
837 | (the_low_target): New. | |
838 | * linux-s390-low.c (num_regs): Remove. | |
839 | (s390_num_regs): Define. | |
840 | (s390_regmap): Renamed from regmap, made static. | |
841 | (s390_cannot_fetch_register): Renamed from cannot_fetch_register, | |
842 | made static. | |
843 | (s390_cannot_store_register): Renamed from cannot_store_register, | |
844 | made static. | |
845 | (the_low_target): New. | |
846 | * linux-sh-low.c (num_regs): Remove. | |
847 | (sh_num_regs): Define. | |
848 | (sh_regmap): Renamed from regmap, made static. | |
849 | (sh_cannot_fetch_register): Renamed from cannot_fetch_register, | |
850 | made static. | |
851 | (sh_cannot_store_register): Renamed from cannot_store_register, | |
852 | made static. | |
853 | (the_low_target): New. | |
854 | * linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. | |
855 | (the_low_target): New. | |
856 | ||
857 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> | |
858 | ||
859 | * Makefile.in: Add stamp-h target. | |
860 | * configure.in: Create stamp-h. | |
861 | * configure: Regenerated. | |
862 | ||
863 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> | |
864 | ||
865 | * inferiors.c: New file. | |
866 | * target.c: New file. | |
867 | * target.h: New file. | |
868 | * Makefile.in: Add target.o and inferiors.o. Update | |
869 | dependencies. | |
870 | * linux-low.c (inferior_pid): New static variable, | |
871 | moved from server.c. | |
872 | (linux_create_inferior): Renamed from create_inferior. | |
873 | Call add_inferior. Return 0 on success instead of a PID. | |
874 | (linux_attach): Renamed from myattach. | |
875 | (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). | |
876 | (linux_thread_alive): Renamed from mythread_alive. | |
877 | (linux_wait): Renamed from mywait. Call clear_inferiors () if the | |
878 | child dies. | |
879 | (linux_resume): Renamed from myresume. Add missing ``return 0''. | |
880 | (regsets_store_inferior_registers): Correct error message. | |
881 | Add missing ``return 0''. | |
882 | (linux_fetch_registers): Renamed from fetch_inferior_registers. | |
883 | (linux_store_registers): Renamed from store_inferior_registers. | |
884 | (linux_read_memory): Renamed from read_inferior_memory. | |
885 | (linux_write_memory): Renamed from write_inferior_memory. | |
886 | (linux_target_ops): New structure. | |
887 | (initialize_low): Call set_target_ops (). | |
888 | * remote-utils.c (unhexify): New function. | |
889 | (hexify): New function. | |
890 | (input_interrupt): Send signals to ``signal_pid''. | |
891 | * server.c (inferior_pid): Remove. | |
892 | (start_inferior): Update create_inferior call. | |
893 | (attach_inferior): Call add_inferior. | |
894 | (handle_query): New function. | |
895 | (main): Call handle_query for `q' packets. | |
896 | * server.h: Include "target.h". Remove obsolete prototypes. | |
897 | Add prototypes for "inferiors.c", "target.c", hexify, and unhexify. | |
898 | ||
899 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> | |
900 | ||
901 | * Makefile.in: Add WARN_CFLAGS. Update configury | |
902 | dependencies. | |
903 | * configure.in: Check for <string.h> | |
904 | * configure: Regenerate. | |
905 | * config.in: Regenerate. | |
906 | * gdbreplay.c: Include needed system headers. | |
907 | (remote_open): Remove strchr prototype. | |
908 | * linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. | |
909 | * regcache.c (supply_register): Change buf argument to const void *. | |
910 | (supply_register_by_name): Likewise. | |
911 | (collect_register): Change buf argument to void *. | |
912 | (collect_register_by_name): Likewise. | |
913 | * regcache.h: Add missing prototypes. | |
914 | * remote-utils.c: Include <arpa/inet.h> for inet_ntoa. | |
915 | * server.c (handle_query): New function. | |
916 | (attached): New static variable, moved out of main. | |
917 | (main): Quiet longjmp clobber warnings. | |
918 | * server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. | |
919 | * utils.c (error): Remove NORETURN. | |
920 | (fatal): Likewise. |