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