OSDN Git Service

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