OSDN Git Service

2005-02-07 Andrew Cagney <cagney@gnu.org>
[pf3gnuchains/pf3gnuchains4x.git] / gdb / ChangeLog
1 2005-02-07  Andrew Cagney  <cagney@gnu.org>
2
3         * value.h (set_value_offset): Declare.
4         * value.c (set_value_offset): Declare.
5         * gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update.
6         * findvar.c: Update.
7
8         * value.h (value_next): Declare.
9         * value.c (value_next): Define.
10         * breakpoint.c: Update.
11
12         * value.h (deprecated_set_value_modifiable)
13         (deprecated_value_modifiable): Declare.
14         * value.c (deprecated_set_value_modifiable): Define.
15         (deprecated_value_modifiable): Define.
16         * ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update.
17
18         * value.h (deprecated_set_value_type): Declare.
19         * value.c (deprecated_set_value_type): Define.
20         * hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update.
21         * c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update.
22         * infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update.
23         * ax-gdb.c, tracepoint.c: Update.
24
25         * value.h (deprecated_value_lval_hack)
26         (deprecated_value_address_hack) 
27         (deprecated_value_internalvar_hack) 
28         (deprecated_value_regnum_hack): Declare.
29         (VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR) 
30         (VALUE_FRAME_ID, VALUE_REGNUM): Use.
31         * value.c (deprecated_value_lval_hack)
32         (deprecated_value_address_hack) 
33         (deprecated_value_internalvar_hack) 
34         (deprecated_value_regnum_hack): Define.
35
36         * value.h (VALUE_POINTED_TO_OFFSET): Delete.
37         (set_value_pointed_to_offset, value_pointed_to_offset): Declare.
38         * value.c (set_value_pointed_to_offset): Define
39         (value_pointed_to_offset): Define.
40         * valops.c: Update.
41
42         * value.h (VALUE_EMBEDDED_OFFSET): Delete.
43         (value_embedded_offset, set_value_embedded_offset): Declare.
44         * value.c (value_embedded_offset): Define.
45         (set_value_embedded_offset): Define.
46         * valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
47         * gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
48         * cp-abi.h: Update.
49
50         * value.h (VALUE_LAZY): Delete
51         (set_value_lazy): Declare.
52         * value.c (set_value_lazy): Define.
53         * valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
54         * gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.
55
56 2005-02-06  Andrew Cagney  <cagney@gnu.org>
57
58         * value.h (VALUE_OPTIMIZED_OUT): Delete.
59         (value_optimized_out, set_value_optimized_out): Declare.
60         * value.c (set_value_optimized_out, value_optimized_out): Define.
61         * valprint.c, findvar.c, dwarf2loc.c: Update.
62
63         * value.c (value_contents, value_contents_writeable): New
64         functions.
65         * value.h (VALUE_CONTENTS): Delete macro.
66         (value_contents, value_contents_writeable): Declare.
67         * xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
68         * stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
69         * sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
70         * rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
71         * ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
72         * m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
73         * jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
74         * hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
75         * c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
76         * cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
77         * arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
78         * ada-valprint.c, ada-lang.c: Update.
79
80 2005-02-03  Andrew Cagney  <cagney@gnu.org>
81
82         * utils.c (xzalloc): New function.
83         * defs.h (XZALLOC): Use xzalloc.
84         (xzalloc): Declare.
85         * value.c (allocate_value): Allocate a zeroed buffer.
86         * mdebugread.c (xzalloc): Delete.
87
88 2005-02-02  Andrew Cagney  <cagney@gnu.org>
89
90         * value.h (value_lazy): Declare.
91         * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
92         * cp-valprint.c, breakpoint.c, ada-lang.c: Update.
93
94         * value.h (VALUE_CONTENTS_ALL): Delete.
95         (value_contents_all): Declare.
96         * value.c (value_contents_all): New function.
97         * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
98         * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
99
100         * value.c (value_enclosing_type): New function.
101         * value.h (VALUE_ENCLOSING_TYPE): Delete.
102         (value_enclosing_type): Declare.
103         * xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
104         * gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.
105
106         * value.c (value_contents_all_raw)
107         (value_contents_raw): New functions.
108         * value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
109         (value_contents_raw, value_contents_all_raw): Declare functions.
110         (VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
111         * std-regs.c, valarith.c, valops.c, eval.c: Update.
112         * tracepoint.c, findvar.c: Update.
113
114 2005-02-01  Orjan Friberg  <orjanf@axis.com>
115
116         * regformats/reg-cris.dat: New file with register definitions for CRIS.
117         * regformats/reg-crisv32.dat: Ditto for CRISv32.
118
119 2005-01-31  Andrew Cagney  <cagney@gnu.org>
120
121         * configure: Regenerate to track ../gettext.m4.
122
123 2005-01-29  Baurzhan Ismagulov  <ibr@radix50.net>
124
125         * MAINTAINERS: Add myself to "Write After Approval".
126
127         * ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
128         * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
129         * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
130
131 2005-01-29  Mark Kettenis  <kettenis@gnu.org>
132
133         * configure.ac: Remove extra check for ranlib.
134         * configure: Regenerated.
135
136 2005-01-28  Andrew Cagney  <cagney@gnu.org>
137
138         * language.h (struct language_defn): Make la_val_print's buffer
139         parameter a const bfd_byte.
140         * cp-valprint.c (cp_print_value_fields, cp_print_value): Update.
141         * ada-lang.c (ada_aligned_value_addr)
142         (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
143         * valprint.c (val_print_array_elements): Update.
144         * valprint.h (val_print_array_elements): Update.
145         * ada-lang.h (ada_val_print, ada_aligned_value_addr)
146         (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
147         * ada-valprint.c (ada_val_print, struct ada_val_print_args) 
148         (ada_val_print_1, ada_print_floating, printable_val_type) 
149         (print_record, val_print_packed_array_elements) 
150         (print_field_values, print_variant_part): Update.
151         * c-lang.h (c_val_print, cp_print_value_fields): Update.
152         * c-valprint.c (c_val_print): Update.
153         * f-lang.h (f_val_print): Update.
154         * f-valprint.c (f_val_print, f77_print_array_1)
155         (f77_print_array): Update.
156         * jv-lang.h (java_val_print): Update.
157         * jv-valprint.c (java_print_value_fields, java_val_print): Update.
158         * language.c (unk_lang_val_print): Update.
159         * m2-lang.h (m2_val_print): Update.
160         * m2-valprint.c (m2_val_print): Update.
161         * p-lang.h (pascal_val_print): Update.
162         (pascal_object_print_value_fields): Update.
163         * p-valprint.c (pascal_val_print) 
164         (pascal_object_print_value_fields, pascal_object_print_value) 
165         (pascal_object_print_value): Update.
166         * scm-lang.h (scm_val_print): Update.
167         * scm-valprint.c (scm_val_print): Update.
168         * value.h (val_print): Update.
169
170         * p-lang.h (pascal_object_print_class_member)
171         (pascal_object_print_class_method): Make buffer a const bfd_byte.
172         * p-valprint.c (pascal_object_print_class_method)
173         (pascal_object_print_class_method): Ditto.
174         
175         * language.h (struct language_defn): Make la_printstr's buffer
176         parameter a const bfd_byte.
177         * p-lang.h (pascal_printstr): Update function to match.
178         * ada-valprint.c (ada_printstr): Update function to match.
179         * scm-lang.c (scm_printstr): Update function to match.
180         * p-lang.c (pascal_printstr): Update function to match.
181         * ada-lang.h (ada_printstr): Update function to match.
182         * m2-lang.c (m2_printstr): Update function to match.
183         * objc-lang.c (objc_printstr): Update function to match.
184         * c-lang.h (c_printstr): Update function to match.
185         * f-lang.c (f_printstr): Update function to match.
186         * c-lang.c (c_printstr): Update function to match.
187         * language.c (unk_lang_printstr): Update function to match.
188
189         * valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
190         * valprint.h (val_print_type_code_int): Ditto.
191
192         * objc-lang.h (c_val_print, c_value_print): Delete declarations.
193
194         * cp-valprint.c (cp_print_class_method)
195         (cp_print_class_member): Make buffer a const bfd_byte.
196         * c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.
197
198         * ada-lang.c (value_from_contents_and_address)
199         (to_record_with_fixed_variant_part)
200         (value_tag_from_contents_and_address, ada_to_fixed_type)
201         (to_fixed_variant_branch_type, to_fixed_record_type)
202         (ada_template_to_fixed_record_type, cond_offset_host)
203         (ada_template_to_fixed_record_type_1): Make buffer a const
204         bfd_byte.
205         * ada-lang.h (ada_template_to_fixed_record_type_1)
206         (value_from_contents_and_address, ada_to_fixed_type): Ditto.
207
208         * ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte.
209
210         * gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.
211         * printcmd.c (print_scalar_formatted): Update.
212
213         * value.h (value_bit_index, print_floating)
214         (find_rt_vbase_offset): Make buffer a const bfd_byte.
215         * valprint.c (print_floating): Update.
216         * valarith.c (value_bit_index): Update.
217         * valops.c (find_rt_vbase_offset): Update.
218
219         * valprint.h (print_octal_chars, print_char_chars)
220         (print_hex_chars, print_decimal_chars, print_binary_chars): Make
221         buffer a const bfd_byte.
222         * valprint.c (print_binary_chars, print_octal_chars)
223         (print_decimal_chars, print_hex_chars, print_char_chars): Make
224         "valaddr"buffer a const bfd_byte, ditto for local variables
225         referencing that buffer.
226
227         * m2-valprint.c: Include "c-lang.h".
228         (c_val_print): Delete extern declaration.
229         * scm-valprint.c: Include "c-lang.h".
230         (c_val_print): Delete extern declaration.
231         Makefile.in: Update dependencies.
232
233         * gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
234         bfd_byte.
235         * cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
236         (struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
237         bfd_byte.
238         * cp-abi.c (baseclass_offset): Update.
239         * gnu-v2-abi.c (gnuv2_baseclass_offset): Update.
240
241         * gnu-v2-abi.h: New file.
242         * gnu-v2-abi.c: Include "gnu-v2-abi.h".
243         (gnuv2_baseclass_offset): Delete declaration.
244         * hpacc-abi.c: Include "gnu-v2-abi.h".
245         (gnuv2_baseclass_offset): Delete extern declaration.
246         * Makefile.in: Update dependencies.
247
248         * doublest.c (floatformat_is_negative, floatformat_is_nan)
249         (floatformat_mantissa, get_field): Make the buffer a const
250         bfd_byte, simplify.
251
252 2005-01-27  Andrew Cagney  <cagney@gnu.org>
253
254         * value.h (struct value): Change type of contents to bfd_byte.
255         (VALUE_CONTENTS_RAW): Simplify.
256
257         * gdbarch.sh (integer_to_address): Change buf parameter to a const
258         bfd_byte, make pure-multi-arch.
259         * gdbarch.h, gdbarch.c: Regenerate.
260         * mips-tdep.c (mips_integer_to_address): Update.
261         * value.c (value_as_address): Update.
262         
263         * cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
264         * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
265         parameters const, change buf to a const bfd_byte.
266         (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
267         parameters const.
268
269         * corefile.c (write_memory): Update, make a copy of the read-only
270         buffer.
271         * target.c (target_read_memory): Update.
272         (target_write_memory): Update, make a copy of the read-only
273         buffer.
274         * gdbcore.h (write_memory): Change buffer type to bfd_byte, make
275         const.
276         * target.h (target_read_memory, target_write_memory): Change
277         buffer type to bfd_byte; for write_memory, make it const.
278         * symfile-mem.c (do_target_read_memory): New function.
279         (symbol_file_add_from_memory): Pass do_target_read_memory to
280         bfd_elf_bfd_from_remote_memory.
281
282         * value.h: Indent using gdb_indent.sh.
283
284         * configure: Regenerate to track ../gettext.m4 change.
285
286 2005-01-26  Andrew Cagney  <cagney@gnu.org>
287
288         * rs6000-tdep.c: Include "reggroups.h".
289         (rs6000_gdbarch_init): Set register_reggroup_p.
290         (rs6000_register_reggroup_p): New function.
291
292 2005-01-26  Orjan Friberg  <orjanf@axis.com>
293
294         * cris-tdep.c (enum cris_num_regs, enum cris_regnums)
295         (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
296         CRISv32.
297         (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
298         (cris_region_ok_for_watchpoint, cris_stopped_data_address)
299         (crisv32_cannot_fetch_register, crisv32_cannot_store_register)
300         (crisv32_register_type, cris_special_register_name)
301         (crisv32_register_name): New functions.
302         (cris_spec_reg_applicable): Recognize more versions.
303         (cris_register_name): Update with call to cris_special_register_name.
304         (find_cris_op): Filter out CRISv32 instructions.  Tweaked comment and
305         warning when unable to find step target.
306         (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
307         (supply_gregset): Add struct gdbarch_tdep.  Set pseudo-PC register for 
308         CRISv32.
309         (fetch_core_registers): Update for CRISv32.
310         (cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
311         register_name, cannot_store_register, cannot_fetch_register,
312         have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
313         
314 2005-01-26  Nick Roberts  <nickrob@snap.net.nz>
315
316         * interps.c (interpreter_exec_cmd): Use condition,
317         e.reason < 0, to raise an error.
318
319 2005-01-25  Andrew Cagney  <cagney@gnu.org>
320
321         * ppc-linux-tdep.c: Include "tramp-frame.h"
322         (struct ppc_linux_sigtramp_cache)
323         (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
324         (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
325         (ppc_linux_sigtramp_cache): Delete.
326         (ppc32_linux_sigaction_cache_init)
327         (ppc64_linux_sigaction_cache_init)
328         (ppc32_linux_sighandler_cache_init)
329         (ppc64_linux_sighandler_cache_init)
330         (ppc32_linux_sigaction_tramp_frame)
331         (ppc64_linux_sigaction_tramp_frame)
332         (ppc32_linux_sighandler_tramp_frame)
333         (ppc64_linux_sighandler_tramp_frame)
334         (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
335         64-bit, sigaction and siginfo tramp-frame unwinders.
336
337         * ppc-linux-tdep.c (ppc_linux_init_abi): Always set
338         long_double_bit to 8.
339
340 2005-01-24  Andrew Cagney  <cagney@gnu.org>
341
342         * infrun.c (handle_inferior_event): Handle back-to-back and nested
343         signals where the step_resume_breakpoint may have already been
344         inserted.
345
346 2005-01-24  Andrew Cagney  <cagney@gnu.org>
347
348         * configure: Regenerate, ../gettext.m4 was updated.
349
350 2005-01-23  Mark Kettenis  <kettenis@gnu.org>
351
352         * NEWS: Mention new BSD user-level threads support.
353
354         * i386obsd-tdep.c: Update copyright year.  Include
355         "bsd-uthread.h".
356         (i386obsd_uthread_reg_offset): New variable.
357         (I386OBSD_UTHREAD_ESP_OFFSET): New define.
358         (i386obsd_supply_uthread, i386obsd_collect_uthread): New
359         functions.
360         (i386obsd_init_abi): Set supply_uthread and collect_uthread.
361         * Makefile.in (i386obsd-tdep.o): Update dependencies.
362         * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
363
364 2005-01-23  Christopher Faylor  <cgf@timesys.com>
365
366         * win32-nat.c: Update copyright year.
367         (child_init_thread_list): Set thread linked list point to NULL so that
368         it won't be reused after clearing.
369
370 2005-01-21  Mark Kettenis  <kettenis@gnu.org>
371
372         * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
373         undefs.
374         * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
375         thread' has a td_pcb member and whether `struct reg' has r_fs and
376         r_gs members.
377         * configure, config.in: Regenerate.
378
379 2005-01-21  Mark Kettenis  <kettenis@gnu.org>
380
381         * configure.ac: Remove ia64-*-aix* junk.
382         * configure: Regenerate.
383
384         * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
385         and BFD_NEED_DECLARATION.  Don't check if a declaration of strdup
386         is necessary.
387         * configure, config.in: Regenerate.
388         * utils.c: Adjust for usage of AC_CHECK_DECLS instead of
389         BFD_NEED_DECLARATION.  Never provide a prototype for
390         caninicalize_file_name.
391         * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
392         BFD_NEED_DECLARATION.
393
394         * configure.ac (targ_archs): Use standard autoconf check for
395         "struct stat.st_blocks" instead of rolling our own.
396         * configure: Regenerated.
397         * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
398         * config.in: Regenerated.
399
400 2005-01-21  Mark Kettenis  <kettenis@gnu.org>
401
402         * configure.ac: Modernize checks for `long long' and `long double'
403         support.
404         * configure: Regenerated.
405         * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
406         (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
407         * config.in: Regenerated.
408
409 2005-01-20  Mark Kettenis  <kettenis@gnu.org>
410
411         * acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
412         (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
413         * configure.ac: Remove checks for HP-UX save_state structure.
414         * configure: Regenerated.
415
416 2005-01-19  Andrew Cagney  <cagney@gnu.org>
417
418         * utils.c (quit): Simplify, call fatal.
419         * exceptions.c: Include "serial.h"
420         (print_flush): Mimic flush code found in utils.c:quit.
421         * Makefile.in: Update dependencies.
422         
423 2005-01-19  Jim Blandy  <jimb@redhat.com>
424
425         * configure.tgt: Set build_rdi_share to "yes" on those targets
426         that use that debugging protocol.
427         Set build_nlm to yes to build NLM stub for Netware targets.
428         * configure.ac: If build_rdi_share is "yes", then configure the
429         rdi-share subdirectory.
430         If build_nlm is "yes", the configure the "nlm" subdirectory.
431         * configure: Regenerated.
432
433         * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
434         autoconf 2.59 and automake 1.9.3.
435
436 2005-01-19  Andrew Cagney  <cagney@gnu.org>
437
438         * exceptions.h (deprecated_throw_reason): Rename throw_reason.
439         * exceptions.c (deprecated_throw_reason): Rename throw_reason.
440         * utils.c (internal_verror, quit): Update.
441         * remote-sds.c (interrupt_query): Update.
442         * remote-mips.c (mips_error, mips_kill): Update.
443         * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
444         * remote.c (interrupt_query): Update.
445         * ocd.c (interrupt_query): Update.
446         * nto-procfs.c (interrupt_query): Update.
447         * monitor.c (monitor_interrupt_query): Update.
448         * breakpoint.c (break_command_1): Update.
449
450         * infrun.c: (resume, proceed, wait_for_inferior)
451         (handle_inferior_event, stop_stepping)
452         (prepare_to_wait): Write debug output to gdb_stdlog.
453
454 2005-01-19  Mark Kettenis  <kettenis@gnu.org>
455
456         * inf-ptrace.c (inf_ptrace_prepare_to_store)
457         (inf_ptrace_post_startup_inferior)
458         (inf_ptrace_acknowledge_created_inferior)
459         (inf_ptrace_insert_fork_catchpoint)
460         (inf_ptrace_remove_fork_catchpoint)
461         (inf_ptrace_insert_vfork_catchpoint):
462         (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
463         (inf_ptrace_insert_exec_catchpoint)
464         (inf_ptrace_remove_exec_catchpoint): Remove functions.
465         (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
466         (inf_ptrace_target): Don't set to_prepare_to_store,
467         to_post_startup_inferior, to_acknowledge_created_inferior,
468         to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
469         to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
470         to_follow_fork, to_insert_exec_catchpoint,
471         to_remove_exec_catchpoint.
472
473 2005-01-18  Andrew Cagney  <cagney@gnu.org>
474
475         * target.h (struct target_ops): Change return type of
476         to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
477         to_insert_exec_catchpoint to void.
478         (child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
479         (child_insert_exec_catchpoint): Change return type to void.
480         * target.c (update_current_target): Update.
481         (debug_to_insert_fork_catchpoint) 
482         (debug_to_insert_vfork_catchpoint) 
483         (debug_to_insert_exec_catchpoint): Update.
484         * inf-child.c (inf_child_insert_fork_catchpoint) 
485         (inf_child_insert_vfork_catchpoint) 
486         (inf_child_insert_exec_catchpoint): Update.
487         * breakpoint.c (insert_catchpoint): Update, do not throw an error.
488         * linux-nat.c (child_insert_fork_catchpoint) 
489         (child_insert_vfork_catchpoint)
490         (child_insert_exec_catchpoint): Update.
491         * inftarg.c (child_insert_fork_catchpoint) 
492         (child_insert_vfork_catchpoint,)
493         (child_insert_exec_catchpoint): Update.
494
495         * remote.c (remote_open_1): Use throw_exception.
496
497 2005-01-17  Michael Snyder  <msnyder@redhat.com>
498
499         * mips-linux-tdep.c: Whitespace tweaks.
500
501 2005-01-17  Corinna Vinschen  <vinschen@redhat.com>
502
503         * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
504
505 2005-01-17  Andrew Cagney  <cagney@gnu.org>
506
507         * top.h (source_error, source_pre_error): Delete declaration.
508         * cli/cli-script.c (source_error_allocated, source_error): Delete.
509         (script_from_file, source_cleanup_lines): Do not manipulate
510         source_error_allocated, error_pre_print and source_error.
511         (struct source_cleanup_lines_args): Delete fields old_pre_error,
512         and old_error_pre_print.
513         * top.c (source_error_allocated, source_error)
514         (source_pre_error): Delete.
515         (command_line_input): Do not set error_pre_print.
516         * event-top.c (command_line_handler): Do not set error_pre_print.
517
518 2005-01-16  Jason Thorpe  <thorpej@netbsd.org>
519
520         * MAINTAINERS: Update my email address.
521
522 2005-01-16  Mark Kettenis  <kettenis@gnu.org>
523
524         * configure.ac: Provide prerequisite headers when checking
525         <term.h>.
526         * configure: Regenerate.
527
528         * amd64fbsd-tdep.c: Update copyright year.  Include "gdb_assert.h"
529         and "bsd-uthread.h".
530         (amd64fbsd_jmp_buf_reg_offset): New variable.
531         (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
532         functions.
533         (amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
534         * i386fbsd-tdep.c: Fix typo.
535         * Makefile.in (amd64fbsd-tdep.o): Update dependencies.
536         * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
537
538 2005-01-16  Andrew Cagney  <cagney@gnu.org>
539
540         * cli/cli-script.c: Include "exceptions.h".
541         (struct wrapped_read_command_file_args): Define.
542         (wrapped_read_command_file): New function.
543         (script_from_file): Replace direct call to read_command_file by
544         one wrapped by an exception handler.
545         * exceptions.c (throw_it): Free the old message after creating the
546         new.
547         * Makefile.in: Update dependencies.
548         
549 2005-01-16  Mark Kettenis  <kettenis@gnu.org>
550
551         * sparc64fbsd-tdep.c: Update copyright year.
552         (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
553         functions.
554         (sparc64fbsd_init_abi): Create register sets with collect
555         functions.
556
557         * sparc64fbsd-nat.c: Include "fbsd-nat.h".
558         (_initialize_sparc64fbsd_nat): Add some extra features to the
559         generic SPARC target.
560         * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
561         * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
562         (NAT_FILE): Set to solib.h.
563         * config/sparc/nm-fbsd.h: Remove file.
564
565         * sparc64-tdep.c (sparc64_store_arguments): Fix typo.
566
567         * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
568
569 2005-01-16  Andrew Cagney  <cagney@gnu.org>
570
571         * exceptions.c (struct catcher): Delete saved_error_pre_print and
572         saved_quit_pre_print.
573         (catcher_init): Delete parameter errstring, do not override the
574         pre_print strings.
575         (catcher_pop): Do not restore the pre_print strings.
576         (catch_exception, catch_exceptions_with_msg, catch_errors)
577         (catch_command_errors): Update catch_init calls.
578
579 2005-01-16  Mark Kettenis  <kettenis@gnu.org>
580
581         * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
582         * sparc64fbsd-nat.c: Update copyright year.  Include "target.h".
583
584 2005-01-15  Andrew Cagney  <cagney@gnu.org>
585
586         * acinclude.m4: Include ../bfd/bfd.m4 instead of
587         ../bfd/acinclude.m4.  Include ../gettext.m4.
588         * aclocal.m4, configure: Re-generate.
589
590         * exceptions.c (do_captured_command)
591         (struct captured_command_args): Delete.
592         (catch_command_errors): Simplify by inlining call to catch_errors.
593
594         * exceptions.c (struct catcher): Delete field print_message.
595         (catcher_init): Delete print_message parameter.
596         (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
597         (throw_it): Delete prefix parameter.
598         (throw_verror, throw_vfatal, throw_error): Update.
599
600 2005-01-14  Andrew Cagney  <cagney@gnu.org>
601
602         * exceptions.c (print_and_throw): Delete, replaced by throw_it.
603         (throw_reason): Leave the exception's message field blank.
604         (throw_it): New function, create the exception and throw it.
605         (throw_verror, throw_vfatal, throw_error): Call throw_it.
606         (print_any_exception): New function.
607         (catch_errors, catch_exceptions_with_msg): Call
608         print_any_exception.
609         (throw_exception): Move code calling annotate_error and
610         annotate_quit from here ...
611         (print_exception): ... to here.
612
613         * exceptions.c (exception_fprintf, exception_print): Move printing
614         of \n from here ...
615         (print_exception): ... to here.
616         (print_flush): New function.
617         (exception_print, exception_fprintf): Replace duplicated flush and
618         wrap code with call to print_flush.
619         (print_and_throw): Simplify, by using xstrvprintf, print_flush,
620         and print_exception.
621         (do_write): Delete.
622
623         * remote-sds.c (interrupt_query): Call throw_reason instead of
624         throw_exception.
625         * remote-mips.c (mips_error, mips_kill): Ditto
626         * ocd.c (interrupt_query): Ditto.
627         * nto-procfs.c (interrupt_query): Ditto.
628         * monitor.c (monitor_interrupt_query): Ditto.
629
630 2005-01-14  Jeff Johnston  <jjohnstn@redhat.com>
631
632         * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
633
634 2005-01-14  Andrew Cagney  <cagney@gnu.org>
635
636         * exceptions.h (catch_exceptions): Delete errstring parameter.
637         (catch_exceptions_with_msg): Ditto.
638         * exceptions.c (catch_exceptions_with_msg): Update.
639         (catch_exceptions): Update.
640         * symfile-mem.c (add_vsyscall_page): Update.
641         * frame.c (get_current_frame): Update.
642         * wrapper.c (gdb_value_struct_elt): Update.
643         * exceptions.c (catch_exceptions): Update.
644         * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
645         * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
646         * remote-fileio.c (remote_fileio_request): Update.
647         
648         * exceptions.h (exception_fprintf): Declare.
649         (exception_print): Drop pre_print parameter.
650         * mi/mi-main.c (mi_execute_command): Update exception_print call.
651         * cli/cli-interp.c (safe_execute_command): Update exception_print
652         call.
653         * remote.c (remote_open_1): Instead of passing an error prefix to
654         catch_exceptions, use catch_exceptions and exception_fprintf.
655         (remote_start_remote): Change return type to void.
656         * breakpoint.c (insert_bp_location): Instead of passing an error
657         prefix to catch_exceptions, use catch_exceptions and
658         exception_fprintf.
659         (insert_catchpoint): Change return type to void.
660         (break_command_1): Update exception_print call.
661         * exceptions.c (exception_fprintf): New function.
662         (print_exception): New function.
663         (exception_print): Use print_exception.
664         
665         * utils.c (error_output_message): Delete function.
666         * defs.h (error_output_message): Delete declaration.
667
668         * linespec.c (symtab_from_filename, decode_variable): Use
669         throw_error instead of error_silent.
670         * breakpoint.c (do_captured_parse_breakpoint): Change return type
671         to void.
672         (break_command_1): Use catch_exception and check the error return
673         status.
674         * exceptions.c (throw_error): New function.
675         (throw_vsilent): Delete function.
676         * exceptions.h (throw_error): Declare.
677         (throw_vsilent): Delete declaration.
678         * utils.c (error_silent): Delete function.
679         * defs.h (error_silent): Delete declaration.
680         
681         * mi/mi-main.c (mi_execute_command): Print the exception.
682         * cli/cli-interp.c (safe_execute_command): Print the exception.
683         * exceptions.h (exception_print): Declare.
684         * exceptions.c (struct catcher): Add field print_message.
685         (catcher_init): Add parameter print_message, store in the catcher
686         struct.
687         (print_and_throw): Only print the message when print_message.
688         (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
689         catcher_init.
690         (catch_exception): Pass print_message=0 to catcher_init.
691
692         * varobj.c (varobj_create): Add missing \n.
693
694 2005-01-13  Michael Snyder  <msnyder@redhat.com>
695
696         * cli/cli-decode.h: Whitespace tweaks.
697         * wince.c: Whitespace tweaks.
698         * uw-thread.c: Whitespace tweaks.
699         * utils.c: Whitespace tweaks.
700         * tracepoint.[ch]: Whitespace tweaks.
701         * solist.h: Whitespace tweaks.
702
703 2005-01-13  Andrew Cagney  <cagney@gnu.org>
704
705         * exceptions.h (struct exception): Make message const.
706         * mi/mi-main.c (mi_execute_command): Pass result.message directly
707         to fputstr_unfiltered.
708
709 2005-01-13  Michael Snyder  <msnyder@redhat.com>
710
711         * stack.c: Whitespace tweaks.
712         * somsolib.[ch]: Whitespace tweaks.
713         * solib-aix.c: Whitespace tweaks.
714         * solib.c: Whitespace tweaks.
715         * solib-frv.c: Whitespace tweaks.
716         * solib.h: Whitespace tweaks.
717         * solib-irix.c: Whitespace tweaks.
718         * solib-som.c: Whitespace tweaks.
719         * solib-sunos.c: Whitespace tweaks.
720         * solib-svr4.[ch]: Whitespace tweaks.
721         * ser-tcp.c: Whitespace tweaks.
722         * ser-unix.c: Whitespace tweaks.
723         * serial.h: Whitespace tweaks.
724         * scm-valprint.c: Whitespace tweaks.
725         * rs6000-tdep.c: Whitespace tweaks.
726         * rs6000-nat.c: Whitespace tweaks.
727         * remote.c: Whitespace tweaks.
728
729 2005-01-13  Andrew Cagney  <cagney@gnu.org>
730
731         * defs.h (error_last_message, error_init): Delete declaration.
732         * utils.c (fatal, vfatal): Call throw_vfatal.
733         (error, verror): Call throw_verror;
734         (do_write, error_stream_1): Delete function.
735         (error_stream): Simplify, call error.
736         (error_last_message, error_init, gdb_lasterr): Delete.
737         (error_silent): Simplify, call throw_vsilent.
738         * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
739         * main.c (captured_main): Delete call to error_init.
740         * exceptions.c (throw_verror, throw_verror)
741         (throw_vsilent): New functions.
742         (do_write, print_and_throw): New functions.
743         (last_message): New global.
744         (throw_reason): Replace error_last_message with last_message.
745         (catch_exceptions_with_msg): Dup the message.
746         * exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
747         Declare.
748
749 2005-01-13  Michael Snyder  <msnyder@redhat.com>
750
751         * remote-st.c: Whitespace tweaks.
752         * remote-sim.c: Whitespace tweaks.
753         * remote-mips.c: Whitespace tweaks.
754         * pa64solib.[ch]: Whitespace tweaks.
755         * mdebugread.c: Whitespace tweaks.
756         * main.c: Whitespace tweaks.
757         * interps.c: Whitespace tweaks.
758         * infrun.c: Whitespace tweaks.
759         * infcmd.c: Whitespace tweaks.
760         * hpux-thread.c: Whitespace tweaks.
761         * hppa-hpux-tdep.c: Whitespace tweaks.
762         * gdbcore.h: Whitespace tweaks.
763         * gdbcmd.h: Whitespace tweaks.
764         * gdb-events[.c, .h, .sh]: Whitespace tweaks.
765         * corefile.c: Whitespace tweaks.
766         * completer.c: Whitespace tweaks.
767         * coff-solib.c: Whitespace tweaks.
768         * coff-solib.h: Whitespace tweaks.
769         * cli-out.c: Whitespace tweaks.
770         * breakpoint.c: Whitespace tweaks.
771         * cli/cli-interp.c: Tweak comments, per coding standard.
772
773 2005-01-13  Andrew Cagney  <cagney@gnu.org>
774
775         * breakpoint.c (gdb_breakpoint_query): Update, use
776         catch_exceptions_with_msg.
777         (do_captured_breakpoint): Add uiout parameter.
778         (gdb_breakpoint): Update, use catch_exceptions_with_msg.
779         * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
780         gdb_thread_select.  Return MI_CMD_ERROR instead of
781         MI_CMD_CAUGHT_ERROR.
782         (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
783         (enum captured_mi_execute_command_actions): Delete
784         EXECUTE_COMMAND_DISPLAY_ERROR.
785         (captured_mi_execute_command): Delete code handling
786         MI_CMD_CAUGHT_ERROR.
787         (mi_execute_command): Don't check for
788         EXECUTE_COMMAND_DISPLAY_ERROR.
789         * mi/mi-cmd-break.c (breakpoint_notify): Update call to
790         gdb_breakpoint_query.
791         (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
792         * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
793         * gdb.h (gdb_thread_select, gdb_list_thread_ids)
794         (gdb_breakpoint, gdb_breakpoint_query): Add error_message
795         parameter.
796         * thread.c (thread_command): Update call.
797         (gdb_thread_select, gdb_list_thread_ids): Update, call
798         catch_exceptions_with_msg.
799
800         * mi/mi-main.c (mi_execute_command): Use catch_exception,
801         eliminate call to error_last_message.
802         (captured_mi_execute_command): Change return type to void.
803
804 2005-01-12  Andrew Cagney  <cagney@gnu.org>
805
806         * exceptions.c (exception_none): New variable.
807         * Makefile.in: Update dependencies.
808         * interps.c: Include "exceptions.h".
809         (interpreter_exec_cmd, interp_exec): Update to return "struct
810         exception"
811         * exceptions.h (no_exception): Declare.
812         * tui/tui-interp.c (tui_exec): Update to return "struct exception"
813         * mi/mi-interp.c: Include "exceptions.h".
814         (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
815         'struct exception".
816         * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command) 
817         (do_captured_execute_command): Update to use catch_exception.
818         * interps.h: Include "exceptions.h".
819         (interp_exec_ftype, interp_exec): Return "struct exception".
820
821         * exceptions.h (throw_reason): Rename throw_exception.
822         (enum errors, struct exception): Define.
823         (catch_exception_ftype): Define.
824         (catch_exception, throw_exception): Declare.
825         * exceptions.c (throw_exception): Rewrite.
826         (throw_reason): New function.
827         (struct catcher, catcher_state_machine): Replace "reason" with
828         "exception", delete "gdberrmsg".
829         (catch_exception): New function.
830         (catcher_init): Replace "gdberrmsg" parameter with "exception".
831         (catch_errors, catch_exceptions_with_msg): Re-implement passing
832         exception to catcher_init.
833         * utils.c (error_silent, error_stream_1): Use throw_reason.
834         (internal_verror, quit): Ditto.
835         * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
836         * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
837         * remote.c (remote_open_1, interrupt_query): Ditto.
838
839 2005-01-12  Mark Kettenis  <kettenis@gnu.org>
840
841         * i386fbsd-tdep.c: Update copyright year.  Include "gdbcore.h",
842         "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
843         (i386fbsd_jmp_buf_reg_offset): New variable.
844         (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
845         functions.
846         (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
847         * Makefile.in (i386fbsd-tdep.o): Update dependency.
848         * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
849
850         * bsd-uthread.h: New file.
851         * bsd-uthread.c: New file.
852         * Makefile.in (bsd_uthread_h): New variable.
853         (ALLDEPFILES): Add bsd-uthread.c.
854         (bsd-uthread.o): New dependency.
855
856         * solib.h Update copyright year.
857         (struct so_list): Forward declaration.
858         (solib_read_symbols): New prototype.
859         * solib.c (solib_read_symbols): New function.
860         (solib_add): Call solib_read_symbols to read in symbols.
861         (update_solib_list): Call observer_notify_solib_loaded.
862
863         * i386bsd-nat.c: Update copyright year.  Don't include
864         <sys/param.h> and <sys/user.h>.
865         (register_u_addr, kernel_u_size): Remove functions.
866         * config/i386/obsd.mh (NAT_FILE): Remove.
867         * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
868         * config/i386/nm-obsd.h: Remove file.
869
870 2005-01-12  Andrew Cagney  <cagney@gnu.org>
871
872         * exceptions.c: Include "gdb_string.h".
873         (enum catcher_state, struct catcher): Define.
874         (current_catcher): New global, replaces catch_return;
875         (catch_return): Delete.
876         (throw_exception): Use current_catcher->buf;
877         (catcher_init, catcher_pop, catcher_state_machine): New functions.
878         (catcher): Delete.
879         (struct catch_errors_args): Delete.
880         (do_catch_errors): Delete.
881         (catch_exceptions): Replace body with call to
882         catch_exceptions_with_msg.
883         (catcher): Delete.
884         (catch_exceptions_with_msg, catch_errors): Re-implement using
885         catcher_state_machine.
886
887         * exceptions.h (enum return_reason, RETURN_MASK)
888         (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
889         (return_mask, throw_exception, catch_exceptions_ftype)
890         (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
891         (catch_command_errors_ftype, catch_command_errors): Move to
892         exceptions.h.
893         * exceptions.c, exceptions.h: New files.
894         * top.c: Do not include <setjmp.h>.
895         (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
896         (throw_exception, catcher, catch_exceptions)
897         (catch_exceptions_with_msg, struct catch_errors_args)
898         (do_catch_errors, catch_errors, struct captured_command_args)
899         (do_captured_command, catch_command_errors): Move to exceptions.c.
900         * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
901         * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
902         * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
903         * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
904         * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
905         * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
906         * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
907         * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
908         * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
909         * ada-valprint.c, ada-lang.c: Ditto.
910         * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
911         exceptions.o.  Update all dependencies.
912         
913 2005-01-11  Mark Kettenis  <kettenis@gnu.org>
914
915         * config/i386/nm-fbsd.h: Update copyright year.
916         Don't include "config/nm-bsd.h".
917         (KERNEL_U_SIZE): Remove macro.
918         (kernel_u_size): Remove prototype.
919
920         * config/vax/nbsdaout.mh (NAT_FILE): Remove.
921         * config/vax/nm-nbsdaout.h: Remove file.
922
923 2005-01-10  Elena Zannoni  <ezannoni@redhat.com>
924
925         * MAINTAINERS: Remove self from sh/sh64 maintainership.
926
927 2005-01-10  Andrew Cagney  <cagney@gnu.org>
928
929         * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
930         changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
931         maintainer.
932
933         * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
934         changes to CRIS.
935
936         * MAINTAINERS: Remove "Maintenance Only".  Spell out that CAN
937         COMMIT means can approve).
938
939 2005-01-10  Mark Kettenis  <kettenis@gnu.org>
940
941         * vax-nat.c: Update copyright year.  Include "inf-ptrace.h".
942         (vax_register_u_offset): Make statuc.
943         (_initialize_vax_nat): Construct and add target vector.
944         * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
945         inftarg.o.  Add inf-ptrace.o.
946         * Makefile.in (vax-nat.o): Update dependencies.
947
948         * inf-ptrace.h: Update copyright year.  Sync comment with
949         inf-ptrace.c.
950         (inf_ptrace_trad_target): New prototype.
951         * inf-ptrace.c: Update copyright year.  Include "regcache.h" and
952         "gdb_assert.h"
953         (inf_ptrace_target): Add comment.
954         (inf_ptrace+register_u_offset): New variable.
955         (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
956         (inf_ptrace_store_register, inf_ptrace_store_registers)
957         (inf_ptrace_trad_target): New functions.
958         * Makefile.in (inf-ptrace.o): Update dependencies.
959
960 2005-01-09  Mark Kettenis  <kettenis@gnu.org>
961
962         * configure.ac: Provide prerequisite headers when checking
963         <link.h>, <sys/proc.h> and <sys/user.h>.
964         * configure: Regenerate.
965
966 2005-01-08  Mark Kettenis  <kettenis@gnu.org>
967
968         * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
969         tm-ppc-eabi.h instead of the removed tm-nbsd.h.
970
971 2005-01-07  Mark Kettenis  <kettenis@gnu.org>
972
973         * config/ia64/tm-linux.h: Tweak comment.  Update copyright year.
974         Don't include "tm-ia64.h".
975         * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
976         * config/ia64/tm-ia64.h: Remove.  Move contents ...
977         * ia64-tdep.h: ... here.  Update copyright year.
978
979 2005-01-07  Andrew Cagney  <cagney@gnu.org>
980
981         * configure.ac: Rename configure.in, require autoconf 2.59.
982         * configure: Re-generate.
983
984         * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
985         xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
986         to configdirs.
987
988         * configure.in: Replace configdirs with multiple references to
989         AC_CONFIG_SUBDIRS.
990         * configure: Re-generate.
991         
992 2005-01-05  Andreas Schwab  <schwab@suse.de>
993
994         * ia64-tdep.c: Include "osabi.h".
995         (native_find_global_pointer): Delete.
996         (ia64_find_global_pointer): Renamed from
997         generic_elf_find_global_pointer.
998         (FIND_GLOBAL_POINTER): Delete.  Change all users to call
999         ia64_find_global_pointer instead.
1000         (ia64_gdbarch_init): Call gdbarch_init_osabi.  Remove references
1001         to ia64_linux_sigcontext_register_address and
1002         ia64_linux_write_pc.  Don't set tdep->find_global_pointer.
1003         (_initialize_ia64_tdep): Call gdbarch_register instead of
1004         deprecated register_gdbarch_init.
1005         (struct gdbarch_tdep): Remove find_global_pointer field and move
1006         to ...
1007         * ia64-tdep.h (struct gdbarch_tdep): ... here.
1008         (ia64_linux_sigcontext_register_address): Remove declaration.
1009         (ia64_linux_getunwind_table): Likewise.
1010         (ia64_linux_write_pc): Likewise.
1011         * ia64-linux-tdep.c: Include "osabi.h".
1012         (ia64_linux_sigcontext_register_address): Make static.
1013         (ia64_linux_write_pc): Likewise.
1014         (ia64_linux_init_abi): New.
1015         (_initialize_ia64_linux_tdep): New.
1016         * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
1017         $(osabi_h).
1018
1019 2005-01-05  Kevin Buettner  <kevinb@redhat.com>
1020
1021         * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on 
1022         functions in ia64-aix-tdep.c.
1023         * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
1024         function defined in ia64-aix-tdep.c.
1025         * ia64-aix-tdep.c: Remove file.
1026         * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
1027         this list.
1028         * Makefile.in (ia64-aix-tdep.o): Delete.
1029
1030 2005-01-05  Baurjan Ismagulov  <ibr@ata.cs.hun.edu.tr>
1031
1032         Committed by Andrew Cagney.
1033         * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
1034         * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
1035         * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
1036         * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
1037         * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
1038         * aix-thread.c (_initialize_aix_thread): Get rid of the
1039         deprecated_add_show_from_set call.
1040         * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
1041         * arm-tdep.c (_initialize_arm_tdep): Ditto.
1042         * command.h (add_setshow_enum_cmd): Add arguments for returning
1043         new list elements.
1044         * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
1045         * mips-tdep.c (_initialize_mips_tdep): Modify calls to
1046         add_setshow_enum_cmd.
1047
1048 2005-01-04  Mark Kettenis  <kettenis@gnu.org>
1049
1050         * configure.host (ia64-*-aix*): Remove.
1051         * configure.tgt (ia64-*-aix*): Remove.
1052         * config/ia64/aix.mh: Remove file.
1053         * config/ia64/aix.mt: Remove file.
1054         * config/ia64/tm-aix.h: Remove file.
1055         * ia64-aix-nat.c: Remove file.
1056         * Makefile.in (ia64-aix-nat.o): Remove dependency.
1057
1058         * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
1059         Add back inf-ptrace.o.
1060
1061 2005-01-04  Andrew Cagney  <cagney@gnu.org>
1062
1063         * version.in: Change format from 6.3.50_2005-01-04-cvs to
1064         6.3.50.20050104-cvs.
1065
1066 2005-01-04  Andreas Schwab  <schwab@suse.de>
1067
1068         * breakpoint.c (break_command_1): Always free err_msg before
1069         returning when an exception was caught.
1070
1071 2005-01-01  Joel Brobecker  <brobecker@gnat.com>
1072
1073         * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
1074         in register number for addil instruction.
1075
1076 For older changes see ChangeLog-2004.
1077 \f
1078 Local Variables:
1079 mode: change-log
1080 left-margin: 8
1081 fill-column: 74
1082 version-control: never
1083 End: