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