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