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