(interpreter_exec_cmd): Use condition,
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
82c94ed0
NR
12005-01-26 Nick Roberts <nickrob@snap.net.nz>
2
3 * interps.c (interpreter_exec_cmd): Use condition,
4 e.reason < 0, to raise an error.
5
0598a43c
AC
62005-01-25 Andrew Cagney <cagney@gnu.org>
7
a8f60bfc
AC
8 * ppc-linux-tdep.c: Include "tramp-frame.h"
9 (struct ppc_linux_sigtramp_cache)
10 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
11 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
12 (ppc_linux_sigtramp_cache): Delete.
13 (ppc32_linux_sigaction_cache_init)
14 (ppc64_linux_sigaction_cache_init)
15 (ppc32_linux_sighandler_cache_init)
16 (ppc64_linux_sighandler_cache_init)
17 (ppc32_linux_sigaction_tramp_frame)
18 (ppc64_linux_sigaction_tramp_frame)
19 (ppc32_linux_sighandler_tramp_frame)
20 (ppc64_linux_sighandler_tramp_frame)
21 (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
22 64-bit, sigaction and siginfo tramp-frame unwinders.
23
0598a43c
AC
24 * ppc-linux-tdep.c (ppc_linux_init_abi): Always set
25 long_double_bit to 8.
26
9d799f85
AC
272005-01-24 Andrew Cagney <cagney@gnu.org>
28
29 * infrun.c (handle_inferior_event): Handle back-to-back and nested
30 signals where the step_resume_breakpoint may have already been
31 inserted.
32
45181ed1
AC
332005-01-24 Andrew Cagney <cagney@gnu.org>
34
35 * configure: Regenerate, ../gettext.m4 was updated.
36
a28109e0
MK
372005-01-23 Mark Kettenis <kettenis@gnu.org>
38
6fe85783
MK
39 * NEWS: Mention new BSD user-level threads support.
40
a28109e0
MK
41 * i386obsd-tdep.c: Update copyright year. Include
42 "bsd-uthread.h".
43 (i386obsd_uthread_reg_offset): New variable.
44 (I386OBSD_UTHREAD_ESP_OFFSET): New define.
45 (i386obsd_supply_uthread, i386obsd_collect_uthread): New
46 functions.
47 (i386obsd_init_abi): Set supply_uthread and collect_uthread.
48 * Makefile.in (i386obsd-tdep.o): Update dependencies.
49 * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
50
059198c1
CF
512005-01-23 Christopher Faylor <cgf@timesys.com>
52
53 * win32-nat.c: Update copyright year.
54 (child_init_thread_list): Set thread linked list point to NULL so that
55 it won't be reused after clearing.
56
5c45e068
MK
572005-01-21 Mark Kettenis <kettenis@gnu.org>
58
59 * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
60 undefs.
61 * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
62 thread' has a td_pcb member and whether `struct reg' has r_fs and
63 r_gs members.
64 * configure, config.in: Regenerate.
65
666ec76f
MK
662005-01-21 Mark Kettenis <kettenis@gnu.org>
67
b8667b61
MK
68 * configure.ac: Remove ia64-*-aix* junk.
69 * configure: Regenerate.
70
a3828db0
MK
71 * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
72 and BFD_NEED_DECLARATION. Don't check if a declaration of strdup
73 is necessary.
74 * configure, config.in: Regenerate.
75 * utils.c: Adjust for usage of AC_CHECK_DECLS instead of
76 BFD_NEED_DECLARATION. Never provide a prototype for
77 caninicalize_file_name.
78 * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
79 BFD_NEED_DECLARATION.
80
666ec76f
MK
81 * configure.ac (targ_archs): Use standard autoconf check for
82 "struct stat.st_blocks" instead of rolling our own.
83 * configure: Regenerated.
84 * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
85 * config.in: Regenerated.
86
bc8bcb4b
MK
872005-01-21 Mark Kettenis <kettenis@gnu.org>
88
89 * configure.ac: Modernize checks for `long long' and `long double'
90 support.
91 * configure: Regenerated.
92 * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
93 (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
94 * config.in: Regenerated.
95
30adeb3a
MK
962005-01-20 Mark Kettenis <kettenis@gnu.org>
97
98 * acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
99 (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
100 * configure.ac: Remove checks for HP-UX save_state structure.
101 * configure: Regenerated.
102
e06e2353
AC
1032005-01-19 Andrew Cagney <cagney@gnu.org>
104
105 * utils.c (quit): Simplify, call fatal.
106 * exceptions.c: Include "serial.h"
107 (print_flush): Mimic flush code found in utils.c:quit.
108 * Makefile.in: Update dependencies.
109
1c44323f
JB
1102005-01-19 Jim Blandy <jimb@redhat.com>
111
065a1afc
JB
112 * configure.tgt: Set build_rdi_share to "yes" on those targets
113 that use that debugging protocol.
114 Set build_nlm to yes to build NLM stub for Netware targets.
115 * configure.ac: If build_rdi_share is "yes", then configure the
116 rdi-share subdirectory.
117 If build_nlm is "yes", the configure the "nlm" subdirectory.
118 * configure: Regenerated.
119
1c44323f
JB
120 * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
121 autoconf 2.59 and automake 1.9.3.
122
8a9de0e4
AC
1232005-01-19 Andrew Cagney <cagney@gnu.org>
124
315a522e
AC
125 * exceptions.h (deprecated_throw_reason): Rename throw_reason.
126 * exceptions.c (deprecated_throw_reason): Rename throw_reason.
127 * utils.c (internal_verror, quit): Update.
128 * remote-sds.c (interrupt_query): Update.
129 * remote-mips.c (mips_error, mips_kill): Update.
130 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
131 * remote.c (interrupt_query): Update.
132 * ocd.c (interrupt_query): Update.
133 * nto-procfs.c (interrupt_query): Update.
134 * monitor.c (monitor_interrupt_query): Update.
135 * breakpoint.c (break_command_1): Update.
136
8a9de0e4
AC
137 * infrun.c: (resume, proceed, wait_for_inferior)
138 (handle_inferior_event, stop_stepping)
139 (prepare_to_wait): Write debug output to gdb_stdlog.
140
53283f86
MK
1412005-01-19 Mark Kettenis <kettenis@gnu.org>
142
143 * inf-ptrace.c (inf_ptrace_prepare_to_store)
144 (inf_ptrace_post_startup_inferior)
145 (inf_ptrace_acknowledge_created_inferior)
146 (inf_ptrace_insert_fork_catchpoint)
147 (inf_ptrace_remove_fork_catchpoint)
148 (inf_ptrace_insert_vfork_catchpoint):
149 (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
150 (inf_ptrace_insert_exec_catchpoint)
151 (inf_ptrace_remove_exec_catchpoint): Remove functions.
152 (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
153 (inf_ptrace_target): Don't set to_prepare_to_store,
154 to_post_startup_inferior, to_acknowledge_created_inferior,
155 to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
156 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
157 to_follow_fork, to_insert_exec_catchpoint,
158 to_remove_exec_catchpoint.
159
9ee907e0
AC
1602005-01-18 Andrew Cagney <cagney@gnu.org>
161
fa113d1a
AC
162 * target.h (struct target_ops): Change return type of
163 to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
164 to_insert_exec_catchpoint to void.
165 (child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
166 (child_insert_exec_catchpoint): Change return type to void.
167 * target.c (update_current_target): Update.
168 (debug_to_insert_fork_catchpoint)
169 (debug_to_insert_vfork_catchpoint)
170 (debug_to_insert_exec_catchpoint): Update.
171 * inf-child.c (inf_child_insert_fork_catchpoint)
172 (inf_child_insert_vfork_catchpoint)
173 (inf_child_insert_exec_catchpoint): Update.
174 * breakpoint.c (insert_catchpoint): Update, do not throw an error.
175 * linux-nat.c (child_insert_fork_catchpoint)
176 (child_insert_vfork_catchpoint)
177 (child_insert_exec_catchpoint): Update.
178 * inftarg.c (child_insert_fork_catchpoint)
179 (child_insert_vfork_catchpoint,)
180 (child_insert_exec_catchpoint): Update.
181
9ee907e0
AC
182 * remote.c (remote_open_1): Use throw_exception.
183
295093a4
MS
1842005-01-17 Michael Snyder <msnyder@redhat.com>
185
186 * mips-linux-tdep.c: Whitespace tweaks.
187
4bcff7eb
CV
1882005-01-17 Corinna Vinschen <vinschen@redhat.com>
189
190 * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
191
637537d0
AC
1922005-01-17 Andrew Cagney <cagney@gnu.org>
193
194 * top.h (source_error, source_pre_error): Delete declaration.
195 * cli/cli-script.c (source_error_allocated, source_error): Delete.
196 (script_from_file, source_cleanup_lines): Do not manipulate
197 source_error_allocated, error_pre_print and source_error.
198 (struct source_cleanup_lines_args): Delete fields old_pre_error,
199 and old_error_pre_print.
200 * top.c (source_error_allocated, source_error)
201 (source_pre_error): Delete.
202 (command_line_input): Do not set error_pre_print.
203 * event-top.c (command_line_handler): Do not set error_pre_print.
204
12b21d12
JT
2052005-01-16 Jason Thorpe <thorpej@netbsd.org>
206
207 * MAINTAINERS: Update my email address.
208
1c02b2a5
MK
2092005-01-16 Mark Kettenis <kettenis@gnu.org>
210
c401b55a
MK
211 * configure.ac: Provide prerequisite headers when checking
212 <term.h>.
213 * configure: Regenerate.
214
1c02b2a5
MK
215 * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
216 and "bsd-uthread.h".
217 (amd64fbsd_jmp_buf_reg_offset): New variable.
218 (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
219 functions.
220 (amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
221 * i386fbsd-tdep.c: Fix typo.
222 * Makefile.in (amd64fbsd-tdep.o): Update dependencies.
223 * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
224
17d92a02
AC
2252005-01-16 Andrew Cagney <cagney@gnu.org>
226
227 * cli/cli-script.c: Include "exceptions.h".
228 (struct wrapped_read_command_file_args): Define.
229 (wrapped_read_command_file): New function.
230 (script_from_file): Replace direct call to read_command_file by
231 one wrapped by an exception handler.
232 * exceptions.c (throw_it): Free the old message after creating the
233 new.
234 * Makefile.in: Update dependencies.
235
80ad1639
MK
2362005-01-16 Mark Kettenis <kettenis@gnu.org>
237
ae036357
MK
238 * sparc64fbsd-tdep.c: Update copyright year.
239 (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
240 functions.
241 (sparc64fbsd_init_abi): Create register sets with collect
242 functions.
243
ca5807d9
MK
244 * sparc64fbsd-nat.c: Include "fbsd-nat.h".
245 (_initialize_sparc64fbsd_nat): Add some extra features to the
246 generic SPARC target.
247 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
248 * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
249 (NAT_FILE): Set to solib.h.
250 * config/sparc/nm-fbsd.h: Remove file.
251
c4f2d4d7
MK
252 * sparc64-tdep.c (sparc64_store_arguments): Fix typo.
253
80ad1639
MK
254 * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
255
6212a5e9
AC
2562005-01-16 Andrew Cagney <cagney@gnu.org>
257
258 * exceptions.c (struct catcher): Delete saved_error_pre_print and
259 saved_quit_pre_print.
260 (catcher_init): Delete parameter errstring, do not override the
261 pre_print strings.
262 (catcher_pop): Do not restore the pre_print strings.
263 (catch_exception, catch_exceptions_with_msg, catch_errors)
264 (catch_command_errors): Update catch_init calls.
265
936df4b3
MK
2662005-01-16 Mark Kettenis <kettenis@gnu.org>
267
268 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
269 * sparc64fbsd-nat.c: Update copyright year. Include "target.h".
270
3af1e0e3
AC
2712005-01-15 Andrew Cagney <cagney@gnu.org>
272
85981d60
AC
273 * acinclude.m4: Include ../bfd/bfd.m4 instead of
274 ../bfd/acinclude.m4. Include ../gettext.m4.
275 * aclocal.m4, configure: Re-generate.
276
5a14cc1a
AC
277 * exceptions.c (do_captured_command)
278 (struct captured_command_args): Delete.
279 (catch_command_errors): Simplify by inlining call to catch_errors.
280
3af1e0e3
AC
281 * exceptions.c (struct catcher): Delete field print_message.
282 (catcher_init): Delete print_message parameter.
283 (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
284 (throw_it): Delete prefix parameter.
285 (throw_verror, throw_vfatal, throw_error): Update.
286
d0555901
AC
2872005-01-14 Andrew Cagney <cagney@gnu.org>
288
e48f5bee
AC
289 * exceptions.c (print_and_throw): Delete, replaced by throw_it.
290 (throw_reason): Leave the exception's message field blank.
291 (throw_it): New function, create the exception and throw it.
292 (throw_verror, throw_vfatal, throw_error): Call throw_it.
293 (print_any_exception): New function.
294 (catch_errors, catch_exceptions_with_msg): Call
295 print_any_exception.
296 (throw_exception): Move code calling annotate_error and
297 annotate_quit from here ...
298 (print_exception): ... to here.
299
c6da7a6d
AC
300 * exceptions.c (exception_fprintf, exception_print): Move printing
301 of \n from here ...
302 (print_exception): ... to here.
303 (print_flush): New function.
304 (exception_print, exception_fprintf): Replace duplicated flush and
305 wrap code with call to print_flush.
306 (print_and_throw): Simplify, by using xstrvprintf, print_flush,
307 and print_exception.
308 (do_write): Delete.
309
d0555901
AC
310 * remote-sds.c (interrupt_query): Call throw_reason instead of
311 throw_exception.
312 * remote-mips.c (mips_error, mips_kill): Ditto
313 * ocd.c (interrupt_query): Ditto.
314 * nto-procfs.c (interrupt_query): Ditto.
315 * monitor.c (monitor_interrupt_query): Ditto.
316
949df321
JJ
3172005-01-14 Jeff Johnston <jjohnstn@redhat.com>
318
319 * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
320
bc8332bb
AC
3212005-01-14 Andrew Cagney <cagney@gnu.org>
322
1c3c7ee7
AC
323 * exceptions.h (catch_exceptions): Delete errstring parameter.
324 (catch_exceptions_with_msg): Ditto.
325 * exceptions.c (catch_exceptions_with_msg): Update.
326 (catch_exceptions): Update.
327 * symfile-mem.c (add_vsyscall_page): Update.
328 * frame.c (get_current_frame): Update.
329 * wrapper.c (gdb_value_struct_elt): Update.
330 * exceptions.c (catch_exceptions): Update.
331 * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
332 * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
333 * remote-fileio.c (remote_fileio_request): Update.
334
9cbc821d
AC
335 * exceptions.h (exception_fprintf): Declare.
336 (exception_print): Drop pre_print parameter.
337 * mi/mi-main.c (mi_execute_command): Update exception_print call.
338 * cli/cli-interp.c (safe_execute_command): Update exception_print
339 call.
340 * remote.c (remote_open_1): Instead of passing an error prefix to
341 catch_exceptions, use catch_exceptions and exception_fprintf.
342 (remote_start_remote): Change return type to void.
343 * breakpoint.c (insert_bp_location): Instead of passing an error
344 prefix to catch_exceptions, use catch_exceptions and
345 exception_fprintf.
346 (insert_catchpoint): Change return type to void.
347 (break_command_1): Update exception_print call.
348 * exceptions.c (exception_fprintf): New function.
349 (print_exception): New function.
350 (exception_print): Use print_exception.
351
22e9b0f1
AC
352 * utils.c (error_output_message): Delete function.
353 * defs.h (error_output_message): Delete declaration.
354
05ff989b
AC
355 * linespec.c (symtab_from_filename, decode_variable): Use
356 throw_error instead of error_silent.
357 * breakpoint.c (do_captured_parse_breakpoint): Change return type
358 to void.
359 (break_command_1): Use catch_exception and check the error return
360 status.
361 * exceptions.c (throw_error): New function.
362 (throw_vsilent): Delete function.
363 * exceptions.h (throw_error): Declare.
364 (throw_vsilent): Delete declaration.
365 * utils.c (error_silent): Delete function.
366 * defs.h (error_silent): Delete declaration.
367
8a076db9
AC
368 * mi/mi-main.c (mi_execute_command): Print the exception.
369 * cli/cli-interp.c (safe_execute_command): Print the exception.
370 * exceptions.h (exception_print): Declare.
371 * exceptions.c (struct catcher): Add field print_message.
372 (catcher_init): Add parameter print_message, store in the catcher
373 struct.
374 (print_and_throw): Only print the message when print_message.
375 (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
376 catcher_init.
377 (catch_exception): Pass print_message=0 to catcher_init.
378
bc8332bb
AC
379 * varobj.c (varobj_create): Add missing \n.
380
d183932d
MS
3812005-01-13 Michael Snyder <msnyder@redhat.com>
382
4e18e2de 383 * cli/cli-decode.h: Whitespace tweaks.
ca0b4d12 384 * wince.c: Whitespace tweaks.
887a3a14 385 * uw-thread.c: Whitespace tweaks.
0a4a0819 386 * utils.c: Whitespace tweaks.
d183932d
MS
387 * tracepoint.[ch]: Whitespace tweaks.
388 * solist.h: Whitespace tweaks.
389
6b1b7650
AC
3902005-01-13 Andrew Cagney <cagney@gnu.org>
391
b315da38
AC
392 * exceptions.h (struct exception): Make message const.
393 * mi/mi-main.c (mi_execute_command): Pass result.message directly
394 to fputstr_unfiltered.
395
79e714b4
AC
3962005-01-13 Michael Snyder <msnyder@redhat.com>
397
398 * stack.c: Whitespace tweaks.
399 * somsolib.[ch]: Whitespace tweaks.
400 * solib-aix.c: Whitespace tweaks.
401 * solib.c: Whitespace tweaks.
402 * solib-frv.c: Whitespace tweaks.
403 * solib.h: Whitespace tweaks.
404 * solib-irix.c: Whitespace tweaks.
405 * solib-som.c: Whitespace tweaks.
406 * solib-sunos.c: Whitespace tweaks.
407 * solib-svr4.[ch]: Whitespace tweaks.
408 * ser-tcp.c: Whitespace tweaks.
409 * ser-unix.c: Whitespace tweaks.
410 * serial.h: Whitespace tweaks.
411 * scm-valprint.c: Whitespace tweaks.
412 * rs6000-tdep.c: Whitespace tweaks.
413 * rs6000-nat.c: Whitespace tweaks.
414 * remote.c: Whitespace tweaks.
415
4162005-01-13 Andrew Cagney <cagney@gnu.org>
417
6b1b7650
AC
418 * defs.h (error_last_message, error_init): Delete declaration.
419 * utils.c (fatal, vfatal): Call throw_vfatal.
420 (error, verror): Call throw_verror;
421 (do_write, error_stream_1): Delete function.
422 (error_stream): Simplify, call error.
423 (error_last_message, error_init, gdb_lasterr): Delete.
424 (error_silent): Simplify, call throw_vsilent.
425 * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
426 * main.c (captured_main): Delete call to error_init.
427 * exceptions.c (throw_verror, throw_verror)
428 (throw_vsilent): New functions.
429 (do_write, print_and_throw): New functions.
430 (last_message): New global.
431 (throw_reason): Replace error_last_message with last_message.
432 (catch_exceptions_with_msg): Dup the message.
433 * exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
434 Declare.
435
4791eb66
MS
4362005-01-13 Michael Snyder <msnyder@redhat.com>
437
90c065fb 438 * remote-st.c: Whitespace tweaks.
8a0ce09a 439 * remote-sim.c: Whitespace tweaks.
1fa79fac 440 * remote-mips.c: Whitespace tweaks.
beda9597 441 * pa64solib.[ch]: Whitespace tweaks.
28397f59 442 * mdebugread.c: Whitespace tweaks.
ba5e7e8d 443 * main.c: Whitespace tweaks.
907d819a 444 * interps.c: Whitespace tweaks.
9d1ff73f 445 * infrun.c: Whitespace tweaks.
1f5d0fc9 446 * infcmd.c: Whitespace tweaks.
d9788fe8 447 * hpux-thread.c: Whitespace tweaks.
3b951200 448 * hppa-hpux-tdep.c: Whitespace tweaks.
3a9a986f 449 * gdbcore.h: Whitespace tweaks.
d3f17821 450 * gdbcmd.h: Whitespace tweaks.
30867156 451 * gdb-events[.c, .h, .sh]: Whitespace tweaks.
de6854b5 452 * corefile.c: Whitespace tweaks.
03717487 453 * completer.c: Whitespace tweaks.
9b5c5aad
MS
454 * coff-solib.c: Whitespace tweaks.
455 * coff-solib.h: Whitespace tweaks.
30fdc99f 456 * cli-out.c: Whitespace tweaks.
1272ad14 457 * breakpoint.c: Whitespace tweaks.
4791eb66
MS
458 * cli/cli-interp.c: Tweak comments, per coding standard.
459
f30f06b8
AC
4602005-01-13 Andrew Cagney <cagney@gnu.org>
461
ce43223b
AC
462 * breakpoint.c (gdb_breakpoint_query): Update, use
463 catch_exceptions_with_msg.
464 (do_captured_breakpoint): Add uiout parameter.
465 (gdb_breakpoint): Update, use catch_exceptions_with_msg.
466 * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
467 gdb_thread_select. Return MI_CMD_ERROR instead of
468 MI_CMD_CAUGHT_ERROR.
469 (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
470 (enum captured_mi_execute_command_actions): Delete
471 EXECUTE_COMMAND_DISPLAY_ERROR.
472 (captured_mi_execute_command): Delete code handling
473 MI_CMD_CAUGHT_ERROR.
474 (mi_execute_command): Don't check for
475 EXECUTE_COMMAND_DISPLAY_ERROR.
476 * mi/mi-cmd-break.c (breakpoint_notify): Update call to
477 gdb_breakpoint_query.
478 (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
479 * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
480 * gdb.h (gdb_thread_select, gdb_list_thread_ids)
481 (gdb_breakpoint, gdb_breakpoint_query): Add error_message
482 parameter.
483 * thread.c (thread_command): Update call.
484 (gdb_thread_select, gdb_list_thread_ids): Update, call
485 catch_exceptions_with_msg.
486
f30f06b8
AC
487 * mi/mi-main.c (mi_execute_command): Use catch_exception,
488 eliminate call to error_last_message.
489 (captured_mi_execute_command): Change return type to void.
490
2a78bfb5
AC
4912005-01-12 Andrew Cagney <cagney@gnu.org>
492
c1043fc2
AC
493 * exceptions.c (exception_none): New variable.
494 * Makefile.in: Update dependencies.
495 * interps.c: Include "exceptions.h".
496 (interpreter_exec_cmd, interp_exec): Update to return "struct
497 exception"
498 * exceptions.h (no_exception): Declare.
499 * tui/tui-interp.c (tui_exec): Update to return "struct exception"
500 * mi/mi-interp.c: Include "exceptions.h".
501 (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
502 'struct exception".
503 * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
504 (do_captured_execute_command): Update to use catch_exception.
505 * interps.h: Include "exceptions.h".
506 (interp_exec_ftype, interp_exec): Return "struct exception".
507
2a78bfb5
AC
508 * exceptions.h (throw_reason): Rename throw_exception.
509 (enum errors, struct exception): Define.
510 (catch_exception_ftype): Define.
511 (catch_exception, throw_exception): Declare.
512 * exceptions.c (throw_exception): Rewrite.
513 (throw_reason): New function.
514 (struct catcher, catcher_state_machine): Replace "reason" with
515 "exception", delete "gdberrmsg".
516 (catch_exception): New function.
517 (catcher_init): Replace "gdberrmsg" parameter with "exception".
518 (catch_errors, catch_exceptions_with_msg): Re-implement passing
519 exception to catcher_init.
520 * utils.c (error_silent, error_stream_1): Use throw_reason.
521 (internal_verror, quit): Ditto.
522 * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
523 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
524 * remote.c (remote_open_1, interrupt_query): Ditto.
525
8b1ca062
MK
5262005-01-12 Mark Kettenis <kettenis@gnu.org>
527
fa565c2b
MK
528 * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
529 "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
530 (i386fbsd_jmp_buf_reg_offset): New variable.
531 (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
532 functions.
533 (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
534 * Makefile.in (i386fbsd-tdep.o): Update dependency.
535 * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
536
82f5c14f
MK
537 * bsd-uthread.h: New file.
538 * bsd-uthread.c: New file.
539 * Makefile.in (bsd_uthread_h): New variable.
540 (ALLDEPFILES): Add bsd-uthread.c.
541 (bsd-uthread.o): New dependency.
542
42a6e6a0
MK
543 * solib.h Update copyright year.
544 (struct so_list): Forward declaration.
545 (solib_read_symbols): New prototype.
546 * solib.c (solib_read_symbols): New function.
547 (solib_add): Call solib_read_symbols to read in symbols.
548 (update_solib_list): Call observer_notify_solib_loaded.
549
8b1ca062
MK
550 * i386bsd-nat.c: Update copyright year. Don't include
551 <sys/param.h> and <sys/user.h>.
552 (register_u_addr, kernel_u_size): Remove functions.
553 * config/i386/obsd.mh (NAT_FILE): Remove.
554 * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
555 * config/i386/nm-obsd.h: Remove file.
556
60250e8b
AC
5572005-01-12 Andrew Cagney <cagney@gnu.org>
558
db5f402d
AC
559 * exceptions.c: Include "gdb_string.h".
560 (enum catcher_state, struct catcher): Define.
561 (current_catcher): New global, replaces catch_return;
562 (catch_return): Delete.
563 (throw_exception): Use current_catcher->buf;
564 (catcher_init, catcher_pop, catcher_state_machine): New functions.
565 (catcher): Delete.
566 (struct catch_errors_args): Delete.
567 (do_catch_errors): Delete.
568 (catch_exceptions): Replace body with call to
569 catch_exceptions_with_msg.
570 (catcher): Delete.
571 (catch_exceptions_with_msg, catch_errors): Re-implement using
572 catcher_state_machine.
573
60250e8b
AC
574 * exceptions.h (enum return_reason, RETURN_MASK)
575 (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
576 (return_mask, throw_exception, catch_exceptions_ftype)
577 (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
578 (catch_command_errors_ftype, catch_command_errors): Move to
579 exceptions.h.
580 * exceptions.c, exceptions.h: New files.
581 * top.c: Do not include <setjmp.h>.
582 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
583 (throw_exception, catcher, catch_exceptions)
584 (catch_exceptions_with_msg, struct catch_errors_args)
585 (do_catch_errors, catch_errors, struct captured_command_args)
586 (do_captured_command, catch_command_errors): Move to exceptions.c.
587 * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
588 * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
589 * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
590 * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
591 * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
592 * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
593 * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
594 * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
595 * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
596 * ada-valprint.c, ada-lang.c: Ditto.
597 * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
598 exceptions.o. Update all dependencies.
599
ca14ead7
MK
6002005-01-11 Mark Kettenis <kettenis@gnu.org>
601
eafc7eea
MK
602 * config/i386/nm-fbsd.h: Update copyright year.
603 Don't include "config/nm-bsd.h".
604 (KERNEL_U_SIZE): Remove macro.
605 (kernel_u_size): Remove prototype.
606
ca14ead7
MK
607 * config/vax/nbsdaout.mh (NAT_FILE): Remove.
608 * config/vax/nm-nbsdaout.h: Remove file.
609
4a39d934
EZ
6102005-01-10 Elena Zannoni <ezannoni@redhat.com>
611
612 * MAINTAINERS: Remove self from sh/sh64 maintainership.
613
93f0f986
AC
6142005-01-10 Andrew Cagney <cagney@gnu.org>
615
c4f9e2bf
AC
616 * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
617 changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
618 maintainer.
619
6b71dd74
AC
620 * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
621 changes to CRIS.
622
93f0f986
AC
623 * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
624 COMMIT means can approve).
625
8785ced0
MK
6262005-01-10 Mark Kettenis <kettenis@gnu.org>
627
2a2de4ce
MK
628 * vax-nat.c: Update copyright year. Include "inf-ptrace.h".
629 (vax_register_u_offset): Make statuc.
630 (_initialize_vax_nat): Construct and add target vector.
631 * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
632 inftarg.o. Add inf-ptrace.o.
633 * Makefile.in (vax-nat.o): Update dependencies.
634
8785ced0
MK
635 * inf-ptrace.h: Update copyright year. Sync comment with
636 inf-ptrace.c.
637 (inf_ptrace_trad_target): New prototype.
638 * inf-ptrace.c: Update copyright year. Include "regcache.h" and
639 "gdb_assert.h"
640 (inf_ptrace_target): Add comment.
641 (inf_ptrace+register_u_offset): New variable.
642 (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
643 (inf_ptrace_store_register, inf_ptrace_store_registers)
644 (inf_ptrace_trad_target): New functions.
645 * Makefile.in (inf-ptrace.o): Update dependencies.
646
7cb9022a
MK
6472005-01-09 Mark Kettenis <kettenis@gnu.org>
648
649 * configure.ac: Provide prerequisite headers when checking
650 <link.h>, <sys/proc.h> and <sys/user.h>.
651 * configure: Regenerate.
652
c534d641
MK
6532005-01-08 Mark Kettenis <kettenis@gnu.org>
654
655 * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
656 tm-ppc-eabi.h instead of the removed tm-nbsd.h.
657
4b48ac22
MK
6582005-01-07 Mark Kettenis <kettenis@gnu.org>
659
660 * config/ia64/tm-linux.h: Tweak comment. Update copyright year.
661 Don't include "tm-ia64.h".
662 * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
663 * config/ia64/tm-ia64.h: Remove. Move contents ...
664 * ia64-tdep.h: ... here. Update copyright year.
665
3ace7edb
AC
6662005-01-07 Andrew Cagney <cagney@gnu.org>
667
bec39cab
AC
668 * configure.ac: Rename configure.in, require autoconf 2.59.
669 * configure: Re-generate.
670
e14ecb8f
AC
671 * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
672 xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
673 to configdirs.
674
3ace7edb
AC
675 * configure.in: Replace configdirs with multiple references to
676 AC_CONFIG_SUBDIRS.
677 * configure: Re-generate.
678
b33e8514
AS
6792005-01-05 Andreas Schwab <schwab@suse.de>
680
681 * ia64-tdep.c: Include "osabi.h".
682 (native_find_global_pointer): Delete.
683 (ia64_find_global_pointer): Renamed from
684 generic_elf_find_global_pointer.
685 (FIND_GLOBAL_POINTER): Delete. Change all users to call
686 ia64_find_global_pointer instead.
687 (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
688 to ia64_linux_sigcontext_register_address and
689 ia64_linux_write_pc. Don't set tdep->find_global_pointer.
690 (_initialize_ia64_tdep): Call gdbarch_register instead of
691 deprecated register_gdbarch_init.
692 (struct gdbarch_tdep): Remove find_global_pointer field and move
693 to ...
694 * ia64-tdep.h (struct gdbarch_tdep): ... here.
695 (ia64_linux_sigcontext_register_address): Remove declaration.
696 (ia64_linux_getunwind_table): Likewise.
697 (ia64_linux_write_pc): Likewise.
698 * ia64-linux-tdep.c: Include "osabi.h".
699 (ia64_linux_sigcontext_register_address): Make static.
700 (ia64_linux_write_pc): Likewise.
701 (ia64_linux_init_abi): New.
702 (_initialize_ia64_linux_tdep): New.
703 * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
704 $(osabi_h).
705
0ea390ed
KB
7062005-01-05 Kevin Buettner <kevinb@redhat.com>
707
708 * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
709 functions in ia64-aix-tdep.c.
710 * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
711 function defined in ia64-aix-tdep.c.
712 * ia64-aix-tdep.c: Remove file.
713 * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
714 this list.
715 * Makefile.in (ia64-aix-tdep.o): Delete.
716
edefbb7c
AC
7172005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
718
719 Committed by Andrew Cagney.
720 * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
721 * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
722 * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
723 * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
724 * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
725 * aix-thread.c (_initialize_aix_thread): Get rid of the
726 deprecated_add_show_from_set call.
727 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
728 * arm-tdep.c (_initialize_arm_tdep): Ditto.
729 * command.h (add_setshow_enum_cmd): Add arguments for returning
730 new list elements.
731 * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
732 * mips-tdep.c (_initialize_mips_tdep): Modify calls to
733 add_setshow_enum_cmd.
734
a260932f
MK
7352005-01-04 Mark Kettenis <kettenis@gnu.org>
736
34cf1994
MK
737 * configure.host (ia64-*-aix*): Remove.
738 * configure.tgt (ia64-*-aix*): Remove.
739 * config/ia64/aix.mh: Remove file.
740 * config/ia64/aix.mt: Remove file.
741 * config/ia64/tm-aix.h: Remove file.
742 * ia64-aix-nat.c: Remove file.
743 * Makefile.in (ia64-aix-nat.o): Remove dependency.
744
a260932f
MK
745 * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
746 Add back inf-ptrace.o.
747
5ed102a1
AC
7482005-01-04 Andrew Cagney <cagney@gnu.org>
749
750 * version.in: Change format from 6.3.50_2005-01-04-cvs to
751 6.3.50.20050104-cvs.
752
3a63c4b7
AS
7532005-01-04 Andreas Schwab <schwab@suse.de>
754
755 * breakpoint.c (break_command_1): Always free err_msg before
756 returning when an exception was caught.
757
e22b26cb
JB
7582005-01-01 Joel Brobecker <brobecker@gnat.com>
759
760 * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
761 in register number for addil instruction.
762
151c5df6 763For older changes see ChangeLog-2004.
c906108c
SS
764\f
765Local Variables:
766mode: change-log
767left-margin: 8
768fill-column: 74
769version-control: never
770End:
This page took 0.71284 seconds and 4 git commands to generate.