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