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