* remote-utils.c (remote_open): Print a status notice after
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
CommitLineData
6910d122
DJ
12004-02-29 Daniel Jacobowitz <drow@mvista.com>
2
3 * remote-utils.c (remote_open): Print a status notice after
4 opening a TCP port.
5 * server.c (attach_inferior): Print a status notice after
6 attaching.
7
82004-02-29 Daniel Jacobowitz <drow@mvista.com>
d677d77d
DJ
9
10 * linux-arm-low.c (arm_get_pc): Print out stop PC in debug mode.
11
c89dc5d4
DJ
122004-02-26 Daniel Jacobowitz <drow@mvista.com>
13
14 * remote-utils.c (write_enn): Use "E01" instead of "ENN" for the
15 error packet.
16 * server.c, target.h: Update copyright years.
17
4b8dad4a
RM
182004-02-25 Roland McGrath <roland@redhat.com>
19
20 * target.h (struct target_ops): New member `read_auxv'.
21 * server.c (handle_query): Handle qPart:auxv:read: query using that.
22 * linux-low.c (linux_read_auxv): New function.
23 (linux_target_ops): Initialize `read_auxv' member to that.
24
d7446758
JB
252004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26
27 Committed by Jim Blandy <jimb@redhat.com>.
28
29 * linux-s390-low.c (s390_num_regs): Update.
4b8dad4a 30 (s390_regmap): Remove control registers. Use __s390x__ predefine
d7446758
JB
31 instead of GPR_SIZE to distiguish s390 and s390x targets.
32
5544ad89
DJ
332004-01-31 Daniel Jacobowitz <drow@mvista.com>
34
35 * linux-low.c: Update copyright year.
36 (check_removed_breakpoint): Clear pending_is_breakpoint.
37 (linux_set_resume_request, linux_queue_one_thread)
38 (resume_status_pending_p): New functions.
39 (linux_continue_one_thread): Use process->resume.
40 (linux_resume): Only resume threads if there are no pending events.
41 * linux-low.h (struct process_info): Add resume request
42 pointer.
43
2a68b70e
DJ
442004-01-30 Daniel Jacobowitz <drow@mvista.com>
45
46 * regcache.c (new_register_cache): Clear the allocated register
47 buffer. Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
48
64386c31
DJ
492003-10-13 Daniel Jacobowitz <drow@mvista.com>
50
51 * linux-low.c (linux_resume): Take a struct thread_resume *
52 argument.
53 (linux_wait): Update call.
54 (resume_ptr): New static variable.
55 (linux_continue_one_thread): Renamed from
56 linux_continue_one_process. Use resume_ptr.
57 (linux_resume): Use linux_continue_one_thread.
58 * server.c (handle_v_cont, handle_v_requests): New functions.
59 (myresume): New function.
60 (main): Handle 'v' case.
61 * target.h (struct thread_resume): New type.
62 (struct target_ops): Change argument of "resume" to struct
63 thread_resume *.
64 (myresume): Delete macro.
65
c938e9b0
L
662003-08-08 H.J. Lu <hongjiu.lu@intel.com>
67
68 * Makefile.in (install-only): Create dest dir. Support DESTDIR.
69 (uninstall): Support DESTDIR.
70
7f313d07
BC
71Mon Jul 21 20:09:34 UTC 2003 Brendan Conoboy <blc@redhat.com>
72
73 * configure.srv: Add xscale*linux copy of arm*linux entry.
74
3b2fc2ea
DJ
752003-07-24 Daniel Jacobowitz <drow@mvista.com>
76
77 * linux-arm-low.c (arm_reinsert_addr): New function.
78 (the_low_target): Add arm_reinsert_addr.
79
1c0a559e
MK
802003-07-08 Mark Kettenis <kettenis@gnu.org>
81
82 * mem-break.c: Remove whitespace at end of file.
83
43d5792c
DJ
842003-06-28 Daniel Jacobowitz <drow@mvista.com>
85
86 * configure.in: Check whether we need to prototype strerror.
87 * server.h: Optionally prototype strerror.
88 * gdbreplay.c (perror_with_name): Use strerror.
89 * linux-low.c (linux_attach_lwp): Use strerror.
90 * utils.c (perror_with_name): Use strerror.
91 * config.in, configure: Regenerated.
92
c8a86edf
DJ
932003-06-28 Daniel Jacobowitz <drow@mvista.com>
94
95 * linux-sh-low.c (sh_regmap): Fix FP register offsets, reported by
96 SUGIOKA Toshinobu <sugioka@itonet.co.jp>.
97
73d37363
DJ
982003-06-20 Daniel Jacobowitz <drow@mvista.com>
99
100 * Makefile.in (SFILES): Update.
101 * low-hppabsd.c, low-lynx.c, low-nbsd.c, low-sim.c, low-sparc.c,
102 low-sun3.c: Remove files.
103
6ad8ae5c
DJ
1042003-06-17 Daniel Jacobowitz <drow@mvista.com>
105
106 * linux-low.c: Move comment to linux_thread_alive where it belonged.
107 (linux_detach_one_process, linux_detach): New functions.
108 (linux_target_ops): Add linux_detach.
109 * server.c (main): Handle 'D' packet.
110 * target.h (struct target_ops): Add "detach" member.
111 (detach_inferior): Define.
112
1581182a
MK
1132003-06-13 Mark Kettenis <kettenis@gnu.org>
114
115 From Kelley Cook <kelleycook@wideopenwest.com>:
116 * configure.srv: Accept i[34567]86 variants.
117
e5379b03
DJ
1182003-06-05 Daniel Jacobowitz <drow@mvista.com>
119
120 * linux-low.c (linux_wait_for_event): Correct comment typos.
121 (linux_resume_one_process): Call check_removed_breakpoint.
122 (linux_send_signal): New function.
123 (linux_target_ops): Add linux_send_signal.
124 * remote-utils.c (putpkt, input_interrupt): Use send_signal instead
125 of kill.
126 * target.h (struct target_ops): Add send_signal.
127
2ff29de4
JB
1282003-05-29 Jim Blandy <jimb@redhat.com>
129
130 * linux-low.c (usr_store_inferior_registers): Transfer buf in
131 PTRACE_XFER_TYPE-sized chunks, not int-sized chunks. Otherwise,
132 if 'int' is smaller than PTRACE_XFER_TYPE, you end up throwing
133 away part of the register's value.
134
254787d4
DJ
1352003-03-26 Daniel Jacobowitz <drow@mvista.com>
136
137 * linux-low.c (linux_create_inferior): Use __SIGRTMIN.
138 (linux_wait_for_event, linux_init_signals): Likewise.
139
94e10508
DJ
1402003-03-17 Daniel Jacobowitz <drow@mvista.com>
141
142 * configure.in: Check for stdlib.h.
143 * configure: Regenerated.
144 * config.in: Regenerated.
145
4c0711e0
DJ
1462003-01-04 Andreas Schwab <schwab@suse.de>
147
148 * linux-m68k-low.c (m68k_num_regs): Define to 29 instead of 31.
149
ef66e766
AC
1502003-01-02 Andrew Cagney <ac131313@redhat.com>
151
152 * Makefile.in: Remove obsolete code.
153
a1358604
DJ
1542002-11-20 Daniel Jacobowitz <drow@mvista.com>
155
156 * linux-s390-low.c (s390_regmap): Check GPR_SIZE instead of
157 defined(PT_FPR0_HI).
158
23ce3b1c
DJ
1592002-11-17 Stuart Hughes <seh@zee2.com>
160
161 * linux-arm-low.c (arm_num_regs): Increase.
162 (arm_regmap): Include status register.
163
1642002-11-17 Daniel Jacobowitz <drow@mvista.com>
165
166 * linux-low.c (register_addr): Remove incorrect -1 check.
167
a9fa9f7d
DJ
1682002-08-29 Daniel Jacobowitz <drow@mvista.com>
169
170 * linux-low.c (linux_create_inferior): Call setpgid. Return
171 the new PID.
172 (unstopped_p, linux_signal_pid): Remove.
173 (linux_target_ops): Remove linux_signal_pid.
174 * remote-utils.c (putpkt, input_interrupt): Use signal_pid
175 global instead of target method.
176 * target.h (struct target_ops): Remove signal_pid. Update comment
177 for create_inferior.
178 * server.c (signal_pid): New variable.
179 (create_inferior): Set signal_pid. Block SIGTTOU and SIGTTIN in
4b8dad4a 180 gdbserver. Set the child to be the foreground process group.
a9fa9f7d
DJ
181 (attach_inferior): Set signal_pid.
182
17574093
DJ
1832002-08-23 Daniel Jacobowitz <drow@mvista.com>
184
185 * ChangeLog: New file, with entries from gdb/ChangeLog after GDB 5.2.
186
1872002-08-20 Jim Blandy <jimb@redhat.com>
188
189 * Makefile.in (LDFLAGS): Allow the configure script to establish a
190 default for this.
191
1922002-08-01 Andrew Cagney <cagney@redhat.com>
193
194 * Makefile.in: Make chill references obsolete.
195
1962002-07-24 Kevin Buettner <kevinb@redhat.com>
197
198 * configure.in (unistd.h): Add to AC_CHECK_HEADERS list.
199 * configure: Regenerate.
200 * config.in: Regenerate.
201
2022002-07-09 David O'Brien <obrien@FreeBSD.org>
203
204 * gdbreplay.c (stdlib.h, unistd.h): Conditionaly include.
205 (perror_with_name, remote_close, remote_open, expect, play): Static.
206
2072002-07-04 Michal Ludvig <mludvig@suse.cz>
208
4b8dad4a 209 * linux-x86-64-low.c (x86_64_regmap): Make it an array of
17574093
DJ
210 byte offsets instead of an array of indexes.
211 (x86_64_store_gregset, x86_64_store_fpregset): Parameter made const.
212
2132002-06-13 Daniel Jacobowitz <drow@mvista.com>
214
215 * regcache.c: Add comment.
216
2172002-06-11 Daniel Jacobowitz <drow@mvista.com>
218
219 * thread-db.c: New file.
220 * proc-service.c: New file.
221 * acinclude.m4: New file.
222 * Makefile.in: Add GDBSERVER_LIBS, gdb_proc_service_h,
223 proc-service.o, and thread-db.o.
224 (linux-low.o): Add USE_THREAD_DB.
225 * acconfig.h: Add HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T,
226 HAVE_LWPID_T, HAVE_PSADDR_T, and PRFPREGSET_T_BROKEN.
227 * aclocal.m4: Regenerated.
228 * config.in: Regenerated.
229 * configure: Regenerated.
230 * configure.in: Check for proc_service.h, sys/procfs.h,
231 thread_db.h, and linux/elf.h headrs.
232 Check for lwpid_t, psaddr_t, prgregset_t, prfpregset_t, and
233 PRFPREGSET_T_BROKEN. Introduce srv_thread_depfiles and USE_THREAD_DB.
234 Check for -lthread_db and thread support.
235 * configure.srv: Enable thread_db support for ARM, i386, MIPS,
236 PowerPC, and SuperH.
237 * i387-fp.c: Constify arguments.
238 * i387-fp.h: Likewise.
239 * inferiors.c: (struct thread_info): Renamed from
240 `struct inferior_info'. Remove PID member. Use generic inferior
241 list header. All uses updated.
242 (inferiors, signal_pid): Removed.
243 (all_threads): New variable.
244 (get_thread): Define.
245 (add_inferior_to_list): New function.
246 (for_each_inferior): New function.
247 (change_inferior_id): New function.
248 (add_inferior): Removed.
249 (remove_inferior): New function.
250 (add_thread): New function.
251 (free_one_thread): New function.
252 (remove_thread): New function.
253 (clear_inferiors): Use for_each_inferior and free_one_thread.
254 (find_inferior): New function.
255 (find_inferior_id): New function.
256 (inferior_target_data): Update argument type.
257 (set_inferior_target_data): Likewise.
258 (inferior_regcache_data): Likewise.
259 (set_inferior_regcache_data): Likewise.
260 * linux-low.c (linux_bp_reinsert): Remove.
261 (all_processes, stopping_threads, using_thrads)
262 (struct pending_signals, debug_threads, pid_of): New.
263 (inferior_pid): Replace with macro.
264 (struct inferior_linux_data): Remove.
265 (get_stop_pc, add_process): New functions.
266 (linux_create_inferior): Restore SIGRTMIN+1 before calling exec.
267 Use add_process and add_thread.
268 (linux_attach_lwp): New function, based on old linux_attach. Use
269 add_process and add_thread. Set stop_expected for new threads.
270 (linux_attach): New function.
271 (linux_kill_one_process): New function.
272 (linux_kill): Kill all LWPs.
273 (linux_thread_alive): Use find_inferior_id.
274 (check_removed_breakpoints, status_pending_p): New functions.
275 (linux_wait_for_process): Renamed from linux_wait_for_one_inferior.
276 Update. Use WNOHANG. Wait for cloned processes also. Update process
277 struct for the found process.
278 (linux_wait_for_event): New function.
279 (linux_wait): Use it. Support LWPs.
280 (send_sigstop, wait_for_sigstop, stop_all_processes)
281 (linux_resume_one_process, linux_continue_one_process): New functions.
282 (linux_resume): Support LWPs.
283 (REGISTER_RAW_SIZE): Remove.
284 (fetch_register): Use register_size instead. Call supply_register.
285 (usr_store_inferior_registers): Likewise. Call collect_register.
286 Fix recursive case.
287 (regsets_fetch_inferior_registers): Improve error message.
288 (regsets_store_inferior_registers): Add debugging.
289 (linux_look_up_symbols): Call thread_db_init if USE_THREAD_DB.
290 (unstopped_p, linux_signal_pid): New functions.
291 (linux_target_ops): Add linux_signal_pid.
292 (linux_init_signals): New function.
293 (initialize_low): Call it. Initialize using_threads.
294 * regcache.c (inferior_regcache_data): Add valid
295 flag.
296 (get_regcache): Fetch registers lazily. Add fetch argument
297 and update all callers.
298 (regcache_invalidate_one, regcache_invalidate): New
299 functions.
300 (new_register_cache): Renamed from create_register_cache.
301 Return the new regcache.
302 (free_register_cache): Change argument to a void *.
303 (registers_to_string, registers_from_string): Call get_regcache
304 with fetch flag set.
305 (register_data): Make static. Pass fetch flag to get_regcache.
306 (supply_register): Call get_regcache with fetch flag clear.
307 (collect_register): Call get_regcache with fetch flag set.
308 (collect_register_as_string): New function.
309 * regcache.h: Update.
310 * remote-utils.c (putpkt): Flush after debug output and use
311 stderr.
312 Handle input interrupts while waiting for an ACK.
313 (input_interrupt): Use signal_pid method.
314 (getpkt): Flush after debug output and use stderr.
315 (outreg): Use collect_register_as_string.
316 (new_thread_notify, dead_thread_notify): New functions.
317 (prepare_resume_reply): Check using_threads. Set thread_from_wait
318 and general_thread.
319 (look_up_one_symbol): Flush after debug output.
320 * server.c (step_thread, server_waiting): New variables.
321 (start_inferior): Don't use signal_pid. Update call to mywait.
322 (attach_inferior): Update call to mywait.
323 (handle_query): Handle qfThreadInfo and qsThreadInfo.
324 (main): Don't fetch/store registers explicitly. Use
325 set_desired_inferior. Support proposed ``Hs'' packet. Update
326 calls to mywait.
327 * server.h: Update.
328 (struct inferior_list, struct_inferior_list_entry): New.
329 * target.c (set_desired_inferior): New.
330 (write_inferior_memory): Constify.
331 (mywait): New function.
332 * target.h: Update.
333 (struct target_ops): New signal_pid method.
334 (mywait): Removed macro, added prototype.
335
336 * linux-low.h (regset_func): Removed.
337 (regset_fill_func, regset_store_func): New.
338 (enum regset_type): New.
339 (struct regset_info): Add type field. Use new operation types.
340 (struct linux_target_ops): stop_pc renamed to get_pc.
341 Add decr_pc_after_break and breakpoint_at.
342 (get_process, get_thread_proess, get_process_thread)
343 (strut process_info, all_processes, linux_attach_lwp)
344 (thread_db_init): New.
345
346 * linux-arm-low.c (arm_get_pc, arm_set_pc,
347 arm_breakpoint, arm_breakpoint_len, arm_breakpoint_at): New.
348 (the_low_target): Add new members.
349 * linux-i386-low.c (i386_store_gregset, i386_store_fpregset)
350 (i386_store_fpxregset): Constify.
351 (target_regsets): Add new kind identifier.
352 (i386_get_pc): Renamed from i386_stop_pc. Simplify.
353 (i386_set_pc): Add debugging.
354 (i386_breakpoint_at): New function.
355 (the_low_target): Add new members.
356 * linux-mips-low.c (mips_get_pc, mips_set_pc)
357 (mips_breakpoint, mips_breakpoint_len, mips_reinsert_addr)
358 (mips_breakpoint_at): New.
359 (the_low_target): Add new members.
360 * linux-ppc-low.c (ppc_get_pc, ppc_set_pc)
361 (ppc_breakpoint, ppc_breakpoint_len, ppc_breakpoint_at): New.
362 (the_low_target): Add new members.
363 * linux-sh-low.c (sh_get_pc, sh_set_pc)
364 (sh_breakpoint, sh_breakpoint_len, sh_breakpoint_at): New.
365 (the_low_target): Add new members.
366 * linux-x86-64-low.c (target_regsets): Add new kind
367 identifier.
368
3692002-05-15 Daniel Jacobowitz <drow@mvista.com>
370
371 From Martin Pool <mbp@samba.org>:
372 * server.c (gdbserver_usage): New function.
373 (main): Call it.
374
3752002-05-14 Daniel Jacobowitz <drow@mvista.com>
376
377 * mem-break.c (reinsert_breakpoint_by_bp): Correct typo
378 stop_at -> stop_pc.
379
3802002-05-04 Andrew Cagney <ac131313@redhat.com>
381
382 * Makefile.in: Remove obsolete code.
383
3842002-04-24 Michal Ludvig <mludvig@suse.cz>
385
386 * linux-low.c (regsets_fetch_inferior_registers),
387 (regsets_store_inferior_registers): Removed cast to int from
388 ptrace() calls.
389 * regcache.h: Added declaration of struct inferior_info.
390
3912002-04-20 Daniel Jacobowitz <drow@mvista.com>
392
393 * inferiors.c (struct inferior_info): Add regcache_data.
394 (add_inferior): Call create_register_cache.
395 (clear_inferiors): Call free_register_cache.
396 (inferior_regcache_data, set_inferior_regcache_data): New functions.
397 * regcache.c (struct inferior_regcache_data): New.
398 (registers): Remove.
399 (get_regcache): New function.
400 (create_register_cache, free_register_cache): New functions.
401 (set_register_cache): Don't initialize the register cache here.
402 (registers_to_string, registers_from_string, register_data): Call
403 get_regcache.
404 * regcache.h: Add prototypes.
405 * server.h: Likewise.
406
4072002-04-20 Daniel Jacobowitz <drow@mvista.com>
408
409 * mem-break.c: New file.
410 * mem-break.h: New file.
411 * Makefile.in: Add mem-break.o rule; update server.h
412 dependencies.
413 * inferiors.c (struct inferior_info): Add target_data
414 member.
415 (clear_inferiors): Free target_data member if set.
416 (inferior_target_data, set_inferior_target_data): New functions.
417 * linux-i386-low.c (i386_breakpoint, i386_breakpoint_len)
418 (i386_stop_pc, i386_set_pc): New. Add to the_low_target.
419 * linux-low.c (linux_bp_reinsert): New variable.
420 (struct inferior_linux_data): New.
421 (linux_create_inferior): Use set_inferior_target_data.
422 (linux_attach): Likewise. Call add_inferior.
423 (linux_wait_for_one_inferior): New function.
424 (linux_wait): Call it.
425 (linux_write_memory): Add const.
426 (initialize_low): Call set_breakpoint_data.
427 * linux-low.h (struct linux_target_ops): Add breakpoint
428 handling members.
429 * server.c (attach_inferior): Remove extra add_inferior
430 call.
431 * server.h: Include mem-break.h. Update inferior.c
432 prototypes.
433 * target.c (read_inferior_memory)
434 (write_inferior_memory): New functions.
435 * target.h (read_inferior_memory)
436 (write_inferior_memory): Change macros to prototypes.
437 (struct target_ops): Update comments. Add const to write_memory
438 definition.
439
4402002-04-11 Daniel Jacobowitz <drow@mvista.com>
441
442 * linux-low.c (usr_store_inferior_registers): Support
443 registers which are allowed to fail to store.
444 * linux-low.h (linux_target_ops): Likewise.
445 * linux-ppc-low.c (ppc_regmap): Support FPSCR.
446 (ppc_cannot_store_register): FPSCR may not be storable.
447
4482002-04-09 Daniel Jacobowitz <drow@mvista.com>
449
450 * server.h: Include <string.h> if HAVE_STRING_H.
451 * ChangeLog: Correct paths in last ChangeLog entry.
452
4532002-04-09 Daniel Jacobowitz <drow@mvista.com>
454
455 * linux-low.h: Remove obsolete prototypes.
456 (struct linux_target_ops): New.
457 (extern the_low_target): New.
458 * linux-low.c (num_regs, regmap): Remove declarations.
459 (register_addr): Use the_low_target explicitly.
460 (fetch_register): Likewise.
461 (usr_fetch_inferior_registers): Likewise.
462 (usr_store_inferior_registers): Likewise.
463 * linux-arm-low.c (num_regs): Remove.
464 (arm_num_regs): Define.
465 (arm_regmap): Renamed from regmap, made static.
466 (arm_cannot_fetch_register): Renamed from cannot_fetch_register,
467 made static.
468 (arm_cannot_store_register): Renamed from cannot_store_register,
469 made static.
470 (the_low_target): New.
471 * linux-i386-low.c (num_regs): Remove.
472 (i386_num_regs): Define.
473 (i386_regmap): Renamed from regmap, made static.
474 (i386_cannot_fetch_register): Renamed from cannot_fetch_register,
475 made static.
476 (i386_cannot_store_register): Renamed from cannot_store_register,
477 made static.
478 (the_low_target): New.
479 * linux-ia64-low.c (num_regs): Remove.
480 (ia64_num_regs): Define.
481 (ia64_regmap): Renamed from regmap, made static.
482 (ia64_cannot_fetch_register): Renamed from cannot_fetch_register,
483 made static.
484 (ia64_cannot_store_register): Renamed from cannot_store_register,
485 made static.
486 (the_low_target): New.
487 * linux-m68k-low.c (num_regs): Remove.
488 (m68k_num_regs): Define.
489 (m68k_regmap): Renamed from regmap, made static.
490 (m68k_cannot_fetch_register): Renamed from cannot_fetch_register,
491 made static.
492 (m68k_cannot_store_register): Renamed from cannot_store_register,
493 made static.
494 (the_low_target): New.
495 * linux-mips-low.c (num_regs): Remove.
496 (mips_num_regs): Define.
497 (mips_regmap): Renamed from regmap, made static.
498 (mips_cannot_fetch_register): Renamed from cannot_fetch_register,
499 made static.
500 (mips_cannot_store_register): Renamed from cannot_store_register,
501 made static.
502 (the_low_target): New.
503 * linux-ppc-low.c (num_regs): Remove.
504 (ppc_num_regs): Define.
505 (ppc_regmap): Renamed from regmap, made static.
506 (ppc_cannot_fetch_register): Renamed from cannot_fetch_register,
507 made static.
508 (ppc_cannot_store_register): Renamed from cannot_store_register,
509 made static.
510 (the_low_target): New.
511 * linux-s390-low.c (num_regs): Remove.
512 (s390_num_regs): Define.
513 (s390_regmap): Renamed from regmap, made static.
514 (s390_cannot_fetch_register): Renamed from cannot_fetch_register,
515 made static.
516 (s390_cannot_store_register): Renamed from cannot_store_register,
517 made static.
518 (the_low_target): New.
519 * linux-sh-low.c (num_regs): Remove.
520 (sh_num_regs): Define.
521 (sh_regmap): Renamed from regmap, made static.
522 (sh_cannot_fetch_register): Renamed from cannot_fetch_register,
523 made static.
524 (sh_cannot_store_register): Renamed from cannot_store_register,
525 made static.
526 (the_low_target): New.
527 * linux-x86-64-low.c (x86_64_regmap): Renamed from regmap.
528 (the_low_target): New.
529
5302002-04-09 Daniel Jacobowitz <drow@mvista.com>
531
532 * Makefile.in: Add stamp-h target.
533 * configure.in: Create stamp-h.
534 * configure: Regenerated.
535
5362002-04-09 Daniel Jacobowitz <drow@mvista.com>
537
538 * inferiors.c: New file.
539 * target.c: New file.
540 * target.h: New file.
541 * Makefile.in: Add target.o and inferiors.o. Update
542 dependencies.
543 * linux-low.c (inferior_pid): New static variable,
544 moved from server.c.
545 (linux_create_inferior): Renamed from create_inferior.
546 Call add_inferior. Return 0 on success instead of a PID.
547 (linux_attach): Renamed from myattach.
548 (linux_kill): Renamed from kill_inferior. Call clear_inferiors ().
549 (linux_thread_alive): Renamed from mythread_alive.
550 (linux_wait): Renamed from mywait. Call clear_inferiors () if the
551 child dies.
552 (linux_resume): Renamed from myresume. Add missing ``return 0''.
553 (regsets_store_inferior_registers): Correct error message.
554 Add missing ``return 0''.
555 (linux_fetch_registers): Renamed from fetch_inferior_registers.
556 (linux_store_registers): Renamed from store_inferior_registers.
557 (linux_read_memory): Renamed from read_inferior_memory.
558 (linux_write_memory): Renamed from write_inferior_memory.
559 (linux_target_ops): New structure.
560 (initialize_low): Call set_target_ops ().
561 * remote-utils.c (unhexify): New function.
562 (hexify): New function.
563 (input_interrupt): Send signals to ``signal_pid''.
564 * server.c (inferior_pid): Remove.
565 (start_inferior): Update create_inferior call.
566 (attach_inferior): Call add_inferior.
567 (handle_query): New function.
568 (main): Call handle_query for `q' packets.
569 * server.h: Include "target.h". Remove obsolete prototypes.
570 Add prototypes for "inferiors.c", "target.c", hexify, and unhexify.
571
5722002-04-09 Daniel Jacobowitz <drow@mvista.com>
573
574 * Makefile.in: Add WARN_CFLAGS. Update configury
575 dependencies.
576 * configure.in: Check for <string.h>
577 * configure: Regenerate.
578 * config.in: Regenerate.
579 * gdbreplay.c: Include needed system headers.
580 (remote_open): Remove strchr prototype.
581 * linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS.
582 * regcache.c (supply_register): Change buf argument to const void *.
583 (supply_register_by_name): Likewise.
584 (collect_register): Change buf argument to void *.
585 (collect_register_by_name): Likewise.
586 * regcache.h: Add missing prototypes.
587 * remote-utils.c: Include <arpa/inet.h> for inet_ntoa.
588 * server.c (handle_query): New function.
589 (attached): New static variable, moved out of main.
590 (main): Quiet longjmp clobber warnings.
591 * server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes.
592 * utils.c (error): Remove NORETURN.
593 (fatal): Likewise.
This page took 0.177202 seconds and 4 git commands to generate.