3 * doublest.c (floatformat_is_negative, floatformat_is_nan)
4 (floatformat_mantissa, get_field): Make the buffer a const
9 * value.h (struct value): Change type of contents to bfd_byte.
10 (VALUE_CONTENTS_RAW): Simplify.
12 * gdbarch.sh (integer_to_address): Change buf parameter to a const
13 bfd_byte, make pure-multi-arch.
14 * gdbarch.h, gdbarch.c: Regenerate.
15 * mips-tdep.c (mips_integer_to_address): Update.
16 * value.c (value_as_address): Update.
18 * cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
19 * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
20 parameters const, change buf to a const bfd_byte.
21 (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
24 * corefile.c (write_memory): Update, make a copy of the read-only
26 * target.c (target_read_memory): Update.
27 (target_write_memory): Update, make a copy of the read-only
29 * gdbcore.h (write_memory): Change buffer type to bfd_byte, make
31 * target.h (target_read_memory, target_write_memory): Change
32 buffer type to bfd_byte; for write_memory, make it const.
33 * symfile-mem.c (do_target_read_memory): New function.
34 (symbol_file_add_from_memory): Pass do_target_read_memory to
35 bfd_elf_bfd_from_remote_memory.
37 * value.h: Indent using gdb_indent.sh.
39 * configure: Regenerate to track ../gettext.m4 change.
43 * rs6000-tdep.c: Include "reggroups.h".
44 (rs6000_gdbarch_init): Set register_reggroup_p.
45 (rs6000_register_reggroup_p): New function.
49 * cris-tdep.c (enum cris_num_regs, enum cris_regnums)
50 (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
52 (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
53 (cris_region_ok_for_watchpoint, cris_stopped_data_address)
54 (crisv32_cannot_fetch_register, crisv32_cannot_store_register)
55 (crisv32_register_type, cris_special_register_name)
56 (crisv32_register_name): New functions.
57 (cris_spec_reg_applicable): Recognize more versions.
58 (cris_register_name): Update with call to cris_special_register_name.
59 (find_cris_op): Filter out CRISv32 instructions. Tweaked comment and
60 warning when unable to find step target.
61 (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
62 (supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for
64 (fetch_core_registers): Update for CRISv32.
65 (cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
66 register_name, cannot_store_register, cannot_fetch_register,
67 have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
71 * interps.c (interpreter_exec_cmd): Use condition,
72 e.reason < 0, to raise an error.
76 * ppc-linux-tdep.c: Include "tramp-frame.h"
77 (struct ppc_linux_sigtramp_cache)
78 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
79 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
80 (ppc_linux_sigtramp_cache): Delete.
81 (ppc32_linux_sigaction_cache_init)
82 (ppc64_linux_sigaction_cache_init)
83 (ppc32_linux_sighandler_cache_init)
84 (ppc64_linux_sighandler_cache_init)
85 (ppc32_linux_sigaction_tramp_frame)
86 (ppc64_linux_sigaction_tramp_frame)
87 (ppc32_linux_sighandler_tramp_frame)
88 (ppc64_linux_sighandler_tramp_frame)
89 (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
90 64-bit, sigaction and siginfo tramp-frame unwinders.
92 * ppc-linux-tdep.c (ppc_linux_init_abi): Always set
97 * infrun.c (handle_inferior_event): Handle back-to-back and nested
98 signals where the step_resume_breakpoint may have already been
103 * configure: Regenerate, ../gettext.m4 was updated.
107 * NEWS: Mention new BSD user-level threads support.
109 * i386obsd-tdep.c: Update copyright year. Include
111 (i386obsd_uthread_reg_offset): New variable.
112 (I386OBSD_UTHREAD_ESP_OFFSET): New define.
113 (i386obsd_supply_uthread, i386obsd_collect_uthread): New
115 (i386obsd_init_abi): Set supply_uthread and collect_uthread.
116 * Makefile.in (i386obsd-tdep.o): Update dependencies.
117 * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
121 * win32-nat.c: Update copyright year.
122 (child_init_thread_list): Set thread linked list point to NULL so that
123 it won't be reused after clearing.
127 * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
129 * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
130 thread' has a td_pcb member and whether `struct reg' has r_fs and
132 * configure, config.in: Regenerate.
136 * configure.ac: Remove ia64-*-aix* junk.
137 * configure: Regenerate.
139 * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
140 and BFD_NEED_DECLARATION. Don't check if a declaration of strdup
142 * configure, config.in: Regenerate.
143 * utils.c: Adjust for usage of AC_CHECK_DECLS instead of
144 BFD_NEED_DECLARATION. Never provide a prototype for
145 caninicalize_file_name.
146 * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
147 BFD_NEED_DECLARATION.
149 * configure.ac (targ_archs): Use standard autoconf check for
150 "struct stat.st_blocks" instead of rolling our own.
151 * configure: Regenerated.
152 * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
153 * config.in: Regenerated.
157 * configure.ac: Modernize checks for `long long' and `long double'
159 * configure: Regenerated.
160 * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
161 (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
162 * config.in: Regenerated.
166 * acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
167 (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
168 * configure.ac: Remove checks for HP-UX save_state structure.
169 * configure: Regenerated.
173 * utils.c (quit): Simplify, call fatal.
174 * exceptions.c: Include "serial.h"
175 (print_flush): Mimic flush code found in utils.c:quit.
176 * Makefile.in: Update dependencies.
180 * configure.tgt: Set build_rdi_share to "yes" on those targets
181 that use that debugging protocol.
182 Set build_nlm to yes to build NLM stub for Netware targets.
183 * configure.ac: If build_rdi_share is "yes", then configure the
184 rdi-share subdirectory.
185 If build_nlm is "yes", the configure the "nlm" subdirectory.
186 * configure: Regenerated.
188 * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
189 autoconf 2.59 and automake 1.9.3.
193 * exceptions.h (deprecated_throw_reason): Rename throw_reason.
194 * exceptions.c (deprecated_throw_reason): Rename throw_reason.
195 * utils.c (internal_verror, quit): Update.
196 * remote-sds.c (interrupt_query): Update.
197 * remote-mips.c (mips_error, mips_kill): Update.
198 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
199 * remote.c (interrupt_query): Update.
200 * ocd.c (interrupt_query): Update.
201 * nto-procfs.c (interrupt_query): Update.
202 * monitor.c (monitor_interrupt_query): Update.
203 * breakpoint.c (break_command_1): Update.
205 * infrun.c: (resume, proceed, wait_for_inferior)
206 (handle_inferior_event, stop_stepping)
207 (prepare_to_wait): Write debug output to gdb_stdlog.
211 * inf-ptrace.c (inf_ptrace_prepare_to_store)
212 (inf_ptrace_post_startup_inferior)
213 (inf_ptrace_acknowledge_created_inferior)
214 (inf_ptrace_insert_fork_catchpoint)
215 (inf_ptrace_remove_fork_catchpoint)
216 (inf_ptrace_insert_vfork_catchpoint):
217 (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
218 (inf_ptrace_insert_exec_catchpoint)
219 (inf_ptrace_remove_exec_catchpoint): Remove functions.
220 (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
221 (inf_ptrace_target): Don't set to_prepare_to_store,
222 to_post_startup_inferior, to_acknowledge_created_inferior,
223 to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
224 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
225 to_follow_fork, to_insert_exec_catchpoint,
226 to_remove_exec_catchpoint.
230 * target.h (struct target_ops): Change return type of
231 to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
232 to_insert_exec_catchpoint to void.
233 (child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
234 (child_insert_exec_catchpoint): Change return type to void.
235 * target.c (update_current_target): Update.
236 (debug_to_insert_fork_catchpoint)
237 (debug_to_insert_vfork_catchpoint)
238 (debug_to_insert_exec_catchpoint): Update.
239 * inf-child.c (inf_child_insert_fork_catchpoint)
240 (inf_child_insert_vfork_catchpoint)
241 (inf_child_insert_exec_catchpoint): Update.
242 * breakpoint.c (insert_catchpoint): Update, do not throw an error.
243 * linux-nat.c (child_insert_fork_catchpoint)
244 (child_insert_vfork_catchpoint)
245 (child_insert_exec_catchpoint): Update.
246 * inftarg.c (child_insert_fork_catchpoint)
247 (child_insert_vfork_catchpoint,)
248 (child_insert_exec_catchpoint): Update.
250 * remote.c (remote_open_1): Use throw_exception.
254 * mips-linux-tdep.c: Whitespace tweaks.
258 * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
262 * top.h (source_error, source_pre_error): Delete declaration.
263 * cli/cli-script.c (source_error_allocated, source_error): Delete.
264 (script_from_file, source_cleanup_lines): Do not manipulate
265 source_error_allocated, error_pre_print and source_error.
266 (struct source_cleanup_lines_args): Delete fields old_pre_error,
267 and old_error_pre_print.
268 * top.c (source_error_allocated, source_error)
269 (source_pre_error): Delete.
270 (command_line_input): Do not set error_pre_print.
271 * event-top.c (command_line_handler): Do not set error_pre_print.
275 * MAINTAINERS: Update my email address.
279 * configure.ac: Provide prerequisite headers when checking
281 * configure: Regenerate.
283 * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
285 (amd64fbsd_jmp_buf_reg_offset): New variable.
286 (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
288 (amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
289 * i386fbsd-tdep.c: Fix typo.
290 * Makefile.in (amd64fbsd-tdep.o): Update dependencies.
291 * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
295 * cli/cli-script.c: Include "exceptions.h".
296 (struct wrapped_read_command_file_args): Define.
297 (wrapped_read_command_file): New function.
298 (script_from_file): Replace direct call to read_command_file by
299 one wrapped by an exception handler.
300 * exceptions.c (throw_it): Free the old message after creating the
302 * Makefile.in: Update dependencies.
306 * sparc64fbsd-tdep.c: Update copyright year.
307 (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
309 (sparc64fbsd_init_abi): Create register sets with collect
312 * sparc64fbsd-nat.c: Include "fbsd-nat.h".
313 (_initialize_sparc64fbsd_nat): Add some extra features to the
314 generic SPARC target.
315 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
316 * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
317 (NAT_FILE): Set to solib.h.
318 * config/sparc/nm-fbsd.h: Remove file.
320 * sparc64-tdep.c (sparc64_store_arguments): Fix typo.
322 * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
326 * exceptions.c (struct catcher): Delete saved_error_pre_print and
327 saved_quit_pre_print.
328 (catcher_init): Delete parameter errstring, do not override the
330 (catcher_pop): Do not restore the pre_print strings.
331 (catch_exception, catch_exceptions_with_msg, catch_errors)
332 (catch_command_errors): Update catch_init calls.
336 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
337 * sparc64fbsd-nat.c: Update copyright year. Include "target.h".
341 * acinclude.m4: Include ../bfd/bfd.m4 instead of
342 ../bfd/acinclude.m4. Include ../gettext.m4.
343 * aclocal.m4, configure: Re-generate.
345 * exceptions.c (do_captured_command)
346 (struct captured_command_args): Delete.
347 (catch_command_errors): Simplify by inlining call to catch_errors.
349 * exceptions.c (struct catcher): Delete field print_message.
350 (catcher_init): Delete print_message parameter.
351 (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
352 (throw_it): Delete prefix parameter.
353 (throw_verror, throw_vfatal, throw_error): Update.
357 * exceptions.c (print_and_throw): Delete, replaced by throw_it.
358 (throw_reason): Leave the exception's message field blank.
359 (throw_it): New function, create the exception and throw it.
360 (throw_verror, throw_vfatal, throw_error): Call throw_it.
361 (print_any_exception): New function.
362 (catch_errors, catch_exceptions_with_msg): Call
364 (throw_exception): Move code calling annotate_error and
365 annotate_quit from here ...
366 (print_exception): ... to here.
368 * exceptions.c (exception_fprintf, exception_print): Move printing
370 (print_exception): ... to here.
371 (print_flush): New function.
372 (exception_print, exception_fprintf): Replace duplicated flush and
373 wrap code with call to print_flush.
374 (print_and_throw): Simplify, by using xstrvprintf, print_flush,
378 * remote-sds.c (interrupt_query): Call throw_reason instead of
380 * remote-mips.c (mips_error, mips_kill): Ditto
381 * ocd.c (interrupt_query): Ditto.
382 * nto-procfs.c (interrupt_query): Ditto.
383 * monitor.c (monitor_interrupt_query): Ditto.
387 * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
391 * exceptions.h (catch_exceptions): Delete errstring parameter.
392 (catch_exceptions_with_msg): Ditto.
393 * exceptions.c (catch_exceptions_with_msg): Update.
394 (catch_exceptions): Update.
395 * symfile-mem.c (add_vsyscall_page): Update.
396 * frame.c (get_current_frame): Update.
397 * wrapper.c (gdb_value_struct_elt): Update.
398 * exceptions.c (catch_exceptions): Update.
399 * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
400 * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
401 * remote-fileio.c (remote_fileio_request): Update.
403 * exceptions.h (exception_fprintf): Declare.
404 (exception_print): Drop pre_print parameter.
405 * mi/mi-main.c (mi_execute_command): Update exception_print call.
406 * cli/cli-interp.c (safe_execute_command): Update exception_print
408 * remote.c (remote_open_1): Instead of passing an error prefix to
409 catch_exceptions, use catch_exceptions and exception_fprintf.
410 (remote_start_remote): Change return type to void.
411 * breakpoint.c (insert_bp_location): Instead of passing an error
412 prefix to catch_exceptions, use catch_exceptions and
414 (insert_catchpoint): Change return type to void.
415 (break_command_1): Update exception_print call.
416 * exceptions.c (exception_fprintf): New function.
417 (print_exception): New function.
418 (exception_print): Use print_exception.
420 * utils.c (error_output_message): Delete function.
421 * defs.h (error_output_message): Delete declaration.
423 * linespec.c (symtab_from_filename, decode_variable): Use
424 throw_error instead of error_silent.
425 * breakpoint.c (do_captured_parse_breakpoint): Change return type
427 (break_command_1): Use catch_exception and check the error return
429 * exceptions.c (throw_error): New function.
430 (throw_vsilent): Delete function.
431 * exceptions.h (throw_error): Declare.
432 (throw_vsilent): Delete declaration.
433 * utils.c (error_silent): Delete function.
434 * defs.h (error_silent): Delete declaration.
436 * mi/mi-main.c (mi_execute_command): Print the exception.
437 * cli/cli-interp.c (safe_execute_command): Print the exception.
438 * exceptions.h (exception_print): Declare.
439 * exceptions.c (struct catcher): Add field print_message.
440 (catcher_init): Add parameter print_message, store in the catcher
442 (print_and_throw): Only print the message when print_message.
443 (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
445 (catch_exception): Pass print_message=0 to catcher_init.
447 * varobj.c (varobj_create): Add missing \n.
451 * cli/cli-decode.h: Whitespace tweaks.
452 * wince.c: Whitespace tweaks.
453 * uw-thread.c: Whitespace tweaks.
454 * utils.c: Whitespace tweaks.
455 * tracepoint.[ch]: Whitespace tweaks.
456 * solist.h: Whitespace tweaks.
460 * exceptions.h (struct exception): Make message const.
461 * mi/mi-main.c (mi_execute_command): Pass result.message directly
462 to fputstr_unfiltered.
466 * stack.c: Whitespace tweaks.
467 * somsolib.[ch]: Whitespace tweaks.
468 * solib-aix.c: Whitespace tweaks.
469 * solib.c: Whitespace tweaks.
470 * solib-frv.c: Whitespace tweaks.
471 * solib.h: Whitespace tweaks.
472 * solib-irix.c: Whitespace tweaks.
473 * solib-som.c: Whitespace tweaks.
474 * solib-sunos.c: Whitespace tweaks.
475 * solib-svr4.[ch]: Whitespace tweaks.
476 * ser-tcp.c: Whitespace tweaks.
477 * ser-unix.c: Whitespace tweaks.
478 * serial.h: Whitespace tweaks.
479 * scm-valprint.c: Whitespace tweaks.
480 * rs6000-tdep.c: Whitespace tweaks.
481 * rs6000-nat.c: Whitespace tweaks.
482 * remote.c: Whitespace tweaks.
486 * defs.h (error_last_message, error_init): Delete declaration.
487 * utils.c (fatal, vfatal): Call throw_vfatal.
488 (error, verror): Call throw_verror;
489 (do_write, error_stream_1): Delete function.
490 (error_stream): Simplify, call error.
491 (error_last_message, error_init, gdb_lasterr): Delete.
492 (error_silent): Simplify, call throw_vsilent.
493 * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
494 * main.c (captured_main): Delete call to error_init.
495 * exceptions.c (throw_verror, throw_verror)
496 (throw_vsilent): New functions.
497 (do_write, print_and_throw): New functions.
498 (last_message): New global.
499 (throw_reason): Replace error_last_message with last_message.
500 (catch_exceptions_with_msg): Dup the message.
501 * exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
506 * remote-st.c: Whitespace tweaks.
507 * remote-sim.c: Whitespace tweaks.
508 * remote-mips.c: Whitespace tweaks.
509 * pa64solib.[ch]: Whitespace tweaks.
510 * mdebugread.c: Whitespace tweaks.
511 * main.c: Whitespace tweaks.
512 * interps.c: Whitespace tweaks.
513 * infrun.c: Whitespace tweaks.
514 * infcmd.c: Whitespace tweaks.
515 * hpux-thread.c: Whitespace tweaks.
516 * hppa-hpux-tdep.c: Whitespace tweaks.
517 * gdbcore.h: Whitespace tweaks.
518 * gdbcmd.h: Whitespace tweaks.
519 * gdb-events[.c, .h, .sh]: Whitespace tweaks.
520 * corefile.c: Whitespace tweaks.
521 * completer.c: Whitespace tweaks.
522 * coff-solib.c: Whitespace tweaks.
523 * coff-solib.h: Whitespace tweaks.
524 * cli-out.c: Whitespace tweaks.
525 * breakpoint.c: Whitespace tweaks.
526 * cli/cli-interp.c: Tweak comments, per coding standard.
530 * breakpoint.c (gdb_breakpoint_query): Update, use
531 catch_exceptions_with_msg.
532 (do_captured_breakpoint): Add uiout parameter.
533 (gdb_breakpoint): Update, use catch_exceptions_with_msg.
534 * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
535 gdb_thread_select. Return MI_CMD_ERROR instead of
537 (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
538 (enum captured_mi_execute_command_actions): Delete
539 EXECUTE_COMMAND_DISPLAY_ERROR.
540 (captured_mi_execute_command): Delete code handling
542 (mi_execute_command): Don't check for
543 EXECUTE_COMMAND_DISPLAY_ERROR.
544 * mi/mi-cmd-break.c (breakpoint_notify): Update call to
545 gdb_breakpoint_query.
546 (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
547 * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
548 * gdb.h (gdb_thread_select, gdb_list_thread_ids)
549 (gdb_breakpoint, gdb_breakpoint_query): Add error_message
551 * thread.c (thread_command): Update call.
552 (gdb_thread_select, gdb_list_thread_ids): Update, call
553 catch_exceptions_with_msg.
555 * mi/mi-main.c (mi_execute_command): Use catch_exception,
556 eliminate call to error_last_message.
557 (captured_mi_execute_command): Change return type to void.
561 * exceptions.c (exception_none): New variable.
562 * Makefile.in: Update dependencies.
563 * interps.c: Include "exceptions.h".
564 (interpreter_exec_cmd, interp_exec): Update to return "struct
566 * exceptions.h (no_exception): Declare.
567 * tui/tui-interp.c (tui_exec): Update to return "struct exception"
568 * mi/mi-interp.c: Include "exceptions.h".
569 (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
571 * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
572 (do_captured_execute_command): Update to use catch_exception.
573 * interps.h: Include "exceptions.h".
574 (interp_exec_ftype, interp_exec): Return "struct exception".
576 * exceptions.h (throw_reason): Rename throw_exception.
577 (enum errors, struct exception): Define.
578 (catch_exception_ftype): Define.
579 (catch_exception, throw_exception): Declare.
580 * exceptions.c (throw_exception): Rewrite.
581 (throw_reason): New function.
582 (struct catcher, catcher_state_machine): Replace "reason" with
583 "exception", delete "gdberrmsg".
584 (catch_exception): New function.
585 (catcher_init): Replace "gdberrmsg" parameter with "exception".
586 (catch_errors, catch_exceptions_with_msg): Re-implement passing
587 exception to catcher_init.
588 * utils.c (error_silent, error_stream_1): Use throw_reason.
589 (internal_verror, quit): Ditto.
590 * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
591 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
592 * remote.c (remote_open_1, interrupt_query): Ditto.
596 * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
597 "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
598 (i386fbsd_jmp_buf_reg_offset): New variable.
599 (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
601 (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
602 * Makefile.in (i386fbsd-tdep.o): Update dependency.
603 * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
605 * bsd-uthread.h: New file.
606 * bsd-uthread.c: New file.
607 * Makefile.in (bsd_uthread_h): New variable.
608 (ALLDEPFILES): Add bsd-uthread.c.
609 (bsd-uthread.o): New dependency.
611 * solib.h Update copyright year.
612 (struct so_list): Forward declaration.
613 (solib_read_symbols): New prototype.
614 * solib.c (solib_read_symbols): New function.
615 (solib_add): Call solib_read_symbols to read in symbols.
616 (update_solib_list): Call observer_notify_solib_loaded.
618 * i386bsd-nat.c: Update copyright year. Don't include
619 <sys/param.h> and <sys/user.h>.
620 (register_u_addr, kernel_u_size): Remove functions.
621 * config/i386/obsd.mh (NAT_FILE): Remove.
622 * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
623 * config/i386/nm-obsd.h: Remove file.
627 * exceptions.c: Include "gdb_string.h".
628 (enum catcher_state, struct catcher): Define.
629 (current_catcher): New global, replaces catch_return;
630 (catch_return): Delete.
631 (throw_exception): Use current_catcher->buf;
632 (catcher_init, catcher_pop, catcher_state_machine): New functions.
634 (struct catch_errors_args): Delete.
635 (do_catch_errors): Delete.
636 (catch_exceptions): Replace body with call to
637 catch_exceptions_with_msg.
639 (catch_exceptions_with_msg, catch_errors): Re-implement using
640 catcher_state_machine.
642 * exceptions.h (enum return_reason, RETURN_MASK)
643 (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
644 (return_mask, throw_exception, catch_exceptions_ftype)
645 (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
646 (catch_command_errors_ftype, catch_command_errors): Move to
648 * exceptions.c, exceptions.h: New files.
649 * top.c: Do not include <setjmp.h>.
650 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
651 (throw_exception, catcher, catch_exceptions)
652 (catch_exceptions_with_msg, struct catch_errors_args)
653 (do_catch_errors, catch_errors, struct captured_command_args)
654 (do_captured_command, catch_command_errors): Move to exceptions.c.
655 * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
656 * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
657 * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
658 * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
659 * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
660 * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
661 * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
662 * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
663 * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
664 * ada-valprint.c, ada-lang.c: Ditto.
665 * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
666 exceptions.o. Update all dependencies.
670 * config/i386/nm-fbsd.h: Update copyright year.
671 Don't include "config/nm-bsd.h".
672 (KERNEL_U_SIZE): Remove macro.
673 (kernel_u_size): Remove prototype.
675 * config/vax/nbsdaout.mh (NAT_FILE): Remove.
676 * config/vax/nm-nbsdaout.h: Remove file.
680 * MAINTAINERS: Remove self from sh/sh64 maintainership.
684 * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
685 changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
688 * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
691 * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
692 COMMIT means can approve).
696 * vax-nat.c: Update copyright year. Include "inf-ptrace.h".
697 (vax_register_u_offset): Make statuc.
698 (_initialize_vax_nat): Construct and add target vector.
699 * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
700 inftarg.o. Add inf-ptrace.o.
701 * Makefile.in (vax-nat.o): Update dependencies.
703 * inf-ptrace.h: Update copyright year. Sync comment with
705 (inf_ptrace_trad_target): New prototype.
706 * inf-ptrace.c: Update copyright year. Include "regcache.h" and
708 (inf_ptrace_target): Add comment.
709 (inf_ptrace+register_u_offset): New variable.
710 (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
711 (inf_ptrace_store_register, inf_ptrace_store_registers)
712 (inf_ptrace_trad_target): New functions.
713 * Makefile.in (inf-ptrace.o): Update dependencies.
717 * configure.ac: Provide prerequisite headers when checking
718 <link.h>, <sys/proc.h> and <sys/user.h>.
719 * configure: Regenerate.
723 * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
724 tm-ppc-eabi.h instead of the removed tm-nbsd.h.
728 * config/ia64/tm-linux.h: Tweak comment. Update copyright year.
729 Don't include "tm-ia64.h".
730 * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
731 * config/ia64/tm-ia64.h: Remove. Move contents ...
732 * ia64-tdep.h: ... here. Update copyright year.
736 * configure.ac: Rename configure.in, require autoconf 2.59.
737 * configure: Re-generate.
739 * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
740 xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
743 * configure.in: Replace configdirs with multiple references to
745 * configure: Re-generate.
749 * ia64-tdep.c: Include "osabi.h".
750 (native_find_global_pointer): Delete.
751 (ia64_find_global_pointer): Renamed from
752 generic_elf_find_global_pointer.
753 (FIND_GLOBAL_POINTER): Delete. Change all users to call
754 ia64_find_global_pointer instead.
755 (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
756 to ia64_linux_sigcontext_register_address and
757 ia64_linux_write_pc. Don't set tdep->find_global_pointer.
758 (_initialize_ia64_tdep): Call gdbarch_register instead of
759 deprecated register_gdbarch_init.
760 (struct gdbarch_tdep): Remove find_global_pointer field and move
762 * ia64-tdep.h (struct gdbarch_tdep): ... here.
763 (ia64_linux_sigcontext_register_address): Remove declaration.
764 (ia64_linux_getunwind_table): Likewise.
765 (ia64_linux_write_pc): Likewise.
766 * ia64-linux-tdep.c: Include "osabi.h".
767 (ia64_linux_sigcontext_register_address): Make static.
768 (ia64_linux_write_pc): Likewise.
769 (ia64_linux_init_abi): New.
770 (_initialize_ia64_linux_tdep): New.
771 * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
776 * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
777 functions in ia64-aix-tdep.c.
778 * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
779 function defined in ia64-aix-tdep.c.
780 * ia64-aix-tdep.c: Remove file.
781 * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
783 * Makefile.in (ia64-aix-tdep.o): Delete.
787 Committed by Andrew Cagney.
788 * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
789 * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
790 * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
791 * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
792 * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
793 * aix-thread.c (_initialize_aix_thread): Get rid of the
794 deprecated_add_show_from_set call.
795 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
796 * arm-tdep.c (_initialize_arm_tdep): Ditto.
797 * command.h (add_setshow_enum_cmd): Add arguments for returning
799 * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
800 * mips-tdep.c (_initialize_mips_tdep): Modify calls to
801 add_setshow_enum_cmd.
805 * configure.host (ia64-*-aix*): Remove.
806 * configure.tgt (ia64-*-aix*): Remove.
807 * config/ia64/aix.mh: Remove file.
808 * config/ia64/aix.mt: Remove file.
809 * config/ia64/tm-aix.h: Remove file.
810 * ia64-aix-nat.c: Remove file.
811 * Makefile.in (ia64-aix-nat.o): Remove dependency.
813 * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
814 Add back inf-ptrace.o.
818 * version.in: Change format from 6.3.50_2005-01-04-cvs to
823 * breakpoint.c (break_command_1): Always free err_msg before
824 returning when an exception was caught.
828 * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
829 in register number for addil instruction.
831 For older changes see ChangeLog-2004.
837 version-control: never