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