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