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