]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/ChangeLog
* inf-ptrace.c (inf_ptrace_prepare_to_store)
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
1 2005-01-19 Mark Kettenis <kettenis@gnu.org>
2
3 * inf-ptrace.c (inf_ptrace_prepare_to_store)
4 (inf_ptrace_post_startup_inferior)
5 (inf_ptrace_acknowledge_created_inferior)
6 (inf_ptrace_insert_fork_catchpoint)
7 (inf_ptrace_remove_fork_catchpoint)
8 (inf_ptrace_insert_vfork_catchpoint):
9 (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
10 (inf_ptrace_insert_exec_catchpoint)
11 (inf_ptrace_remove_exec_catchpoint): Remove functions.
12 (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
13 (inf_ptrace_target): Don't set to_prepare_to_store,
14 to_post_startup_inferior, to_acknowledge_created_inferior,
15 to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
16 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
17 to_follow_fork, to_insert_exec_catchpoint,
18 to_remove_exec_catchpoint.
19
20 2005-01-18 Andrew Cagney <cagney@gnu.org>
21
22 * target.h (struct target_ops): Change return type of
23 to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
24 to_insert_exec_catchpoint to void.
25 (child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
26 (child_insert_exec_catchpoint): Change return type to void.
27 * target.c (update_current_target): Update.
28 (debug_to_insert_fork_catchpoint)
29 (debug_to_insert_vfork_catchpoint)
30 (debug_to_insert_exec_catchpoint): Update.
31 * inf-child.c (inf_child_insert_fork_catchpoint)
32 (inf_child_insert_vfork_catchpoint)
33 (inf_child_insert_exec_catchpoint): Update.
34 * breakpoint.c (insert_catchpoint): Update, do not throw an error.
35 * linux-nat.c (child_insert_fork_catchpoint)
36 (child_insert_vfork_catchpoint)
37 (child_insert_exec_catchpoint): Update.
38 * inftarg.c (child_insert_fork_catchpoint)
39 (child_insert_vfork_catchpoint,)
40 (child_insert_exec_catchpoint): Update.
41
42 * remote.c (remote_open_1): Use throw_exception.
43
44 2005-01-17 Michael Snyder <msnyder@redhat.com>
45
46 * mips-linux-tdep.c: Whitespace tweaks.
47
48 2005-01-17 Corinna Vinschen <vinschen@redhat.com>
49
50 * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
51
52 2005-01-17 Andrew Cagney <cagney@gnu.org>
53
54 * top.h (source_error, source_pre_error): Delete declaration.
55 * cli/cli-script.c (source_error_allocated, source_error): Delete.
56 (script_from_file, source_cleanup_lines): Do not manipulate
57 source_error_allocated, error_pre_print and source_error.
58 (struct source_cleanup_lines_args): Delete fields old_pre_error,
59 and old_error_pre_print.
60 * top.c (source_error_allocated, source_error)
61 (source_pre_error): Delete.
62 (command_line_input): Do not set error_pre_print.
63 * event-top.c (command_line_handler): Do not set error_pre_print.
64
65 2005-01-16 Jason Thorpe <thorpej@netbsd.org>
66
67 * MAINTAINERS: Update my email address.
68
69 2005-01-16 Mark Kettenis <kettenis@gnu.org>
70
71 * configure.ac: Provide prerequisite headers when checking
72 <term.h>.
73 * configure: Regenerate.
74
75 * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
76 and "bsd-uthread.h".
77 (amd64fbsd_jmp_buf_reg_offset): New variable.
78 (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
79 functions.
80 (amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
81 * i386fbsd-tdep.c: Fix typo.
82 * Makefile.in (amd64fbsd-tdep.o): Update dependencies.
83 * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
84
85 2005-01-16 Andrew Cagney <cagney@gnu.org>
86
87 * cli/cli-script.c: Include "exceptions.h".
88 (struct wrapped_read_command_file_args): Define.
89 (wrapped_read_command_file): New function.
90 (script_from_file): Replace direct call to read_command_file by
91 one wrapped by an exception handler.
92 * exceptions.c (throw_it): Free the old message after creating the
93 new.
94 * Makefile.in: Update dependencies.
95
96 2005-01-16 Mark Kettenis <kettenis@gnu.org>
97
98 * sparc64fbsd-tdep.c: Update copyright year.
99 (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
100 functions.
101 (sparc64fbsd_init_abi): Create register sets with collect
102 functions.
103
104 * sparc64fbsd-nat.c: Include "fbsd-nat.h".
105 (_initialize_sparc64fbsd_nat): Add some extra features to the
106 generic SPARC target.
107 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
108 * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
109 (NAT_FILE): Set to solib.h.
110 * config/sparc/nm-fbsd.h: Remove file.
111
112 * sparc64-tdep.c (sparc64_store_arguments): Fix typo.
113
114 * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
115
116 2005-01-16 Andrew Cagney <cagney@gnu.org>
117
118 * exceptions.c (struct catcher): Delete saved_error_pre_print and
119 saved_quit_pre_print.
120 (catcher_init): Delete parameter errstring, do not override the
121 pre_print strings.
122 (catcher_pop): Do not restore the pre_print strings.
123 (catch_exception, catch_exceptions_with_msg, catch_errors)
124 (catch_command_errors): Update catch_init calls.
125
126 2005-01-16 Mark Kettenis <kettenis@gnu.org>
127
128 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
129 * sparc64fbsd-nat.c: Update copyright year. Include "target.h".
130
131 2005-01-15 Andrew Cagney <cagney@gnu.org>
132
133 * acinclude.m4: Include ../bfd/bfd.m4 instead of
134 ../bfd/acinclude.m4. Include ../gettext.m4.
135 * aclocal.m4, configure: Re-generate.
136
137 * exceptions.c (do_captured_command)
138 (struct captured_command_args): Delete.
139 (catch_command_errors): Simplify by inlining call to catch_errors.
140
141 * exceptions.c (struct catcher): Delete field print_message.
142 (catcher_init): Delete print_message parameter.
143 (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
144 (throw_it): Delete prefix parameter.
145 (throw_verror, throw_vfatal, throw_error): Update.
146
147 2005-01-14 Andrew Cagney <cagney@gnu.org>
148
149 * exceptions.c (print_and_throw): Delete, replaced by throw_it.
150 (throw_reason): Leave the exception's message field blank.
151 (throw_it): New function, create the exception and throw it.
152 (throw_verror, throw_vfatal, throw_error): Call throw_it.
153 (print_any_exception): New function.
154 (catch_errors, catch_exceptions_with_msg): Call
155 print_any_exception.
156 (throw_exception): Move code calling annotate_error and
157 annotate_quit from here ...
158 (print_exception): ... to here.
159
160 * exceptions.c (exception_fprintf, exception_print): Move printing
161 of \n from here ...
162 (print_exception): ... to here.
163 (print_flush): New function.
164 (exception_print, exception_fprintf): Replace duplicated flush and
165 wrap code with call to print_flush.
166 (print_and_throw): Simplify, by using xstrvprintf, print_flush,
167 and print_exception.
168 (do_write): Delete.
169
170 * remote-sds.c (interrupt_query): Call throw_reason instead of
171 throw_exception.
172 * remote-mips.c (mips_error, mips_kill): Ditto
173 * ocd.c (interrupt_query): Ditto.
174 * nto-procfs.c (interrupt_query): Ditto.
175 * monitor.c (monitor_interrupt_query): Ditto.
176
177 2005-01-14 Jeff Johnston <jjohnstn@redhat.com>
178
179 * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
180
181 2005-01-14 Andrew Cagney <cagney@gnu.org>
182
183 * exceptions.h (catch_exceptions): Delete errstring parameter.
184 (catch_exceptions_with_msg): Ditto.
185 * exceptions.c (catch_exceptions_with_msg): Update.
186 (catch_exceptions): Update.
187 * symfile-mem.c (add_vsyscall_page): Update.
188 * frame.c (get_current_frame): Update.
189 * wrapper.c (gdb_value_struct_elt): Update.
190 * exceptions.c (catch_exceptions): Update.
191 * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
192 * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
193 * remote-fileio.c (remote_fileio_request): Update.
194
195 * exceptions.h (exception_fprintf): Declare.
196 (exception_print): Drop pre_print parameter.
197 * mi/mi-main.c (mi_execute_command): Update exception_print call.
198 * cli/cli-interp.c (safe_execute_command): Update exception_print
199 call.
200 * remote.c (remote_open_1): Instead of passing an error prefix to
201 catch_exceptions, use catch_exceptions and exception_fprintf.
202 (remote_start_remote): Change return type to void.
203 * breakpoint.c (insert_bp_location): Instead of passing an error
204 prefix to catch_exceptions, use catch_exceptions and
205 exception_fprintf.
206 (insert_catchpoint): Change return type to void.
207 (break_command_1): Update exception_print call.
208 * exceptions.c (exception_fprintf): New function.
209 (print_exception): New function.
210 (exception_print): Use print_exception.
211
212 * utils.c (error_output_message): Delete function.
213 * defs.h (error_output_message): Delete declaration.
214
215 * linespec.c (symtab_from_filename, decode_variable): Use
216 throw_error instead of error_silent.
217 * breakpoint.c (do_captured_parse_breakpoint): Change return type
218 to void.
219 (break_command_1): Use catch_exception and check the error return
220 status.
221 * exceptions.c (throw_error): New function.
222 (throw_vsilent): Delete function.
223 * exceptions.h (throw_error): Declare.
224 (throw_vsilent): Delete declaration.
225 * utils.c (error_silent): Delete function.
226 * defs.h (error_silent): Delete declaration.
227
228 * mi/mi-main.c (mi_execute_command): Print the exception.
229 * cli/cli-interp.c (safe_execute_command): Print the exception.
230 * exceptions.h (exception_print): Declare.
231 * exceptions.c (struct catcher): Add field print_message.
232 (catcher_init): Add parameter print_message, store in the catcher
233 struct.
234 (print_and_throw): Only print the message when print_message.
235 (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
236 catcher_init.
237 (catch_exception): Pass print_message=0 to catcher_init.
238
239 * varobj.c (varobj_create): Add missing \n.
240
241 2005-01-13 Michael Snyder <msnyder@redhat.com>
242
243 * cli/cli-decode.h: Whitespace tweaks.
244 * wince.c: Whitespace tweaks.
245 * uw-thread.c: Whitespace tweaks.
246 * utils.c: Whitespace tweaks.
247 * tracepoint.[ch]: Whitespace tweaks.
248 * solist.h: Whitespace tweaks.
249
250 2005-01-13 Andrew Cagney <cagney@gnu.org>
251
252 * exceptions.h (struct exception): Make message const.
253 * mi/mi-main.c (mi_execute_command): Pass result.message directly
254 to fputstr_unfiltered.
255
256 2005-01-13 Michael Snyder <msnyder@redhat.com>
257
258 * stack.c: Whitespace tweaks.
259 * somsolib.[ch]: Whitespace tweaks.
260 * solib-aix.c: Whitespace tweaks.
261 * solib.c: Whitespace tweaks.
262 * solib-frv.c: Whitespace tweaks.
263 * solib.h: Whitespace tweaks.
264 * solib-irix.c: Whitespace tweaks.
265 * solib-som.c: Whitespace tweaks.
266 * solib-sunos.c: Whitespace tweaks.
267 * solib-svr4.[ch]: Whitespace tweaks.
268 * ser-tcp.c: Whitespace tweaks.
269 * ser-unix.c: Whitespace tweaks.
270 * serial.h: Whitespace tweaks.
271 * scm-valprint.c: Whitespace tweaks.
272 * rs6000-tdep.c: Whitespace tweaks.
273 * rs6000-nat.c: Whitespace tweaks.
274 * remote.c: Whitespace tweaks.
275
276 2005-01-13 Andrew Cagney <cagney@gnu.org>
277
278 * defs.h (error_last_message, error_init): Delete declaration.
279 * utils.c (fatal, vfatal): Call throw_vfatal.
280 (error, verror): Call throw_verror;
281 (do_write, error_stream_1): Delete function.
282 (error_stream): Simplify, call error.
283 (error_last_message, error_init, gdb_lasterr): Delete.
284 (error_silent): Simplify, call throw_vsilent.
285 * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
286 * main.c (captured_main): Delete call to error_init.
287 * exceptions.c (throw_verror, throw_verror)
288 (throw_vsilent): New functions.
289 (do_write, print_and_throw): New functions.
290 (last_message): New global.
291 (throw_reason): Replace error_last_message with last_message.
292 (catch_exceptions_with_msg): Dup the message.
293 * exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
294 Declare.
295
296 2005-01-13 Michael Snyder <msnyder@redhat.com>
297
298 * remote-st.c: Whitespace tweaks.
299 * remote-sim.c: Whitespace tweaks.
300 * remote-mips.c: Whitespace tweaks.
301 * pa64solib.[ch]: Whitespace tweaks.
302 * mdebugread.c: Whitespace tweaks.
303 * main.c: Whitespace tweaks.
304 * interps.c: Whitespace tweaks.
305 * infrun.c: Whitespace tweaks.
306 * infcmd.c: Whitespace tweaks.
307 * hpux-thread.c: Whitespace tweaks.
308 * hppa-hpux-tdep.c: Whitespace tweaks.
309 * gdbcore.h: Whitespace tweaks.
310 * gdbcmd.h: Whitespace tweaks.
311 * gdb-events[.c, .h, .sh]: Whitespace tweaks.
312 * corefile.c: Whitespace tweaks.
313 * completer.c: Whitespace tweaks.
314 * coff-solib.c: Whitespace tweaks.
315 * coff-solib.h: Whitespace tweaks.
316 * cli-out.c: Whitespace tweaks.
317 * breakpoint.c: Whitespace tweaks.
318 * cli/cli-interp.c: Tweak comments, per coding standard.
319
320 2005-01-13 Andrew Cagney <cagney@gnu.org>
321
322 * breakpoint.c (gdb_breakpoint_query): Update, use
323 catch_exceptions_with_msg.
324 (do_captured_breakpoint): Add uiout parameter.
325 (gdb_breakpoint): Update, use catch_exceptions_with_msg.
326 * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
327 gdb_thread_select. Return MI_CMD_ERROR instead of
328 MI_CMD_CAUGHT_ERROR.
329 (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
330 (enum captured_mi_execute_command_actions): Delete
331 EXECUTE_COMMAND_DISPLAY_ERROR.
332 (captured_mi_execute_command): Delete code handling
333 MI_CMD_CAUGHT_ERROR.
334 (mi_execute_command): Don't check for
335 EXECUTE_COMMAND_DISPLAY_ERROR.
336 * mi/mi-cmd-break.c (breakpoint_notify): Update call to
337 gdb_breakpoint_query.
338 (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
339 * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
340 * gdb.h (gdb_thread_select, gdb_list_thread_ids)
341 (gdb_breakpoint, gdb_breakpoint_query): Add error_message
342 parameter.
343 * thread.c (thread_command): Update call.
344 (gdb_thread_select, gdb_list_thread_ids): Update, call
345 catch_exceptions_with_msg.
346
347 * mi/mi-main.c (mi_execute_command): Use catch_exception,
348 eliminate call to error_last_message.
349 (captured_mi_execute_command): Change return type to void.
350
351 2005-01-12 Andrew Cagney <cagney@gnu.org>
352
353 * exceptions.c (exception_none): New variable.
354 * Makefile.in: Update dependencies.
355 * interps.c: Include "exceptions.h".
356 (interpreter_exec_cmd, interp_exec): Update to return "struct
357 exception"
358 * exceptions.h (no_exception): Declare.
359 * tui/tui-interp.c (tui_exec): Update to return "struct exception"
360 * mi/mi-interp.c: Include "exceptions.h".
361 (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
362 'struct exception".
363 * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
364 (do_captured_execute_command): Update to use catch_exception.
365 * interps.h: Include "exceptions.h".
366 (interp_exec_ftype, interp_exec): Return "struct exception".
367
368 * exceptions.h (throw_reason): Rename throw_exception.
369 (enum errors, struct exception): Define.
370 (catch_exception_ftype): Define.
371 (catch_exception, throw_exception): Declare.
372 * exceptions.c (throw_exception): Rewrite.
373 (throw_reason): New function.
374 (struct catcher, catcher_state_machine): Replace "reason" with
375 "exception", delete "gdberrmsg".
376 (catch_exception): New function.
377 (catcher_init): Replace "gdberrmsg" parameter with "exception".
378 (catch_errors, catch_exceptions_with_msg): Re-implement passing
379 exception to catcher_init.
380 * utils.c (error_silent, error_stream_1): Use throw_reason.
381 (internal_verror, quit): Ditto.
382 * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
383 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
384 * remote.c (remote_open_1, interrupt_query): Ditto.
385
386 2005-01-12 Mark Kettenis <kettenis@gnu.org>
387
388 * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
389 "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
390 (i386fbsd_jmp_buf_reg_offset): New variable.
391 (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
392 functions.
393 (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
394 * Makefile.in (i386fbsd-tdep.o): Update dependency.
395 * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
396
397 * bsd-uthread.h: New file.
398 * bsd-uthread.c: New file.
399 * Makefile.in (bsd_uthread_h): New variable.
400 (ALLDEPFILES): Add bsd-uthread.c.
401 (bsd-uthread.o): New dependency.
402
403 * solib.h Update copyright year.
404 (struct so_list): Forward declaration.
405 (solib_read_symbols): New prototype.
406 * solib.c (solib_read_symbols): New function.
407 (solib_add): Call solib_read_symbols to read in symbols.
408 (update_solib_list): Call observer_notify_solib_loaded.
409
410 * i386bsd-nat.c: Update copyright year. Don't include
411 <sys/param.h> and <sys/user.h>.
412 (register_u_addr, kernel_u_size): Remove functions.
413 * config/i386/obsd.mh (NAT_FILE): Remove.
414 * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
415 * config/i386/nm-obsd.h: Remove file.
416
417 2005-01-12 Andrew Cagney <cagney@gnu.org>
418
419 * exceptions.c: Include "gdb_string.h".
420 (enum catcher_state, struct catcher): Define.
421 (current_catcher): New global, replaces catch_return;
422 (catch_return): Delete.
423 (throw_exception): Use current_catcher->buf;
424 (catcher_init, catcher_pop, catcher_state_machine): New functions.
425 (catcher): Delete.
426 (struct catch_errors_args): Delete.
427 (do_catch_errors): Delete.
428 (catch_exceptions): Replace body with call to
429 catch_exceptions_with_msg.
430 (catcher): Delete.
431 (catch_exceptions_with_msg, catch_errors): Re-implement using
432 catcher_state_machine.
433
434 * exceptions.h (enum return_reason, RETURN_MASK)
435 (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
436 (return_mask, throw_exception, catch_exceptions_ftype)
437 (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
438 (catch_command_errors_ftype, catch_command_errors): Move to
439 exceptions.h.
440 * exceptions.c, exceptions.h: New files.
441 * top.c: Do not include <setjmp.h>.
442 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
443 (throw_exception, catcher, catch_exceptions)
444 (catch_exceptions_with_msg, struct catch_errors_args)
445 (do_catch_errors, catch_errors, struct captured_command_args)
446 (do_captured_command, catch_command_errors): Move to exceptions.c.
447 * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
448 * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
449 * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
450 * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
451 * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
452 * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
453 * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
454 * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
455 * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
456 * ada-valprint.c, ada-lang.c: Ditto.
457 * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
458 exceptions.o. Update all dependencies.
459
460 2005-01-11 Mark Kettenis <kettenis@gnu.org>
461
462 * config/i386/nm-fbsd.h: Update copyright year.
463 Don't include "config/nm-bsd.h".
464 (KERNEL_U_SIZE): Remove macro.
465 (kernel_u_size): Remove prototype.
466
467 * config/vax/nbsdaout.mh (NAT_FILE): Remove.
468 * config/vax/nm-nbsdaout.h: Remove file.
469
470 2005-01-10 Elena Zannoni <ezannoni@redhat.com>
471
472 * MAINTAINERS: Remove self from sh/sh64 maintainership.
473
474 2005-01-10 Andrew Cagney <cagney@gnu.org>
475
476 * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
477 changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
478 maintainer.
479
480 * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
481 changes to CRIS.
482
483 * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
484 COMMIT means can approve).
485
486 2005-01-10 Mark Kettenis <kettenis@gnu.org>
487
488 * vax-nat.c: Update copyright year. Include "inf-ptrace.h".
489 (vax_register_u_offset): Make statuc.
490 (_initialize_vax_nat): Construct and add target vector.
491 * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
492 inftarg.o. Add inf-ptrace.o.
493 * Makefile.in (vax-nat.o): Update dependencies.
494
495 * inf-ptrace.h: Update copyright year. Sync comment with
496 inf-ptrace.c.
497 (inf_ptrace_trad_target): New prototype.
498 * inf-ptrace.c: Update copyright year. Include "regcache.h" and
499 "gdb_assert.h"
500 (inf_ptrace_target): Add comment.
501 (inf_ptrace+register_u_offset): New variable.
502 (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
503 (inf_ptrace_store_register, inf_ptrace_store_registers)
504 (inf_ptrace_trad_target): New functions.
505 * Makefile.in (inf-ptrace.o): Update dependencies.
506
507 2005-01-09 Mark Kettenis <kettenis@gnu.org>
508
509 * configure.ac: Provide prerequisite headers when checking
510 <link.h>, <sys/proc.h> and <sys/user.h>.
511 * configure: Regenerate.
512
513 2005-01-08 Mark Kettenis <kettenis@gnu.org>
514
515 * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
516 tm-ppc-eabi.h instead of the removed tm-nbsd.h.
517
518 2005-01-07 Mark Kettenis <kettenis@gnu.org>
519
520 * config/ia64/tm-linux.h: Tweak comment. Update copyright year.
521 Don't include "tm-ia64.h".
522 * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
523 * config/ia64/tm-ia64.h: Remove. Move contents ...
524 * ia64-tdep.h: ... here. Update copyright year.
525
526 2005-01-07 Andrew Cagney <cagney@gnu.org>
527
528 * configure.ac: Rename configure.in, require autoconf 2.59.
529 * configure: Re-generate.
530
531 * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
532 xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
533 to configdirs.
534
535 * configure.in: Replace configdirs with multiple references to
536 AC_CONFIG_SUBDIRS.
537 * configure: Re-generate.
538
539 2005-01-05 Andreas Schwab <schwab@suse.de>
540
541 * ia64-tdep.c: Include "osabi.h".
542 (native_find_global_pointer): Delete.
543 (ia64_find_global_pointer): Renamed from
544 generic_elf_find_global_pointer.
545 (FIND_GLOBAL_POINTER): Delete. Change all users to call
546 ia64_find_global_pointer instead.
547 (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
548 to ia64_linux_sigcontext_register_address and
549 ia64_linux_write_pc. Don't set tdep->find_global_pointer.
550 (_initialize_ia64_tdep): Call gdbarch_register instead of
551 deprecated register_gdbarch_init.
552 (struct gdbarch_tdep): Remove find_global_pointer field and move
553 to ...
554 * ia64-tdep.h (struct gdbarch_tdep): ... here.
555 (ia64_linux_sigcontext_register_address): Remove declaration.
556 (ia64_linux_getunwind_table): Likewise.
557 (ia64_linux_write_pc): Likewise.
558 * ia64-linux-tdep.c: Include "osabi.h".
559 (ia64_linux_sigcontext_register_address): Make static.
560 (ia64_linux_write_pc): Likewise.
561 (ia64_linux_init_abi): New.
562 (_initialize_ia64_linux_tdep): New.
563 * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
564 $(osabi_h).
565
566 2005-01-05 Kevin Buettner <kevinb@redhat.com>
567
568 * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
569 functions in ia64-aix-tdep.c.
570 * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
571 function defined in ia64-aix-tdep.c.
572 * ia64-aix-tdep.c: Remove file.
573 * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
574 this list.
575 * Makefile.in (ia64-aix-tdep.o): Delete.
576
577 2005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
578
579 Committed by Andrew Cagney.
580 * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
581 * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
582 * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
583 * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
584 * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
585 * aix-thread.c (_initialize_aix_thread): Get rid of the
586 deprecated_add_show_from_set call.
587 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
588 * arm-tdep.c (_initialize_arm_tdep): Ditto.
589 * command.h (add_setshow_enum_cmd): Add arguments for returning
590 new list elements.
591 * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
592 * mips-tdep.c (_initialize_mips_tdep): Modify calls to
593 add_setshow_enum_cmd.
594
595 2005-01-04 Mark Kettenis <kettenis@gnu.org>
596
597 * configure.host (ia64-*-aix*): Remove.
598 * configure.tgt (ia64-*-aix*): Remove.
599 * config/ia64/aix.mh: Remove file.
600 * config/ia64/aix.mt: Remove file.
601 * config/ia64/tm-aix.h: Remove file.
602 * ia64-aix-nat.c: Remove file.
603 * Makefile.in (ia64-aix-nat.o): Remove dependency.
604
605 * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
606 Add back inf-ptrace.o.
607
608 2005-01-04 Andrew Cagney <cagney@gnu.org>
609
610 * version.in: Change format from 6.3.50_2005-01-04-cvs to
611 6.3.50.20050104-cvs.
612
613 2005-01-04 Andreas Schwab <schwab@suse.de>
614
615 * breakpoint.c (break_command_1): Always free err_msg before
616 returning when an exception was caught.
617
618 2005-01-01 Joel Brobecker <brobecker@gnat.com>
619
620 * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
621 in register number for addil instruction.
622
623 For older changes see ChangeLog-2004.
624 \f
625 Local Variables:
626 mode: change-log
627 left-margin: 8
628 fill-column: 74
629 version-control: never
630 End: