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