OSDN Git Service

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