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