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