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