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