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