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