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