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