OSDN Git Service

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