3 * completer.c: Whitespace tweaks.
4 * coff-solib.c: Whitespace tweaks.
5 * coff-solib.h: Whitespace tweaks.
6 * cli-out.c: Whitespace tweaks.
7 * breakpoint.c: Whitespace tweaks.
8 * cli/cli-interp.c: Tweak comments, per coding standard.
12 * breakpoint.c (gdb_breakpoint_query): Update, use
13 catch_exceptions_with_msg.
14 (do_captured_breakpoint): Add uiout parameter.
15 (gdb_breakpoint): Update, use catch_exceptions_with_msg.
16 * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
17 gdb_thread_select. Return MI_CMD_ERROR instead of
19 (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
20 (enum captured_mi_execute_command_actions): Delete
21 EXECUTE_COMMAND_DISPLAY_ERROR.
22 (captured_mi_execute_command): Delete code handling
24 (mi_execute_command): Don't check for
25 EXECUTE_COMMAND_DISPLAY_ERROR.
26 * mi/mi-cmd-break.c (breakpoint_notify): Update call to
28 (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
29 * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
30 * gdb.h (gdb_thread_select, gdb_list_thread_ids)
31 (gdb_breakpoint, gdb_breakpoint_query): Add error_message
33 * thread.c (thread_command): Update call.
34 (gdb_thread_select, gdb_list_thread_ids): Update, call
35 catch_exceptions_with_msg.
37 * mi/mi-main.c (mi_execute_command): Use catch_exception,
38 eliminate call to error_last_message.
39 (captured_mi_execute_command): Change return type to void.
43 * exceptions.c (exception_none): New variable.
44 * Makefile.in: Update dependencies.
45 * interps.c: Include "exceptions.h".
46 (interpreter_exec_cmd, interp_exec): Update to return "struct
48 * exceptions.h (no_exception): Declare.
49 * tui/tui-interp.c (tui_exec): Update to return "struct exception"
50 * mi/mi-interp.c: Include "exceptions.h".
51 (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
53 * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
54 (do_captured_execute_command): Update to use catch_exception.
55 * interps.h: Include "exceptions.h".
56 (interp_exec_ftype, interp_exec): Return "struct exception".
58 * exceptions.h (throw_reason): Rename throw_exception.
59 (enum errors, struct exception): Define.
60 (catch_exception_ftype): Define.
61 (catch_exception, throw_exception): Declare.
62 * exceptions.c (throw_exception): Rewrite.
63 (throw_reason): New function.
64 (struct catcher, catcher_state_machine): Replace "reason" with
65 "exception", delete "gdberrmsg".
66 (catch_exception): New function.
67 (catcher_init): Replace "gdberrmsg" parameter with "exception".
68 (catch_errors, catch_exceptions_with_msg): Re-implement passing
69 exception to catcher_init.
70 * utils.c (error_silent, error_stream_1): Use throw_reason.
71 (internal_verror, quit): Ditto.
72 * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
73 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
74 * remote.c (remote_open_1, interrupt_query): Ditto.
78 * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
79 "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
80 (i386fbsd_jmp_buf_reg_offset): New variable.
81 (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
83 (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
84 * Makefile.in (i386fbsd-tdep.o): Update dependency.
85 * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
87 * bsd-uthread.h: New file.
88 * bsd-uthread.c: New file.
89 * Makefile.in (bsd_uthread_h): New variable.
90 (ALLDEPFILES): Add bsd-uthread.c.
91 (bsd-uthread.o): New dependency.
93 * solib.h Update copyright year.
94 (struct so_list): Forward declaration.
95 (solib_read_symbols): New prototype.
96 * solib.c (solib_read_symbols): New function.
97 (solib_add): Call solib_read_symbols to read in symbols.
98 (update_solib_list): Call observer_notify_solib_loaded.
100 * i386bsd-nat.c: Update copyright year. Don't include
101 <sys/param.h> and <sys/user.h>.
102 (register_u_addr, kernel_u_size): Remove functions.
103 * config/i386/obsd.mh (NAT_FILE): Remove.
104 * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
105 * config/i386/nm-obsd.h: Remove file.
109 * exceptions.c: Include "gdb_string.h".
110 (enum catcher_state, struct catcher): Define.
111 (current_catcher): New global, replaces catch_return;
112 (catch_return): Delete.
113 (throw_exception): Use current_catcher->buf;
114 (catcher_init, catcher_pop, catcher_state_machine): New functions.
116 (struct catch_errors_args): Delete.
117 (do_catch_errors): Delete.
118 (catch_exceptions): Replace body with call to
119 catch_exceptions_with_msg.
121 (catch_exceptions_with_msg, catch_errors): Re-implement using
122 catcher_state_machine.
124 * exceptions.h (enum return_reason, RETURN_MASK)
125 (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
126 (return_mask, throw_exception, catch_exceptions_ftype)
127 (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
128 (catch_command_errors_ftype, catch_command_errors): Move to
130 * exceptions.c, exceptions.h: New files.
131 * top.c: Do not include <setjmp.h>.
132 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
133 (throw_exception, catcher, catch_exceptions)
134 (catch_exceptions_with_msg, struct catch_errors_args)
135 (do_catch_errors, catch_errors, struct captured_command_args)
136 (do_captured_command, catch_command_errors): Move to exceptions.c.
137 * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
138 * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
139 * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
140 * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
141 * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
142 * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
143 * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
144 * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
145 * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
146 * ada-valprint.c, ada-lang.c: Ditto.
147 * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
148 exceptions.o. Update all dependencies.
152 * config/i386/nm-fbsd.h: Update copyright year.
153 Don't include "config/nm-bsd.h".
154 (KERNEL_U_SIZE): Remove macro.
155 (kernel_u_size): Remove prototype.
157 * config/vax/nbsdaout.mh (NAT_FILE): Remove.
158 * config/vax/nm-nbsdaout.h: Remove file.
162 * MAINTAINERS: Remove self from sh/sh64 maintainership.
166 * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
167 changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
170 * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
173 * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
174 COMMIT means can approve).
178 * vax-nat.c: Update copyright year. Include "inf-ptrace.h".
179 (vax_register_u_offset): Make statuc.
180 (_initialize_vax_nat): Construct and add target vector.
181 * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
182 inftarg.o. Add inf-ptrace.o.
183 * Makefile.in (vax-nat.o): Update dependencies.
185 * inf-ptrace.h: Update copyright year. Sync comment with
187 (inf_ptrace_trad_target): New prototype.
188 * inf-ptrace.c: Update copyright year. Include "regcache.h" and
190 (inf_ptrace_target): Add comment.
191 (inf_ptrace+register_u_offset): New variable.
192 (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
193 (inf_ptrace_store_register, inf_ptrace_store_registers)
194 (inf_ptrace_trad_target): New functions.
195 * Makefile.in (inf-ptrace.o): Update dependencies.
199 * configure.ac: Provide prerequisite headers when checking
200 <link.h>, <sys/proc.h> and <sys/user.h>.
201 * configure: Regenerate.
205 * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
206 tm-ppc-eabi.h instead of the removed tm-nbsd.h.
210 * config/ia64/tm-linux.h: Tweak comment. Update copyright year.
211 Don't include "tm-ia64.h".
212 * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
213 * config/ia64/tm-ia64.h: Remove. Move contents ...
214 * ia64-tdep.h: ... here. Update copyright year.
218 * configure.ac: Rename configure.in, require autoconf 2.59.
219 * configure: Re-generate.
221 * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
222 xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
225 * configure.in: Replace configdirs with multiple references to
227 * configure: Re-generate.
231 * ia64-tdep.c: Include "osabi.h".
232 (native_find_global_pointer): Delete.
233 (ia64_find_global_pointer): Renamed from
234 generic_elf_find_global_pointer.
235 (FIND_GLOBAL_POINTER): Delete. Change all users to call
236 ia64_find_global_pointer instead.
237 (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
238 to ia64_linux_sigcontext_register_address and
239 ia64_linux_write_pc. Don't set tdep->find_global_pointer.
240 (_initialize_ia64_tdep): Call gdbarch_register instead of
241 deprecated register_gdbarch_init.
242 (struct gdbarch_tdep): Remove find_global_pointer field and move
244 * ia64-tdep.h (struct gdbarch_tdep): ... here.
245 (ia64_linux_sigcontext_register_address): Remove declaration.
246 (ia64_linux_getunwind_table): Likewise.
247 (ia64_linux_write_pc): Likewise.
248 * ia64-linux-tdep.c: Include "osabi.h".
249 (ia64_linux_sigcontext_register_address): Make static.
250 (ia64_linux_write_pc): Likewise.
251 (ia64_linux_init_abi): New.
252 (_initialize_ia64_linux_tdep): New.
253 * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
258 * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
259 functions in ia64-aix-tdep.c.
260 * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
261 function defined in ia64-aix-tdep.c.
262 * ia64-aix-tdep.c: Remove file.
263 * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
265 * Makefile.in (ia64-aix-tdep.o): Delete.
269 Committed by Andrew Cagney.
270 * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
271 * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
272 * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
273 * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
274 * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
275 * aix-thread.c (_initialize_aix_thread): Get rid of the
276 deprecated_add_show_from_set call.
277 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
278 * arm-tdep.c (_initialize_arm_tdep): Ditto.
279 * command.h (add_setshow_enum_cmd): Add arguments for returning
281 * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
282 * mips-tdep.c (_initialize_mips_tdep): Modify calls to
283 add_setshow_enum_cmd.
287 * configure.host (ia64-*-aix*): Remove.
288 * configure.tgt (ia64-*-aix*): Remove.
289 * config/ia64/aix.mh: Remove file.
290 * config/ia64/aix.mt: Remove file.
291 * config/ia64/tm-aix.h: Remove file.
292 * ia64-aix-nat.c: Remove file.
293 * Makefile.in (ia64-aix-nat.o): Remove dependency.
295 * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
296 Add back inf-ptrace.o.
300 * version.in: Change format from 6.3.50_2005-01-04-cvs to
305 * breakpoint.c (break_command_1): Always free err_msg before
306 returning when an exception was caught.
310 * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
311 in register number for addil instruction.
313 For older changes see ChangeLog-2004.
319 version-control: never