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