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