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