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