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