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