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