1 2005-01-24 Andrew Cagney <cagney@gnu.org>
3 * infrun.c (handle_inferior_event): Handle back-to-back and nested
4 signals where the step_resume_breakpoint may have already been
7 2005-01-24 Andrew Cagney <cagney@gnu.org>
9 * configure: Regenerate, ../gettext.m4 was updated.
11 2005-01-23 Mark Kettenis <kettenis@gnu.org>
13 * NEWS: Mention new BSD user-level threads support.
15 * i386obsd-tdep.c: Update copyright year. Include
17 (i386obsd_uthread_reg_offset): New variable.
18 (I386OBSD_UTHREAD_ESP_OFFSET): New define.
19 (i386obsd_supply_uthread, i386obsd_collect_uthread): New
21 (i386obsd_init_abi): Set supply_uthread and collect_uthread.
22 * Makefile.in (i386obsd-tdep.o): Update dependencies.
23 * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
25 2005-01-23 Christopher Faylor <cgf@timesys.com>
27 * win32-nat.c: Update copyright year.
28 (child_init_thread_list): Set thread linked list point to NULL so that
29 it won't be reused after clearing.
31 2005-01-21 Mark Kettenis <kettenis@gnu.org>
33 * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
35 * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
36 thread' has a td_pcb member and whether `struct reg' has r_fs and
38 * configure, config.in: Regenerate.
40 2005-01-21 Mark Kettenis <kettenis@gnu.org>
42 * configure.ac: Remove ia64-*-aix* junk.
43 * configure: Regenerate.
45 * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
46 and BFD_NEED_DECLARATION. Don't check if a declaration of strdup
48 * configure, config.in: Regenerate.
49 * utils.c: Adjust for usage of AC_CHECK_DECLS instead of
50 BFD_NEED_DECLARATION. Never provide a prototype for
51 caninicalize_file_name.
52 * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
55 * configure.ac (targ_archs): Use standard autoconf check for
56 "struct stat.st_blocks" instead of rolling our own.
57 * configure: Regenerated.
58 * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
59 * config.in: Regenerated.
61 2005-01-21 Mark Kettenis <kettenis@gnu.org>
63 * configure.ac: Modernize checks for `long long' and `long double'
65 * configure: Regenerated.
66 * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
67 (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
68 * config.in: Regenerated.
70 2005-01-20 Mark Kettenis <kettenis@gnu.org>
72 * acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
73 (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
74 * configure.ac: Remove checks for HP-UX save_state structure.
75 * configure: Regenerated.
77 2005-01-19 Andrew Cagney <cagney@gnu.org>
79 * utils.c (quit): Simplify, call fatal.
80 * exceptions.c: Include "serial.h"
81 (print_flush): Mimic flush code found in utils.c:quit.
82 * Makefile.in: Update dependencies.
84 2005-01-19 Jim Blandy <jimb@redhat.com>
86 * configure.tgt: Set build_rdi_share to "yes" on those targets
87 that use that debugging protocol.
88 Set build_nlm to yes to build NLM stub for Netware targets.
89 * configure.ac: If build_rdi_share is "yes", then configure the
90 rdi-share subdirectory.
91 If build_nlm is "yes", the configure the "nlm" subdirectory.
92 * configure: Regenerated.
94 * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
95 autoconf 2.59 and automake 1.9.3.
97 2005-01-19 Andrew Cagney <cagney@gnu.org>
99 * exceptions.h (deprecated_throw_reason): Rename throw_reason.
100 * exceptions.c (deprecated_throw_reason): Rename throw_reason.
101 * utils.c (internal_verror, quit): Update.
102 * remote-sds.c (interrupt_query): Update.
103 * remote-mips.c (mips_error, mips_kill): Update.
104 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
105 * remote.c (interrupt_query): Update.
106 * ocd.c (interrupt_query): Update.
107 * nto-procfs.c (interrupt_query): Update.
108 * monitor.c (monitor_interrupt_query): Update.
109 * breakpoint.c (break_command_1): Update.
111 * infrun.c: (resume, proceed, wait_for_inferior)
112 (handle_inferior_event, stop_stepping)
113 (prepare_to_wait): Write debug output to gdb_stdlog.
115 2005-01-19 Mark Kettenis <kettenis@gnu.org>
117 * inf-ptrace.c (inf_ptrace_prepare_to_store)
118 (inf_ptrace_post_startup_inferior)
119 (inf_ptrace_acknowledge_created_inferior)
120 (inf_ptrace_insert_fork_catchpoint)
121 (inf_ptrace_remove_fork_catchpoint)
122 (inf_ptrace_insert_vfork_catchpoint):
123 (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
124 (inf_ptrace_insert_exec_catchpoint)
125 (inf_ptrace_remove_exec_catchpoint): Remove functions.
126 (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
127 (inf_ptrace_target): Don't set to_prepare_to_store,
128 to_post_startup_inferior, to_acknowledge_created_inferior,
129 to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
130 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
131 to_follow_fork, to_insert_exec_catchpoint,
132 to_remove_exec_catchpoint.
134 2005-01-18 Andrew Cagney <cagney@gnu.org>
136 * target.h (struct target_ops): Change return type of
137 to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
138 to_insert_exec_catchpoint to void.
139 (child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
140 (child_insert_exec_catchpoint): Change return type to void.
141 * target.c (update_current_target): Update.
142 (debug_to_insert_fork_catchpoint)
143 (debug_to_insert_vfork_catchpoint)
144 (debug_to_insert_exec_catchpoint): Update.
145 * inf-child.c (inf_child_insert_fork_catchpoint)
146 (inf_child_insert_vfork_catchpoint)
147 (inf_child_insert_exec_catchpoint): Update.
148 * breakpoint.c (insert_catchpoint): Update, do not throw an error.
149 * linux-nat.c (child_insert_fork_catchpoint)
150 (child_insert_vfork_catchpoint)
151 (child_insert_exec_catchpoint): Update.
152 * inftarg.c (child_insert_fork_catchpoint)
153 (child_insert_vfork_catchpoint,)
154 (child_insert_exec_catchpoint): Update.
156 * remote.c (remote_open_1): Use throw_exception.
158 2005-01-17 Michael Snyder <msnyder@redhat.com>
160 * mips-linux-tdep.c: Whitespace tweaks.
162 2005-01-17 Corinna Vinschen <vinschen@redhat.com>
164 * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
166 2005-01-17 Andrew Cagney <cagney@gnu.org>
168 * top.h (source_error, source_pre_error): Delete declaration.
169 * cli/cli-script.c (source_error_allocated, source_error): Delete.
170 (script_from_file, source_cleanup_lines): Do not manipulate
171 source_error_allocated, error_pre_print and source_error.
172 (struct source_cleanup_lines_args): Delete fields old_pre_error,
173 and old_error_pre_print.
174 * top.c (source_error_allocated, source_error)
175 (source_pre_error): Delete.
176 (command_line_input): Do not set error_pre_print.
177 * event-top.c (command_line_handler): Do not set error_pre_print.
179 2005-01-16 Jason Thorpe <thorpej@netbsd.org>
181 * MAINTAINERS: Update my email address.
183 2005-01-16 Mark Kettenis <kettenis@gnu.org>
185 * configure.ac: Provide prerequisite headers when checking
187 * configure: Regenerate.
189 * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
191 (amd64fbsd_jmp_buf_reg_offset): New variable.
192 (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
194 (amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
195 * i386fbsd-tdep.c: Fix typo.
196 * Makefile.in (amd64fbsd-tdep.o): Update dependencies.
197 * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
199 2005-01-16 Andrew Cagney <cagney@gnu.org>
201 * cli/cli-script.c: Include "exceptions.h".
202 (struct wrapped_read_command_file_args): Define.
203 (wrapped_read_command_file): New function.
204 (script_from_file): Replace direct call to read_command_file by
205 one wrapped by an exception handler.
206 * exceptions.c (throw_it): Free the old message after creating the
208 * Makefile.in: Update dependencies.
210 2005-01-16 Mark Kettenis <kettenis@gnu.org>
212 * sparc64fbsd-tdep.c: Update copyright year.
213 (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
215 (sparc64fbsd_init_abi): Create register sets with collect
218 * sparc64fbsd-nat.c: Include "fbsd-nat.h".
219 (_initialize_sparc64fbsd_nat): Add some extra features to the
220 generic SPARC target.
221 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
222 * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
223 (NAT_FILE): Set to solib.h.
224 * config/sparc/nm-fbsd.h: Remove file.
226 * sparc64-tdep.c (sparc64_store_arguments): Fix typo.
228 * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
230 2005-01-16 Andrew Cagney <cagney@gnu.org>
232 * exceptions.c (struct catcher): Delete saved_error_pre_print and
233 saved_quit_pre_print.
234 (catcher_init): Delete parameter errstring, do not override the
236 (catcher_pop): Do not restore the pre_print strings.
237 (catch_exception, catch_exceptions_with_msg, catch_errors)
238 (catch_command_errors): Update catch_init calls.
240 2005-01-16 Mark Kettenis <kettenis@gnu.org>
242 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
243 * sparc64fbsd-nat.c: Update copyright year. Include "target.h".
245 2005-01-15 Andrew Cagney <cagney@gnu.org>
247 * acinclude.m4: Include ../bfd/bfd.m4 instead of
248 ../bfd/acinclude.m4. Include ../gettext.m4.
249 * aclocal.m4, configure: Re-generate.
251 * exceptions.c (do_captured_command)
252 (struct captured_command_args): Delete.
253 (catch_command_errors): Simplify by inlining call to catch_errors.
255 * exceptions.c (struct catcher): Delete field print_message.
256 (catcher_init): Delete print_message parameter.
257 (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
258 (throw_it): Delete prefix parameter.
259 (throw_verror, throw_vfatal, throw_error): Update.
261 2005-01-14 Andrew Cagney <cagney@gnu.org>
263 * exceptions.c (print_and_throw): Delete, replaced by throw_it.
264 (throw_reason): Leave the exception's message field blank.
265 (throw_it): New function, create the exception and throw it.
266 (throw_verror, throw_vfatal, throw_error): Call throw_it.
267 (print_any_exception): New function.
268 (catch_errors, catch_exceptions_with_msg): Call
270 (throw_exception): Move code calling annotate_error and
271 annotate_quit from here ...
272 (print_exception): ... to here.
274 * exceptions.c (exception_fprintf, exception_print): Move printing
276 (print_exception): ... to here.
277 (print_flush): New function.
278 (exception_print, exception_fprintf): Replace duplicated flush and
279 wrap code with call to print_flush.
280 (print_and_throw): Simplify, by using xstrvprintf, print_flush,
284 * remote-sds.c (interrupt_query): Call throw_reason instead of
286 * remote-mips.c (mips_error, mips_kill): Ditto
287 * ocd.c (interrupt_query): Ditto.
288 * nto-procfs.c (interrupt_query): Ditto.
289 * monitor.c (monitor_interrupt_query): Ditto.
291 2005-01-14 Jeff Johnston <jjohnstn@redhat.com>
293 * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
295 2005-01-14 Andrew Cagney <cagney@gnu.org>
297 * exceptions.h (catch_exceptions): Delete errstring parameter.
298 (catch_exceptions_with_msg): Ditto.
299 * exceptions.c (catch_exceptions_with_msg): Update.
300 (catch_exceptions): Update.
301 * symfile-mem.c (add_vsyscall_page): Update.
302 * frame.c (get_current_frame): Update.
303 * wrapper.c (gdb_value_struct_elt): Update.
304 * exceptions.c (catch_exceptions): Update.
305 * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
306 * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
307 * remote-fileio.c (remote_fileio_request): Update.
309 * exceptions.h (exception_fprintf): Declare.
310 (exception_print): Drop pre_print parameter.
311 * mi/mi-main.c (mi_execute_command): Update exception_print call.
312 * cli/cli-interp.c (safe_execute_command): Update exception_print
314 * remote.c (remote_open_1): Instead of passing an error prefix to
315 catch_exceptions, use catch_exceptions and exception_fprintf.
316 (remote_start_remote): Change return type to void.
317 * breakpoint.c (insert_bp_location): Instead of passing an error
318 prefix to catch_exceptions, use catch_exceptions and
320 (insert_catchpoint): Change return type to void.
321 (break_command_1): Update exception_print call.
322 * exceptions.c (exception_fprintf): New function.
323 (print_exception): New function.
324 (exception_print): Use print_exception.
326 * utils.c (error_output_message): Delete function.
327 * defs.h (error_output_message): Delete declaration.
329 * linespec.c (symtab_from_filename, decode_variable): Use
330 throw_error instead of error_silent.
331 * breakpoint.c (do_captured_parse_breakpoint): Change return type
333 (break_command_1): Use catch_exception and check the error return
335 * exceptions.c (throw_error): New function.
336 (throw_vsilent): Delete function.
337 * exceptions.h (throw_error): Declare.
338 (throw_vsilent): Delete declaration.
339 * utils.c (error_silent): Delete function.
340 * defs.h (error_silent): Delete declaration.
342 * mi/mi-main.c (mi_execute_command): Print the exception.
343 * cli/cli-interp.c (safe_execute_command): Print the exception.
344 * exceptions.h (exception_print): Declare.
345 * exceptions.c (struct catcher): Add field print_message.
346 (catcher_init): Add parameter print_message, store in the catcher
348 (print_and_throw): Only print the message when print_message.
349 (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
351 (catch_exception): Pass print_message=0 to catcher_init.
353 * varobj.c (varobj_create): Add missing \n.
355 2005-01-13 Michael Snyder <msnyder@redhat.com>
357 * cli/cli-decode.h: Whitespace tweaks.
358 * wince.c: Whitespace tweaks.
359 * uw-thread.c: Whitespace tweaks.
360 * utils.c: Whitespace tweaks.
361 * tracepoint.[ch]: Whitespace tweaks.
362 * solist.h: Whitespace tweaks.
364 2005-01-13 Andrew Cagney <cagney@gnu.org>
366 * exceptions.h (struct exception): Make message const.
367 * mi/mi-main.c (mi_execute_command): Pass result.message directly
368 to fputstr_unfiltered.
370 2005-01-13 Michael Snyder <msnyder@redhat.com>
372 * stack.c: Whitespace tweaks.
373 * somsolib.[ch]: Whitespace tweaks.
374 * solib-aix.c: Whitespace tweaks.
375 * solib.c: Whitespace tweaks.
376 * solib-frv.c: Whitespace tweaks.
377 * solib.h: Whitespace tweaks.
378 * solib-irix.c: Whitespace tweaks.
379 * solib-som.c: Whitespace tweaks.
380 * solib-sunos.c: Whitespace tweaks.
381 * solib-svr4.[ch]: Whitespace tweaks.
382 * ser-tcp.c: Whitespace tweaks.
383 * ser-unix.c: Whitespace tweaks.
384 * serial.h: Whitespace tweaks.
385 * scm-valprint.c: Whitespace tweaks.
386 * rs6000-tdep.c: Whitespace tweaks.
387 * rs6000-nat.c: Whitespace tweaks.
388 * remote.c: Whitespace tweaks.
390 2005-01-13 Andrew Cagney <cagney@gnu.org>
392 * defs.h (error_last_message, error_init): Delete declaration.
393 * utils.c (fatal, vfatal): Call throw_vfatal.
394 (error, verror): Call throw_verror;
395 (do_write, error_stream_1): Delete function.
396 (error_stream): Simplify, call error.
397 (error_last_message, error_init, gdb_lasterr): Delete.
398 (error_silent): Simplify, call throw_vsilent.
399 * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
400 * main.c (captured_main): Delete call to error_init.
401 * exceptions.c (throw_verror, throw_verror)
402 (throw_vsilent): New functions.
403 (do_write, print_and_throw): New functions.
404 (last_message): New global.
405 (throw_reason): Replace error_last_message with last_message.
406 (catch_exceptions_with_msg): Dup the message.
407 * exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
410 2005-01-13 Michael Snyder <msnyder@redhat.com>
412 * remote-st.c: Whitespace tweaks.
413 * remote-sim.c: Whitespace tweaks.
414 * remote-mips.c: Whitespace tweaks.
415 * pa64solib.[ch]: Whitespace tweaks.
416 * mdebugread.c: Whitespace tweaks.
417 * main.c: Whitespace tweaks.
418 * interps.c: Whitespace tweaks.
419 * infrun.c: Whitespace tweaks.
420 * infcmd.c: Whitespace tweaks.
421 * hpux-thread.c: Whitespace tweaks.
422 * hppa-hpux-tdep.c: Whitespace tweaks.
423 * gdbcore.h: Whitespace tweaks.
424 * gdbcmd.h: Whitespace tweaks.
425 * gdb-events[.c, .h, .sh]: Whitespace tweaks.
426 * corefile.c: Whitespace tweaks.
427 * completer.c: Whitespace tweaks.
428 * coff-solib.c: Whitespace tweaks.
429 * coff-solib.h: Whitespace tweaks.
430 * cli-out.c: Whitespace tweaks.
431 * breakpoint.c: Whitespace tweaks.
432 * cli/cli-interp.c: Tweak comments, per coding standard.
434 2005-01-13 Andrew Cagney <cagney@gnu.org>
436 * breakpoint.c (gdb_breakpoint_query): Update, use
437 catch_exceptions_with_msg.
438 (do_captured_breakpoint): Add uiout parameter.
439 (gdb_breakpoint): Update, use catch_exceptions_with_msg.
440 * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
441 gdb_thread_select. Return MI_CMD_ERROR instead of
443 (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
444 (enum captured_mi_execute_command_actions): Delete
445 EXECUTE_COMMAND_DISPLAY_ERROR.
446 (captured_mi_execute_command): Delete code handling
448 (mi_execute_command): Don't check for
449 EXECUTE_COMMAND_DISPLAY_ERROR.
450 * mi/mi-cmd-break.c (breakpoint_notify): Update call to
451 gdb_breakpoint_query.
452 (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
453 * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
454 * gdb.h (gdb_thread_select, gdb_list_thread_ids)
455 (gdb_breakpoint, gdb_breakpoint_query): Add error_message
457 * thread.c (thread_command): Update call.
458 (gdb_thread_select, gdb_list_thread_ids): Update, call
459 catch_exceptions_with_msg.
461 * mi/mi-main.c (mi_execute_command): Use catch_exception,
462 eliminate call to error_last_message.
463 (captured_mi_execute_command): Change return type to void.
465 2005-01-12 Andrew Cagney <cagney@gnu.org>
467 * exceptions.c (exception_none): New variable.
468 * Makefile.in: Update dependencies.
469 * interps.c: Include "exceptions.h".
470 (interpreter_exec_cmd, interp_exec): Update to return "struct
472 * exceptions.h (no_exception): Declare.
473 * tui/tui-interp.c (tui_exec): Update to return "struct exception"
474 * mi/mi-interp.c: Include "exceptions.h".
475 (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
477 * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
478 (do_captured_execute_command): Update to use catch_exception.
479 * interps.h: Include "exceptions.h".
480 (interp_exec_ftype, interp_exec): Return "struct exception".
482 * exceptions.h (throw_reason): Rename throw_exception.
483 (enum errors, struct exception): Define.
484 (catch_exception_ftype): Define.
485 (catch_exception, throw_exception): Declare.
486 * exceptions.c (throw_exception): Rewrite.
487 (throw_reason): New function.
488 (struct catcher, catcher_state_machine): Replace "reason" with
489 "exception", delete "gdberrmsg".
490 (catch_exception): New function.
491 (catcher_init): Replace "gdberrmsg" parameter with "exception".
492 (catch_errors, catch_exceptions_with_msg): Re-implement passing
493 exception to catcher_init.
494 * utils.c (error_silent, error_stream_1): Use throw_reason.
495 (internal_verror, quit): Ditto.
496 * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
497 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
498 * remote.c (remote_open_1, interrupt_query): Ditto.
500 2005-01-12 Mark Kettenis <kettenis@gnu.org>
502 * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
503 "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
504 (i386fbsd_jmp_buf_reg_offset): New variable.
505 (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
507 (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
508 * Makefile.in (i386fbsd-tdep.o): Update dependency.
509 * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
511 * bsd-uthread.h: New file.
512 * bsd-uthread.c: New file.
513 * Makefile.in (bsd_uthread_h): New variable.
514 (ALLDEPFILES): Add bsd-uthread.c.
515 (bsd-uthread.o): New dependency.
517 * solib.h Update copyright year.
518 (struct so_list): Forward declaration.
519 (solib_read_symbols): New prototype.
520 * solib.c (solib_read_symbols): New function.
521 (solib_add): Call solib_read_symbols to read in symbols.
522 (update_solib_list): Call observer_notify_solib_loaded.
524 * i386bsd-nat.c: Update copyright year. Don't include
525 <sys/param.h> and <sys/user.h>.
526 (register_u_addr, kernel_u_size): Remove functions.
527 * config/i386/obsd.mh (NAT_FILE): Remove.
528 * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
529 * config/i386/nm-obsd.h: Remove file.
531 2005-01-12 Andrew Cagney <cagney@gnu.org>
533 * exceptions.c: Include "gdb_string.h".
534 (enum catcher_state, struct catcher): Define.
535 (current_catcher): New global, replaces catch_return;
536 (catch_return): Delete.
537 (throw_exception): Use current_catcher->buf;
538 (catcher_init, catcher_pop, catcher_state_machine): New functions.
540 (struct catch_errors_args): Delete.
541 (do_catch_errors): Delete.
542 (catch_exceptions): Replace body with call to
543 catch_exceptions_with_msg.
545 (catch_exceptions_with_msg, catch_errors): Re-implement using
546 catcher_state_machine.
548 * exceptions.h (enum return_reason, RETURN_MASK)
549 (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
550 (return_mask, throw_exception, catch_exceptions_ftype)
551 (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
552 (catch_command_errors_ftype, catch_command_errors): Move to
554 * exceptions.c, exceptions.h: New files.
555 * top.c: Do not include <setjmp.h>.
556 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
557 (throw_exception, catcher, catch_exceptions)
558 (catch_exceptions_with_msg, struct catch_errors_args)
559 (do_catch_errors, catch_errors, struct captured_command_args)
560 (do_captured_command, catch_command_errors): Move to exceptions.c.
561 * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
562 * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
563 * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
564 * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
565 * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
566 * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
567 * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
568 * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
569 * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
570 * ada-valprint.c, ada-lang.c: Ditto.
571 * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
572 exceptions.o. Update all dependencies.
574 2005-01-11 Mark Kettenis <kettenis@gnu.org>
576 * config/i386/nm-fbsd.h: Update copyright year.
577 Don't include "config/nm-bsd.h".
578 (KERNEL_U_SIZE): Remove macro.
579 (kernel_u_size): Remove prototype.
581 * config/vax/nbsdaout.mh (NAT_FILE): Remove.
582 * config/vax/nm-nbsdaout.h: Remove file.
584 2005-01-10 Elena Zannoni <ezannoni@redhat.com>
586 * MAINTAINERS: Remove self from sh/sh64 maintainership.
588 2005-01-10 Andrew Cagney <cagney@gnu.org>
590 * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
591 changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
594 * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
597 * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
598 COMMIT means can approve).
600 2005-01-10 Mark Kettenis <kettenis@gnu.org>
602 * vax-nat.c: Update copyright year. Include "inf-ptrace.h".
603 (vax_register_u_offset): Make statuc.
604 (_initialize_vax_nat): Construct and add target vector.
605 * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
606 inftarg.o. Add inf-ptrace.o.
607 * Makefile.in (vax-nat.o): Update dependencies.
609 * inf-ptrace.h: Update copyright year. Sync comment with
611 (inf_ptrace_trad_target): New prototype.
612 * inf-ptrace.c: Update copyright year. Include "regcache.h" and
614 (inf_ptrace_target): Add comment.
615 (inf_ptrace+register_u_offset): New variable.
616 (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
617 (inf_ptrace_store_register, inf_ptrace_store_registers)
618 (inf_ptrace_trad_target): New functions.
619 * Makefile.in (inf-ptrace.o): Update dependencies.
621 2005-01-09 Mark Kettenis <kettenis@gnu.org>
623 * configure.ac: Provide prerequisite headers when checking
624 <link.h>, <sys/proc.h> and <sys/user.h>.
625 * configure: Regenerate.
627 2005-01-08 Mark Kettenis <kettenis@gnu.org>
629 * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
630 tm-ppc-eabi.h instead of the removed tm-nbsd.h.
632 2005-01-07 Mark Kettenis <kettenis@gnu.org>
634 * config/ia64/tm-linux.h: Tweak comment. Update copyright year.
635 Don't include "tm-ia64.h".
636 * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
637 * config/ia64/tm-ia64.h: Remove. Move contents ...
638 * ia64-tdep.h: ... here. Update copyright year.
640 2005-01-07 Andrew Cagney <cagney@gnu.org>
642 * configure.ac: Rename configure.in, require autoconf 2.59.
643 * configure: Re-generate.
645 * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
646 xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
649 * configure.in: Replace configdirs with multiple references to
651 * configure: Re-generate.
653 2005-01-05 Andreas Schwab <schwab@suse.de>
655 * ia64-tdep.c: Include "osabi.h".
656 (native_find_global_pointer): Delete.
657 (ia64_find_global_pointer): Renamed from
658 generic_elf_find_global_pointer.
659 (FIND_GLOBAL_POINTER): Delete. Change all users to call
660 ia64_find_global_pointer instead.
661 (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
662 to ia64_linux_sigcontext_register_address and
663 ia64_linux_write_pc. Don't set tdep->find_global_pointer.
664 (_initialize_ia64_tdep): Call gdbarch_register instead of
665 deprecated register_gdbarch_init.
666 (struct gdbarch_tdep): Remove find_global_pointer field and move
668 * ia64-tdep.h (struct gdbarch_tdep): ... here.
669 (ia64_linux_sigcontext_register_address): Remove declaration.
670 (ia64_linux_getunwind_table): Likewise.
671 (ia64_linux_write_pc): Likewise.
672 * ia64-linux-tdep.c: Include "osabi.h".
673 (ia64_linux_sigcontext_register_address): Make static.
674 (ia64_linux_write_pc): Likewise.
675 (ia64_linux_init_abi): New.
676 (_initialize_ia64_linux_tdep): New.
677 * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
680 2005-01-05 Kevin Buettner <kevinb@redhat.com>
682 * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
683 functions in ia64-aix-tdep.c.
684 * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
685 function defined in ia64-aix-tdep.c.
686 * ia64-aix-tdep.c: Remove file.
687 * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
689 * Makefile.in (ia64-aix-tdep.o): Delete.
691 2005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
693 Committed by Andrew Cagney.
694 * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
695 * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
696 * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
697 * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
698 * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
699 * aix-thread.c (_initialize_aix_thread): Get rid of the
700 deprecated_add_show_from_set call.
701 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
702 * arm-tdep.c (_initialize_arm_tdep): Ditto.
703 * command.h (add_setshow_enum_cmd): Add arguments for returning
705 * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
706 * mips-tdep.c (_initialize_mips_tdep): Modify calls to
707 add_setshow_enum_cmd.
709 2005-01-04 Mark Kettenis <kettenis@gnu.org>
711 * configure.host (ia64-*-aix*): Remove.
712 * configure.tgt (ia64-*-aix*): Remove.
713 * config/ia64/aix.mh: Remove file.
714 * config/ia64/aix.mt: Remove file.
715 * config/ia64/tm-aix.h: Remove file.
716 * ia64-aix-nat.c: Remove file.
717 * Makefile.in (ia64-aix-nat.o): Remove dependency.
719 * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
720 Add back inf-ptrace.o.
722 2005-01-04 Andrew Cagney <cagney@gnu.org>
724 * version.in: Change format from 6.3.50_2005-01-04-cvs to
727 2005-01-04 Andreas Schwab <schwab@suse.de>
729 * breakpoint.c (break_command_1): Always free err_msg before
730 returning when an exception was caught.
732 2005-01-01 Joel Brobecker <brobecker@gnat.com>
734 * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
735 in register number for addil instruction.
737 For older changes see ChangeLog-2004.
743 version-control: never