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