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