merge from gcc
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
e9274dd8
DL
12005-03-09 David Lecomber <david@lecomber.net>
2
3 * proc-api.c (_initialize_proc_api): Fix invalid multi-line
4 i18n text.
5
5b2d44a0
MK
62005-03-09 Mark Kettenis <kettenis@gnu.org>
7
8 * sparc-tdep.c (sparc_frame_cache): Adjust cached frame base
9 address for 64-bit code.
10 (sparc_unwind_dummy_id): Likewise.
11 * sparc64-tdep.c (sparc64_frame_prev_register): Adjust for new
12 frame base address convention.
13 (sparc64_push_dummy_call): Likewise.
14 * sparc64nbsd-tdep.c: Update copyright year.
15 (sparc64nbsd_sigcontext_frame_cache): Adjust cached frame base
16 address for 64-bit code.
17 (sparc64nbsd_init_abi): Tweak comment.
18 * sparc64obsd-tdep.c: Update copyright year.
19 (sparc64obsd_frame_cache): Adjust cached frame base address for
20 64-bit code.
21 (sparc64obsd_init_abi): Tweak comment.
22
8d19ca47 232005-03-09 Corinna Vinschen <vinschen@redhat.com>
5b5464ad 24
8d19ca47
CV
25 * exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.
26
272005-03-09 Joel Brobecker <brobecker@adacore.com>
28
29 * dwarf2read.c (dwarf_decode_lines): Use the complete filename
30 when creating include psymtabs.
5b5464ad 31
1bf1958d
MM
322005-03-08 Mark Mitchell <mark@codesourcery.com>
33
34 * environ.h (struct environ): Rename to ...
35 (struct gdb_environ): ... this.
36 (make_environ): Update prototype.
37 (free_environ): Likewise.
38 (init_environ): Likewise.
39 (get_in_environ): Likewise.
40 (set_in_environ): Likewise.
41 (unset_in_environ): Likewise.
42 (environ_vector): Likewise.
43 * environ.c (make_environ): Replace "struct environ" with "struct
44 gdb_environ".
45 (free_environ): Likewise.
46 (init_environ): Likewise.
47 (environ_vector): Likewise.
48 (get_in_environ): Likewise.
49 (set_in_environ): Likewise.
50 (unset_in_environ): Likewise.
51 * infcmd.c (inferior_environ): Likewise.
52 * inferior.h (inferior_environ): Likewise.
53
f67a969f
JB
542005-03-08 Joel Brobecker <brobecker@adacore.com>
55
56 * infcmd.c (run_command_1): New function, extracted from
57 run_command.
58 (run_command): Replace implementation by call to run_command_1.
59 (start_command): Use run_command_1 to insert the temporary
60 breakpoint and run the program. Remove code that's no longer
61 needed, as already done at the proper time by run_command_1.
62
c0501be5
DJ
632005-03-08 Daniel Jacobowitz <dan@codesourcery.com>
64
65 * symfile.c (clear_symtab_users): Call
66 clear_current_source_symtab_and_line first.
67
549678da
NS
682005-03-08 Nathan Sidwell <nathan@codesourcery.com>
69
36e9969c
NS
70 * ax-gdb.c (gen_expr): Add UNOP_PLUS case.
71 * c-exp.y (exp): Add unary plus.
72 * eval.c (evaluate_subexp_standard): Add UNOP_PLUS case.
73 * valarith.c (value_x_unop): Add UNOP_PLUS case.
74 (value_pos): New.
75 * value.h (value_pos): Declare.
76
3de11b2e
NS
77 * remote.c (MIN_REMOTE_PACKET_SIZE): Set to 20.
78 (remote_fetch_registers): Allow uppercase hex when resyncing.
79 (remote_write_bytes): Only call get_memory_write_packet_size once.
80 Robustify packet size calculation for very small packets. Check
81 that at least one byte will be written.
82
549678da
NS
83 * tracepoint.c (target_is_remote): Allow extended-remote.
84 (struct collection_list): Allow 256 registers, like the comment
85 said.
86 (add_memrange): Fix comment.
87 (read_actions): Turn EOF into 'end'.
88
20be272b
CV
892005-03-08 Corinna Vinschen <vinschen@redhat.com>
90
91 * Makefile.in: Add dependencies for iq2000-tdep.o.
92 * configure.tgt: Add iq2000-*-* target.
93 * iq2000-tdep.c: New file.
94 * config/iq2000/iq2000.mt: New file.
95
ea53e89f
JB
962005-03-07 Joel Brobecker <brobecker@adacore.com>
97
98 * doc/observer.texi (executable_changed): New observer.
99 * symtab.c: Include "observer.h".
100 (find_main_name): New function.
101 (main_name): If name_of_main is unset, then compute it
102 using find_main_name.
103 (symtab_observer_executable_changed): New function.
104 (_initialize_symtab): Attach executable_changed observer.
105 * exec.c: Include "observer.h".
106 (exec_file_attach): Emit executable_changed notification.
107 * symfile.c: Include "observer.h".
108 (reread_symbols): Send an executable_changed if appropriate.
109 * Makefile.in (exec.o): Add dependency on observer.h.
110 (symfile.o): Likewise.
111 (symtab.o): Likewise.
112
bb044262
DJ
1132005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
114
115 * findvar.c (read_var_value): Don't allocate V when it will not
116 be used. Add missing break for LOC_INDIRECT.
117
9e07977b
MK
1182005-03-06 Mark Kettenis <kettenis@gnu.org>
119
120 * sparc64fbsd-tdep.c: Include "solib-svr4.h".
121 (sparc64fbsd_init_abi): Set skip_trampoline_code and
122 solib_svr4_fetch_link_map_offsets.
123 * Makefile.in (sparc64fbsd-tdep.o): Update dependencies.
124
88d7a738 1252005-03-06 Daniel Jacobowitz <dan@codesourcery.com>
f75c00e4
DJ
126
127 * linux-nat.c (child_follow_fork): Call target_terminal_ours before
128 printing output. Use fprintf_unfiltered. Only print output when
129 debugging.
130
e5a8e242 1312005-03-05 Mark Kettenis <kettenis@gnu.org>
e219d7ce
MK
132
133 * sparc64-tdep.c (sparc64_store_floating_fields): Constify third
134 argument.
135 (sparc64_store_arguments): Constify.
136
dda5f19a
MK
1372005-03-05 Mark Kettenis <kettenis@gnu.org>
138
0d6e4ad7
MK
139 * alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h".
140 (alphabsd_fetch_inferior_registers): Rename from
141 fetch_inferior_registers. Make static.
142 (alphabsd_store_inferior_registers): Rename from
143 store_inferior_registers. Make static.
144 (_initialize_alphabsd_nat): New function.
145 * Makefile.in (alphabsd-nat.o): Update dependencies.
146 * config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and
147 inftarg.o. Add inf-ptrace.o, fbsd-nat.o and gcore.o.
148 * config/alpha/nbsd.mh (NAT_CLIBS): Remove variable.
149 (NATDEPFILES): Remove infptrace.o and inftarg.o. Add
150 alphabsd-nat.o.
151 * config/alpha/nm-fbsd.h: Update copyright year. Don't include
152 "config/nm-bsd.h" and "elf/common.h".
153 * config/alpha/nm-nbsd.h: Update copyright year. Don't include
154 "config/nm-nbsd.h".
155
dda5f19a
MK
156 * mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
157 software_single_step.
158
aac71672
MS
1592005-03-04 Michael Snyder <msnyder@redhat.com>
160
161 * mn10300-prologue.c: New file. Prologue analysis.
162 * mn10300-tdep.c: Move REGNUM values to mn10300-tdep.h.
163 (mn10300_frame_unwind_cache): Don't call trad_frame_set_id
164 until after analyze_prologue, and don't call trad_frame_set_base
165 at all (let analyze_prologue do it).
166
61e784e7
MS
1672005-03-04 Michael Snyder <msnyder@redhat.com>
168
169 * trad-frame.c (trad_frame_set_reg_value): New function.
170 * trad-frame.h (trad_frame_set_reg_value): Export.
171
6867ae3e
DJ
1722005-03-04 Daniel Jacobowitz <dan@codesourcery.com>
173
174 * Makefile.in (remote.o): Update dependencies.
175 * remote.c: Include "observer.h".
176
f90221d3
DJ
1772005-03-04 Daniel Jacobowitz <dan@codesourcery.com>
178
179 * target.c (target_read_memory_partial): Always initialize
180 ERR.
181 (target_write_memory_partial): Likewise.
182
e20b4638
DJ
1832005-03-03 Daniel Jacobowitz <dan@codesourcery.com>
184
185 * remote.c (remote_open_1): Call observer_notify_inferior_created.
186
909cf6ea
DJ
1872005-03-03 Daniel Jacobowitz <dan@codesourcery.com>
188
189 * arm-tdep.c (arm_make_stub_cache, arm_stub_this_id)
190 (arm_stub_unwind, arm_stub_unwind_sniffer): New.
191 (arm_gdbarch_init): Add arm_stub_unwind_sniffer.
192
d3587048
DJ
1932005-03-02 Daniel Jacobowitz <dan@codesourcery.com>
194
195 * linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):
196 Use LWP IDs.
197
806048c6
DJ
1982005-02-28 Daniel Jacobowitz <dan@codesourcery.com>
199
200 * dwarf2loc.c (loclist_read_variable): Set optimized_out
201 instead of reporting an error.
202 * valprint.c (value_check_printable): New function.
203 (common_val_print): New function. Use value_check_printable.
204 (value_print): Use value_check_printable.
205 * value.h (common_val_print): Add prototype.
206
207 * c-valprint.c (c_val_print): Use common_val_print.
208 * cp-valprint.c (cp_print_value_fields): Likewise.
209 (cp_print_hpacc_virtual_table_entries): Likewise.
210 * f-valprint.c (f_val_print): Likewise.
211 * jv-valprint.c (java_value_print, java_print_value_fields):
212 Likewise.
213 * scm-valprint.c (scm_value_print): Likewise.
214 * stack.c (print_frame_args): Likewise.
215 * varobj.c (c_value_of_variable): Likewise.
216 * p-valprint.c (pascal_val_print, pascal_value_print): Likewise.
217 (pascal_object_print_value_fields): Likewise. Update call to
218 pascal_object_print_static_field.
219 (pascal_object_print_static_field): Remove TYPE argument. Use
220 common_val_print.
221
dd373385
EZ
2222005-02-25 Mark Kettenis <kettenis@gnu.org>
223
224 Committed by Elena Zannoni <ezannoni@redhat.com>
225
226 * dwarf2read.c (dwarf2_build_psymtabs_hard): Adjust
227 info_ptr before building psymtabs for included files.
228 (create_all_comp_units): Initailize initial length size of
229 compilation header to zero.
230 (read_initial_length): Complain if both 32-bit and 64-bit DWARF
231 sections are encountered within the same compilation header.
232 (dwarf_decode_line_header): Pass compilation header in call to
233 read_initial_length.
234
920d2a44
AC
2352005-02-24 Andrew Cagney <cagney@gnu.org>
236
237 Add show_VARIABLE functions, update add_setshow call.
238 * varobj.c (_initialize_varobj, show_varobjdebug): Add and update.
239 * valprint.c (_initialize_valprint, show_print_max)
240 (show_stop_print_at_null, show_repeat_count_threshold)
241 (show_prettyprint_structs, show_unionprint)
242 (show_prettyprint_arrays, show_addressprint, show_input_radix)
243 (show_output_radix): Ditto.
244 * valops.c (_initialize_valops, show_overload_resolution): Ditto.
245 * utils.c (initialize_utils, show_chars_per_line)
246 (show_lines_per_page, show_demangle, show_pagination_enabled)
247 (show_sevenbit_strings, show_asm_demangle): Ditto
248 * tui/tui-win.c (_initialize_tui_win, show_tui_border_kind)
249 (show_tui_border_mode, show_tui_active_border_mode): Ditto.
250 * top.c (init_main, show_new_async_prompt)
251 (show_async_command_editing_p, show_write_history_p)
252 (show_history_size, show_history_filename, show_caution)
253 (show_annotation_level, init_main): Ditto.
254 * target.c (initialize_targets, show_targetdebug)
255 (show_trust_readonly): Ditto.
256 * symfile.c (_initialize_symfile, show_symbol_reloading)
257 (show_ext_args, show_download_write_size)
258 (show_debug_file_directory): Ditto.
259 * source.c (_initialize_source, show_lines_to_list): Ditto.
260 * solib.c (_initialize_solib, show_auto_solib_add)
261 (show_solib_search_path): Ditto.
262 * p-valprint.c (_initialize_pascal_valprint)
263 (show_pascal_static_field_print): Ditto.
264 * printcmd.c (_initialize_printcmd, show_max_symbolic_offset)
265 (show_print_symbol_filename): Add and update.
266 * parse.c (_initialize_parse, show_expressiondebug): Dito.
267 * observer.c (_initialize_observer, show_observer_debug): Dito.
268 * maint.c (_initialize_maint_cmds, show_watchdog)
269 (show_maintenance_profile_p): Dito.
270 * linux-nat.c (_initialize_linux_nat, show_debug_linux_nat): Dito.
271 * infrun.c (_initialize_infrun, show_debug_infrun)
272 (show_stop_on_solib_events, show_follow_fork_mode_string)
273 (show_scheduler_mode, show_step_stop_if_no_debug): Ditto.
274 * infcall.c (_initialize_infcall, show_coerce_float_to_double_p)
275 (show_unwind_on_signal_p): Ditto.
276 * gdbtypes.c (build_gdbtypes, show_opaque_type_resolution)
277 (_initialize_gdbtypes, show_overload_debug): Ditto.
278 * gdb-events.c, gdb-events.sh (_initialize_gdb_events)
279 (show_gdb_events_debug): Ditto.
280 * gdbarch.c, gdbarch.sh (show_gdbarch_debug)
281 (_initialize_gdbarch): Ditto.
282 * frame.c (_initialize_frame, show_backtrace_past_main)
283 (show_backtrace_past_entry, show_backtrace_limit)
284 (show_frame_debug): Ditto.
285 * exec.c (_initialize_exec, show_write_files): Ditto.
286 * dwarf2read.c (_initialize_dwarf2_read)
287 (show_dwarf2_max_cache_age): Ditto.
288 * demangle.c (_initialize_demangler)
289 (show_demangling_style_names): Ditto.
290 * dcache.c (_initialize_dcache, show_dcache_enabled_p): Ditto.
291 * cp-valprint.c (show_static_field_print)
292 (_initialize_cp_valprint, show_vtblprint, show_objectprint): Ditto.
293 * corefile.c (_initialize_core, show_gnutarget_string): Ditto.
294 * cli/cli-logging.c (_initialize_cli_logging)
295 (show_logging_overwrite, show_logging_redirect)
296 (show_logging_filename): Ditto.
297 * cli/cli-cmds.c (show_info_verbose, show_history_expansion_p)
298 (init_cli_cmds, show_baud_rate, show_remote_debug)
299 (show_remote_timeout, show_max_user_call_depth): Ditto.
300 * charset.c (show_host_charset_name, show_target_charset_name)
301 (initialize_charset): Ditto.
302 * breakpoint.c (show_can_use_hw_watchpoints)
303 (show_pending_break_support, _initialize_breakpoint): Ditto.
304
2877b4cc
JB
3052005-02-23 Jim Blandy <jimb@redhat.com>
306
307 * disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.
308
e9c55a7b
AC
3092005-02-23 Andrew Cagney <cagney@gnu.org>
310
311 * cli/cli-dump.c (dump_bfd_file): Replace magic constant with
312 SEC_XXX flags.
313
04ac69aa
AC
3142005-02-22 Andrew Cagney <cagney@gnu.org>
315
316 * configure.ac: Only enaable insight when itcl is present.
317 * configure: Re-generate.
318
3470a02f
AC
3192005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
320
321 Committed by Andrew Cagney.
322 * infptrace.c (store_register): Fix typo.
323
b66df561
AC
3242005-02-21 Andrew Cagney <cagney@gnu.org>
325
326 * command.h (deprecated_add_set_cmd): Rename add_set_cmd.
327 * cli/cli-decode.h (add_set_cmd): Delete declaration.
328 * cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd.
329 * i386-nat.c (_initialize_i386_nat): Update call.
330 * valprint.c (_initialize_valprint): Update comment.
331 * gnu-nat.c (_initialize_gnu_nat): Update call.
332
85e3476f
AM
3332005-02-21 Alan Modra <amodra@bigpond.net.au>
334
335 * elfread.c (elf_symtab_read): Discard section syms.
336
4d28ad1e
AC
3372005-02-21 Andrew Cagney <cagney@gnu.org>
338
eefe576e
AC
339 * cli/cli-decode.c (add_set_enum_cmd): Delete function.
340 (deprecated_add_show_from_set): Delete function.
341 * command.h (add_set_enum_cmd): Delete declaration.
342 (deprecated_add_show_from_set): Delete declaration.
343 * cli/cli-decode.h (add_set_enum_cmd): Delete declaration.
344 (deprecated_add_show_from_set): Delete declaration.
345 * arm-tdep.c (_initialize_arm_tdep): Update comment.
346 * kod.c (kod_set_os): Simplify.
347 * infrun.c (set_schedlock_func): Simplify.
348 * cli/cli-dump.c (add_dump_command): Update comment.
349
525226b5
AC
350 Replace string variables with a filename completer with
351 add_setshow_optional_filename_cmd.
352 * solib.c, symfile.c: Update.
353 * cli/cli-setshow.c: Do not tidle expand the file.
354
4d28ad1e
AC
355 Add more uses of add_setshow_string_cmd, add_setshow_integer_cmd,
356 and add_setshow_string_noescape_cmd.
357 * cli/cli-setshow.c (deprecated_show_value_hack): Do not print a
358 NULL command's value.
359 * kod.c, language.c, ocd.c, remote-e7000.c, remote-mips.c: Update.
360 * remote-sds.c, remote.c, symfile.c, top.c: Update.
361
942fd9fe
AC
3622005-02-20 Andrew Cagney <cagney@gnu.org>
363
7ab04401
AC
364 Use add_setshow_enum_cmd through out.
365 * arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update.
366 * infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update.
367
78f5381d
AC
368 * mi/mi-main.c (captured_mi_execute_command): Use
369 mi_cmd_interpreter_exec.
370
b4b4ac0b
AC
371 * cli/cli-decode.c (add_setshow_optional_filename_cmd): New
372 function.
373 * cli/cli-setshow.c (deprecated_show_value_hack)
374 (do_setshow_command): Handle var_optional_filename.
375 * command.h (enum var_types): Add var_optional_filename.
376 (add_setshow_optional_filename_cmd): Declare.
377 * infcmd.c (notice_args_read): Use.
378
942fd9fe
AC
379 * symfile-mem.c (symbol_file_add_from_memory): Pass
380 target_read_memory to bfd_elf_bfd_from_remote_memory.
381 (do_target_read_memory): Delete.
382
a6c442d8
MK
3832005-02-16 Mark Kettenis <kettenis@gnu.org>
384
385 * value.h (value_contents_equal): New prototype.
386 * value.c (value_contents_equal): New function.
387 * varobj.c: Include "exceptions.h" and "gdb_assert.h". Don't
388 include <math.h>.
389 (varobj_set_value): Initialize error to zero.
390 (varobj_update): Rename error2 to error and initialize it to zero.
391 Slightly change the wording of some comments.
392 (my_value_equal): Reimplement using TRY_CATCH and
393 value_contents_equal.
394
5bf193a2
AC
3952005-02-18 Andrew Cagney <cagney@gnu.org>
396
c0d88b1b
AC
397 * cli/cli-decode.c (add_setshow_integer_cmd): New function.
398 * command.h (add_setshow_integer_cmd): Declare.
399 * cli/cli-cmds.c: Update.
400
35096d9d
AC
401 Use add_setshow_uinteger_cmd through out.
402 * printcmd.c, source.c, utils.c, valprint.c: Update.
403
85c07804
AC
404 Use add_setshow_zinteger_cmd through out. Re-sync gdbarch.sh
405 and gdbarch.c.
406 * breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update.
407 * gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update.
408 * pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update.
409 * serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update.
410 * varobj.c, cli/cli-cmds.c: Update.
411 * gdbarch.c, gdb-events.c: Regenerate.
412
5bf193a2
AC
413 Use add_setshow_boolean_command through out. Delete #ifdef 0'ed
414 code adding set/show boolean commands.
415 * cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
416 * monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update.
417 * proc-api.c, remote-mips.c, remote.c, solib.c: Update.
418 * somsolib.c, symfile.c, top.c, utils.c, valops.c: Update.
419 * valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update.
420 * cli/cli-cmds.c: Update.
421
2c5b56ce
AC
4222005-02-17 Andrew Cagney <cagney@gnu.org>
423
f397e303
AC
424 * cli/cli-decode.c (add_setshow_filename_cmd): Set the completer
425 to filename_completer.
426 * solib.c (_initialize_solib, reload_shared_libraries): Use
427 add_setshow_filename_cmd.
428 * serial.c (_initialize_serial): Ditto.
429 * remote-utils.c (_initialize_sr_support): Ditto.
430
26c41df3
AC
431 * cli/cli-decode.c (add_setshow_string_noescape_cmd): New function.
432 * command.h (add_setshow_string_noescape_cmd): Declare.
433 * wince.c (_initialize_wince): Use.
434 * symfile.c (_initialize_symfile): Use.
435 (set_ext_lang_command): Update declaration.
436 * corefile.c (_initialize_core): Use.
437
2c5b56ce
AC
438 * cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd)
439 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
440 (add_setshow_filename_cmd, add_setshow_string_cmd)
441 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
442 fprint_setshow parameter.
443 * command.h (fprint_setshow_ftype): Delete.
444 (add_setshow_cmd_full, add_setshow_enum_cmd)
445 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
446 (add_setshow_filename_cmd, add_setshow_string_cmd)
447 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
448 fprint_setshow parameter.
449 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
450 * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update.
451 * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update.
452 * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update
453 * remote.c, target.c, cli/cli-logging.c: Update.
454
08546159
AC
4552005-02-16 Andrew Cagney <cagney@gnu.org>
456
457 Merge setshow print and show parameters.
458 * command.h (show_value_ftype): Define.
459 (deprecated_show_value_hack): Declare.
460 (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
461 (add_setshow_boolean_cmd, add_setshow_filename_cmd)
462 (add_setshow_string_cmd, add_setshow_uinteger_cmd)
463 (add_setshow_zinteger_cmd): Change type of show_func to
464 show_value_ftype.
465 * cli/cli-decode.h (struct cmd_list_element): Replace
466 fprint_setshow with show_value_func.
467 * cli/cli-decode.c (add_setshow_cmd_full): Update show_func
468 parameter. Set show_value_func. Do not set cmd_sfunc.
469 (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
470 (add_setshow_boolean_cmd, add_setshow_filename_cmd)
471 (add_setshow_string_cmd, add_setshow_uinteger_cmd)
472 (add_setshow_zinteger_cmd): Update.
473 * complaints.c (complaints_show_value): Replace
474 fprint_setshow_complaints.
475 (_initialize_complaints): Update.
476 * mips-tdep.c (show_mask_address): Update.
477 * arm-tdep.c (show_fp_model): Update.
478 * cli/cli-setshow.c (do_setshow_command): Call show_value_func
479 instead of fprint_setshow. Use deprecated_show_value_hack.
480 (deprecated_show_value_hack): New function.
481 * remote.c (add_packet_config_cmd, show_remote_cmd):
482 (show_remote_protocol_P_packet_cmd)
483 (show_remote_protocol_P_packet_cmd)
484 (show_remote_protocol_Z_access_wp_packet_cmd)
485 (show_remote_protocol_Z_hardware_bp_packet_cmd)
486 (show_remote_protocol_Z_packet_cmd)
487 (show_remote_protocol_Z_read_wp_packet_cmd)
488 (show_remote_protocol_Z_software_bp_packet_cmd)
489 (show_remote_protocol_Z_write_wp_packet_cmd)
490 (show_remote_protocol_binary_download_cmd)
491 (show_remote_protocol_p_packet_cmd)
492 (show_remote_protocol_qPart_auxv_packet_cmd)
493 (show_remote_protocol_qSymbol_packet_cmd)
494 (show_remote_protocol_vcont_packet_cmd): Update.
495
1c7b1e5a
MK
4962005-02-16 Mark Kettenis <kettenis@gnu.org>
497
498 * wrapper.h: Update copyright year. Properly wrap a few
499 prototypes.
500 (struct gdb_wrapper_arguments): Remove forward declaration.
501 * wrapper.c: Update copyright year. Include "ui-out.h".
502 (struct gdb_wrapper_arguments): Remove.
503 (struct captured_value_struct_elt_args): Remove.
504 (wrapper_parse_exp_1, wrap_evaluate_expression)
505 (wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign)
506 (wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type)
507 (do_captured_value_struct_elf): Remove functions.
508 (gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy)
509 (gdb_value_equal, gdb_value_assign, gdb_value_subscript)
510 (gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt):
511 Re-implement using TRY_CATCH.
512
7124f6fb
YS
5132005-02-16 Yoshinori Sato <ysato@users.sourceforge.jp>
514
515 * remote-e7000.c: unuse TM_FILE defined macro.
516 (e7000_fetch_registers)
517 (e7000_store_registers)
518 (e7000_wait): delete NUM_REALREGS.
519 * remote-hms.c: move TM_FILE macro.
520 (CCR_REGNO): move define from tm-h8300.h.
521
55e5a6d0
MK
5222005-02-15 Mark Kettenis <kettenis@gnu.org>
523
524 * amd64-linux-tdep.c: Update copyright year.
a348ae87
MK
525 (amd64_linux_sigtramp_start): Use sizeof operator instead of
526 LINUX_SIGTRAMP_LEN.
55e5a6d0 527
77ef991d
JB
5282004-02-15 Joel Brobecker <brobecker@gnat.com>
529
530 From Paul Hilfinger <hilfinger@gnat.com>
531 * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
532 SYMBOL_NATURAL_NAME to set type names.
533
1bedd215
AC
5342005-02-15 Andrew Cagney <cagney@gnu.org>
535
536 Mark up add_com, add_info and add_prefix_cmd.
537 * breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
538 * exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
539 * go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
540 * kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
541 * maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
542 * ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
543 * remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
544 * remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
545 * remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
546 * sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
547 * symfile.c, symtab.c, target.c, thread.c, top.c: Update.
548 * tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
549 * win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
550 * cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
551 * tui/tui-stack.c, tui/tui-win.c: Update.
552
66bf4b3a
AC
5532005-02-14 Andrew Cagney <cagney@gnu.org>
554
3f325092
AC
555 * config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete.
556 * config/h8300/tm-h8300.h: Delete file.
557
1a966eab
AC
558 Mark up add_cmd.
559 * arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update.
560 * cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update.
561 * exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update.
562 * infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update.
563 * mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update.
564 * reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update.
565 * sol-thread.c, source.c, stack.c, symfile-mem.c: Update.
566 * symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update.
567 * win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
568 * cli/cli-logging.c, tui/tui-regs.c: Update.
569
7915a72c
AC
570 Mark up add_setshow functions, replace "PRINT:" comment prefix
571 with "FIXME: i18n:".
572 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
573 * cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update.
574 * infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update.
575 * nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update.
576 * target.c, cli/cli-logging.c: Update.
577
66bf4b3a
AC
578 * utils.c (paddress): New function.
579 * defs.h (paddress): Declare.
580 * printcmd.c (deprecated_print_address_numeric): Rename
581 print_address_numeric, call paddress.
582 * valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update.
583 * symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update.
584 * maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update.
585 * dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update.
586 * corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update.
587 * ada-valprint.c: Update.
588
33e6b12b
RR
5892005-02-13 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
590
591 * MAINTAINERS: Add myself to "Write After Approval".
592
f0bdd87d
YS
5932005-02-12 Yoshinori Sato <ysato@users.sourceforge.jp>
594
595 Restore h8300 support.
596 * configure.tgt: Add h8300-*-*
ba0e80db
YS
597 * h8300-tdep.c: New file. Rewrite new frame code.
598 * config/h8300/h8300.mt: New file. Restored Rev 1.3
599 * config/h8300/tm-h8300.h: New file. Restored Rev 1.21
600
601 * MAINTAINERS: Add myself to "Write After Approval".
f0bdd87d 602
e2e0b3e5
AC
6032005-02-11 Andrew Cagney <cagney@gnu.org>
604
a3f17187
AC
605 Mark up some of printf_filtered and printf_unfiltered.
606 * ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update.
607 * corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update.
608 * demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update.
609 * event-loop.c, event-top.c, exec.c, f-valprint.c: Update.
610 * gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update.
611 * infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update.
612 * linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update.
613 * mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update.
614 * ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update.
615 * remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update.
616 * stack.c, symfile.c, symmisc.c, target.c, thread.c: Update.
617 * top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update.
618 * cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update.
619 * tui/tui-regs.c, tui/tui-win.c: Update.
620
e2e0b3e5
AC
621 Mark up error_no_arg, query, perror_with_name, complaint, and
622 internal_error.
623 * breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update.
624 * cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update.
625 * dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update.
626 * dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update.
627 * exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update.
628 * frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update.
629 * gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update.
630 * go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update.
631 * i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update.
632 * i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update.
633 * infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update.
634 * interps.c, language.c, linespec.c, linux-nat.c: Update.
635 * m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update.
636 * m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update.
637 * macrotab.c, maint.c, mdebugread.c, memattr.c: Update.
638 * mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update.
639 * mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update.
640 * objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update.
641 * parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update.
642 * ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update.
643 * regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update.
644 * remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update.
645 * remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update.
646 * s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update.
647 * sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update.
648 * solib-aix5.c, solib-svr4.c, solib.c, source.c: Update.
649 * sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update.
650 * symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update.
651 * utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update.
652 * win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update.
653 * cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update.
654 * cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update.
655 * mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update.
656 * tui/tui-file.c, tui/tui-interp.c: Update.
8a3fe4f8 657
e2e0b3e5
AC
6582005-02-10 Andrew Cagney <cagney@gnu.org>
659
8a3fe4f8
AC
660 Mark up all error and warning messages.
661 * ada-lang.c, amd64-tdep.c, arch-utils.c, breakpoint.c: Update.
662 * bsd-kvm.c, bsd-uthread.c, coff-solib.h, coffread.c: Update.
663 * core-aout.c, core-regset.c, corefile.c, corelow.c: Update.
664 * cp-abi.c, cp-support.c, cp-valprint.c, cris-tdep.c: Update.
665 * dbxread.c, demangle.c, doublest.c, dsrec.c: Update.
666 * dve3900-rom.c, dwarf2expr.c, dwarf2loc.c: Update.
667 * dwarf2read.c, dwarfread.c, elfread.c, eval.c: Update.
668 * event-top.c, exec.c, expprint.c, f-lang.c: Update.
669 * f-typeprint.c, f-valprint.c, fbsd-nat.c, findvar.c: Update.
670 * frame.c, frv-linux-tdep.c, gcore.c, gdbtypes.c: Update.
671 * gnu-nat.c, gnu-v2-abi.c, gnu-v3-abi.c, go32-nat.c: Update.
672 * hpacc-abi.c, hppa-hpux-nat.c, hppa-hpux-tdep.c: Update.
673 * hppa-linux-nat.c, hppa-linux-tdep.c, hppa-tdep.c: Update.
674 * hpread.c, hpux-thread.c, i386-linux-nat.c: Update.
675 * i386-linux-tdep.c, i386-tdep.c, i386bsd-nat.c: Update.
676 * i386gnu-nat.c, i387-tdep.c, ia64-linux-nat.c: Update.
677 * ia64-tdep.c, inf-child.c, inf-ptrace.c, inf-ttrace.c: Update.
678 * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
679 * inftarg.c, interps.c, irix5-nat.c, jv-lang.c: Update.
680 * kod-cisco.c, kod.c, language.c, libunwind-frame.c: Update.
681 * linespec.c, linux-nat.c, linux-thread-db.c, m2-lang.c: Update.
682 * m32r-rom.c, m68hc11-tdep.c, m68k-tdep.c: Update.
683 * m68klinux-nat.c, macrocmd.c, macroexp.c, main.c: Update.
684 * maint.c, mdebugread.c, mem-break.c, memattr.c: Update.
685 * mips-linux-tdep.c, mips-tdep.c, mipsread.c, monitor.c: Update.
686 * nlmread.c, nto-procfs.c, objc-lang.c, objfiles.c: Update.
687 * observer.c, ocd.c, p-lang.c, p-typeprint.c: Update.
688 * p-valprint.c, pa64solib.c, parse.c, ppc-linux-tdep.c: Update.
689 * ppcnbsd-tdep.c, printcmd.c, procfs.c, remote-e7000.c: Update.
690 * remote-fileio.c, remote-m32r-sdi.c, remote-rdi.c: Update.
691 * remote-rdp.c, remote-sim.c, remote-st.c: Update.
692 * remote-utils.c, remote-utils.h, remote.c: Update.
693 * rom68k-rom.c, rs6000-nat.c, s390-tdep.c, scm-lang.c: Update.
694 * ser-e7kpc.c, ser-tcp.c, ser-unix.c, sh-tdep.c: Update.
695 * sh3-rom.c, shnbsd-tdep.c, sol-thread.c, solib-aix5.c: Update.
696 * solib-frv.c, solib-irix.c, solib-osf.c, solib-pa64.c: Update.
697 * solib-som.c, solib-sunos.c, solib-svr4.c, solib.c: Update.
698 * somread.c, somsolib.c, source.c, stabsread.c: Update.
699 * stack.c, std-regs.c, symfile-mem.c, symfile.c: Update.
700 * symmisc.c, symtab.c, target.c, thread.c, top.c: Update.
701 * tracepoint.c, trad-frame.c, typeprint.c, utils.c: Update.
702 * uw-thread.c, valarith.c, valops.c, valprint.c: Update.
703 * value.c, varobj.c, version.in, win32-nat.c, wince.c: Update.
704 * xcoffread.c, xcoffsolib.c, cli/cli-cmds.c: Update.
705 * cli/cli-decode.c, cli/cli-dump.c, cli/cli-logging.c: Update.
706 * cli/cli-script.c, cli/cli-setshow.c, mi/mi-cmd-break.c: Update.
707 * mi/mi-cmd-disas.c, mi/mi-cmd-env.c, mi/mi-cmd-file.c: Update.
708 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-getopt.c: Update.
709 * mi/mi-symbol-cmds.c, tui/tui-layout.c, tui/tui-stack.c: Update.
710 * tui/tui-win.c: Update.
711
3517749c
ILT
7122005-02-10 Ian Lance Taylor <ian@airs.com>
713
714 * MAINTAINERS: Update my e-mail address.
715
cf309262
DJ
7162005-02-10 Daniel Jacobowitz <dan@debian.org>
717
718 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
719 PR exp/1821
720 * cp-valprint.c: Include "language.h".
721 (cp_print_value_fields): Pass the current language to
722 fprintf_symbol_filtered.
723 * Makefile.in (cp-valprint.o): Update dependencies.
724
899506a8
AC
7252005-02-10 Andrew Cagney <cagney@gnu.org>
726
335cca0d
AC
727 * cli/cli-decode.c (add_setshow_enum_cmd, add_setshow_cmd_full)
728 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
729 (add_setshow_filename_cmd, add_setshow_string_cmd)
730 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Replace
731 print string parameter with fprint_setshow function.
732 * command.h (fprint_setshow_ftype): Define. Update declarations.
733 * cli/cli-setshow.c (do_setshow_command): When fprint_setshow is
734 available, use that.
735 * cli/cli-decode.h (struct cmd_list_element): Add field
736 fprint_setshow.
737 * complaints.c (fprint_setshow_complaints): New function.
738 (_initialize_complaints): Pass to add_setshow_zinteger_cmd.
739 * hppa-tdep.c (_initialize_hppa_tdep): Replace "print" parameter
740 with NULL.
741 * mips-tdep.c (_initialize_mips_tdep): Ditto.
742 * m32r-rom.c (_initialize_m32r_rom): Ditto.
743 * cris-tdep.c (_initialize_cris_tdep): Ditto.
744 * arm-tdep.c (_initialize_arm_tdep): Ditto.
745 * remote-rdi.c (_initialize_remote_rdi): Ditto.
746 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
747 * dwarf2read.c (_initialize_dwarf2_read): Ditto.
748 * frame.c (_initialize_frame): Ditto.
749 * target.c (initialize_targets): Ditto.
750 * maint.c (_initialize_maint_cmds): Ditto.
751 * observer.c (_initialize_observer): Ditto.
752 * infcall.c (_initialize_infcall): Ditto.
753 * breakpoint.c (_initialize_breakpoint): Ditto.
754 * cli/cli-logging.c (_initialize_cli_logging): Ditto.
755 * remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
756
899506a8
AC
757 * cli/cli-setshow.c (do_setshow_command): Move code printing the
758 value to the end of the function. Handle MI and non-MI output
759 differently.
760
59c58d08
AC
7612005-02-09 Andrew Cagney <cagney@gnu.org>
762
7376b4c2
AC
763 * cli/cli-decode.c (add_setshow_enum_cmd): Drop set_result and
764 show_result parameters.
765 * mips-tdep.c (_initialize_mips_tdep): Update calls.
766 * command.h: Update declaration.
767 * arm-tdep.c (_initialize_arm_tdep, _initialize_arm_tdep): Update
768 calls.
769
11dced61
AC
770 * NEWS: Mention removed commands.
771 * m68hc11-tdep.c (show_regs): Delete, unused.
772 (_initialize_m68hc11_tdep): Delete deprecated "regs" command.
773 * gdb-events.sh: Delete deprecated "set eventdebug" and "show
774 eventdebug" commands.
775 * gdb-events.c: Regenerate.
776 * gdbarch.sh: Delete deprecated "set archdebug" and "show
777 archdebug" commands.
778 * gdbarch.c: Regenerate.
779 * cli/cli-cmds.c (init_cli_cmds): Delete deprecated "set
780 remotedebug" and "show remotedebug".
781 * arm-tdep.c (_initialize_arm_tdep): Delete deprecated "set arm
782 disassembly-flavor", "show arm disassembly-flavor", and
783 "othernames" commands.
784 (arm_othernames): Delete unused function.
785
b6e1c027
AC
786 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call)
787 (convert_code_addr_to_desc_addr): Convert any function code
788 address to the corresponding function's descriptor.
789 (ppc64_sysv_abi_return_value): have TYPE_CODE_ENUM and
790 TYPE_CODE_INT use the same code paths as TYPE_CODE_INT. When
791 writing, convert any function code address to the corresponding
792 descriptor.
793
59c58d08
AC
794 * config/sh/linux.mt (TDEPFILES): Add symfile-mem.o.
795 * config/powerpc/linux.mt (TDEPFILES): Ditto.
796 * config/pa/linux.mt (TDEPFILES): Ditto.
797 * config/mips/linux.mt (TDEPFILES): Ditto.
798 * config/m68k/linux.mt (TDEPFILES): Ditto.
799 * config/m32r/linux.mt (TDEPFILES): Ditto.
800 * config/ia64/linux.mt (TDEPFILES): Ditto.
801 * config/arm/linux.mt (TDEPFILES): Ditto.
802
b6e1c027
AC
8032005-02-09 Corinna Vinschen <vinschen@redhat.com>
804
805 * symmisc.c: Include gdb_stat.h.
806 (maintenance_print_msymbols): Use inode numbers to compare files.
807
91294c83
AC
8082005-02-08 Andrew Cagney <cagney@gnu.org>
809
d3cbe7ef
AC
810 * value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
811 (METHOD_PTR_TO_VOFFSET): Move from here ...
812 * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
813 (METHOD_PTR_TO_VOFFSET): ... to here.
814 * cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h".
815 * Makefile.in: Update dependencies.
816
6941d02a
AC
817 * exceptions.c: Do not include <setjmp.h>.
818 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Delete macros.
819 (catch_exception, catch_exceptions_with_msg, catch_errors)
820 (catch_command_errors): Use TRY_CATCH.
821 (struct catcher): Use EXCEPTIONS_SIGJMP_BUF.
822 (exceptions_state_mc_init): Rename catcher_init.
823 (exceptions_state_mc): Rename catcher_state_machine.
824 (exceptions_state_mc_action_iter)
825 (exceptions_state_mc_action_iter_1): New functions.
826 * exceptions.h: Include <setjmp.h>.
827 (EXCEPTIONS_SIGJMP_BUF, EXCEPTIONS_SIGSETJMP)
828 (EXCEPTIONS_SIGLONGJMP): Define.
829 (exceptions_state_mc_init, exceptions_state_mc_action_iter)
830 (exceptions_state_mc_action_iter_1): Declare.
831 (TRY_CATCH): Define.
832
179f02be
AC
833 * ppc-linux-tdep.c (ppc_linux_init_abi): Do not set malloc name,
834 no longer needed.
835
8f135812
AC
836 * ppc-linux-nat.c (ppc_register_u_addr): Hack around 64-bit
837 PT_FPSCR breakage.
838
91294c83
AC
839 * value.c (struct value): Move to here ...
840 * value.h (struct value): ... from here. Copy comments to
841 corresponding function declarations, re-order.
842
dfa52d88
AC
8432005-02-07 Andrew Cagney <cagney@gnu.org>
844
9bbda503
AC
845 * value.c (set_value_bitpos, set_value_bitsize): Define.
846 * value.h (set_value_bitpos, set_value_bitsize): Declare.
847 * ada-lang.c, valarith.c: Update.
848
5086187c
AC
849 * cp-valprint.c, c-valprint.c, infcall.c: Use value_contents or
850 value_contents_writeable, include note that there are problems.
851 * breakpoint.c, infcall.c: Use VALUE_LVAL.
852
f5cf64a7
AC
853 * value.h (set_value_offset): Declare.
854 * value.c (set_value_offset): Declare.
855 * gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update.
856 * findvar.c: Update.
857
17cf0ecd
AC
858 * value.h (value_next): Declare.
859 * value.c (value_next): Define.
860 * breakpoint.c: Update.
861
88e3b34b
AC
862 * value.h (deprecated_set_value_modifiable)
863 (deprecated_value_modifiable): Declare.
864 * value.c (deprecated_set_value_modifiable): Define.
865 (deprecated_value_modifiable): Define.
866 * ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update.
867
04624583
AC
868 * value.h (deprecated_set_value_type): Declare.
869 * value.c (deprecated_set_value_type): Define.
870 * hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update.
871 * c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update.
872 * infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update.
873 * ax-gdb.c, tracepoint.c: Update.
874
13bb5560
AC
875 * value.h (deprecated_value_lval_hack)
876 (deprecated_value_address_hack)
7d71e29c 877 (deprecated_value_internalvar_hack)
13bb5560
AC
878 (deprecated_value_regnum_hack): Declare.
879 (VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR)
880 (VALUE_FRAME_ID, VALUE_REGNUM): Use.
881 * value.c (deprecated_value_lval_hack)
882 (deprecated_value_address_hack)
7d71e29c 883 (deprecated_value_internalvar_hack)
13bb5560
AC
884 (deprecated_value_regnum_hack): Define.
885
b44d461b
AC
886 * value.h (VALUE_POINTED_TO_OFFSET): Delete.
887 (set_value_pointed_to_offset, value_pointed_to_offset): Declare.
888 * value.c (set_value_pointed_to_offset): Define
889 (value_pointed_to_offset): Define.
890 * valops.c: Update.
891
caadb61d
AC
892 * value.h (VALUE_EMBEDDED_OFFSET): Delete.
893 (value_embedded_offset, set_value_embedded_offset): Declare.
13c3b5f5 894 * value.c (value_embedded_offset): Define.
caadb61d 895 (set_value_embedded_offset): Define.
13c3b5f5
AC
896 * valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
897 * gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
898 * cp-abi.h: Update.
899
dfa52d88
AC
900 * value.h (VALUE_LAZY): Delete
901 (set_value_lazy): Declare.
902 * value.c (set_value_lazy): Define.
903 * valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
904 * gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.
905
0fd88904
AC
9062005-02-06 Andrew Cagney <cagney@gnu.org>
907
feb13ab0
AC
908 * value.h (VALUE_OPTIMIZED_OUT): Delete.
909 (value_optimized_out, set_value_optimized_out): Declare.
910 * value.c (set_value_optimized_out, value_optimized_out): Define.
911 * valprint.c, findvar.c, dwarf2loc.c: Update.
912
0fd88904
AC
913 * value.c (value_contents, value_contents_writeable): New
914 functions.
915 * value.h (VALUE_CONTENTS): Delete macro.
916 (value_contents, value_contents_writeable): Declare.
917 * xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
918 * stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
919 * sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
920 * rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
921 * ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
922 * m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
923 * jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
924 * hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
925 * c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
926 * cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
927 * arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
928 * ada-valprint.c, ada-lang.c: Update.
929
5b90c7b5
AC
9302005-02-03 Andrew Cagney <cagney@gnu.org>
931
932 * utils.c (xzalloc): New function.
933 * defs.h (XZALLOC): Use xzalloc.
934 (xzalloc): Declare.
935 * value.c (allocate_value): Allocate a zeroed buffer.
936 * mdebugread.c (xzalloc): Delete.
937
4754a64e
AC
9382005-02-02 Andrew Cagney <cagney@gnu.org>
939
d69fe07e
AC
940 * value.h (value_lazy): Declare.
941 * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
942 * cp-valprint.c, breakpoint.c, ada-lang.c: Update.
943
46615f07
AC
944 * value.h (VALUE_CONTENTS_ALL): Delete.
945 (value_contents_all): Declare.
946 * value.c (value_contents_all): New function.
947 * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
948 * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
949
4754a64e
AC
950 * value.c (value_enclosing_type): New function.
951 * value.h (VALUE_ENCLOSING_TYPE): Delete.
952 (value_enclosing_type): Declare.
953 * xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
954 * gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.
955
990a07ab
AC
956 * value.c (value_contents_all_raw)
957 (value_contents_raw): New functions.
958 * value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
959 (value_contents_raw, value_contents_all_raw): Declare functions.
960 (VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
961 * std-regs.c, valarith.c, valops.c, eval.c: Update.
962 * tracepoint.c, findvar.c: Update.
963
ff2c3e5d
OF
9642005-02-01 Orjan Friberg <orjanf@axis.com>
965
966 * regformats/reg-cris.dat: New file with register definitions for CRIS.
967 * regformats/reg-crisv32.dat: Ditto for CRISv32.
968
c46f8c51
AC
9692005-01-31 Andrew Cagney <cagney@gnu.org>
970
971 * configure: Regenerate to track ../gettext.m4.
972
a80493b8
BI
9732005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
974
975 * MAINTAINERS: Add myself to "Write After Approval".
976
3d263c1d
BI
977 * ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
978 * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
979 * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
980
c21a4eee
MK
9812005-01-29 Mark Kettenis <kettenis@gnu.org>
982
983 * configure.ac: Remove extra check for ranlib.
984 * configure: Regenerated.
985
108d6ead
AC
9862005-01-28 Andrew Cagney <cagney@gnu.org>
987
a2bd3dcd
AC
988 * language.h (struct language_defn): Make la_val_print's buffer
989 parameter a const bfd_byte.
990 * cp-valprint.c (cp_print_value_fields, cp_print_value): Update.
991 * ada-lang.c (ada_aligned_value_addr)
992 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
993 * valprint.c (val_print_array_elements): Update.
994 * valprint.h (val_print_array_elements): Update.
995 * ada-lang.h (ada_val_print, ada_aligned_value_addr)
996 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
997 * ada-valprint.c (ada_val_print, struct ada_val_print_args)
998 (ada_val_print_1, ada_print_floating, printable_val_type)
999 (print_record, val_print_packed_array_elements)
1000 (print_field_values, print_variant_part): Update.
1001 * c-lang.h (c_val_print, cp_print_value_fields): Update.
1002 * c-valprint.c (c_val_print): Update.
1003 * f-lang.h (f_val_print): Update.
1004 * f-valprint.c (f_val_print, f77_print_array_1)
1005 (f77_print_array): Update.
1006 * jv-lang.h (java_val_print): Update.
1007 * jv-valprint.c (java_print_value_fields, java_val_print): Update.
1008 * language.c (unk_lang_val_print): Update.
1009 * m2-lang.h (m2_val_print): Update.
1010 * m2-valprint.c (m2_val_print): Update.
1011 * p-lang.h (pascal_val_print): Update.
1012 (pascal_object_print_value_fields): Update.
1013 * p-valprint.c (pascal_val_print)
1014 (pascal_object_print_value_fields, pascal_object_print_value)
1015 (pascal_object_print_value): Update.
1016 * scm-lang.h (scm_val_print): Update.
1017 * scm-valprint.c (scm_val_print): Update.
1018 * value.h (val_print): Update.
1019
5bcca90b
AC
1020 * p-lang.h (pascal_object_print_class_member)
1021 (pascal_object_print_class_method): Make buffer a const bfd_byte.
1022 * p-valprint.c (pascal_object_print_class_method)
1023 (pascal_object_print_class_method): Ditto.
1024
ce27fb25
AC
1025 * language.h (struct language_defn): Make la_printstr's buffer
1026 parameter a const bfd_byte.
1027 * p-lang.h (pascal_printstr): Update function to match.
1028 * ada-valprint.c (ada_printstr): Update function to match.
1029 * scm-lang.c (scm_printstr): Update function to match.
1030 * p-lang.c (pascal_printstr): Update function to match.
1031 * ada-lang.h (ada_printstr): Update function to match.
1032 * m2-lang.c (m2_printstr): Update function to match.
1033 * objc-lang.c (objc_printstr): Update function to match.
1034 * c-lang.h (c_printstr): Update function to match.
1035 * f-lang.c (f_printstr): Update function to match.
1036 * c-lang.c (c_printstr): Update function to match.
1037 * language.c (unk_lang_printstr): Update function to match.
1038
5f547748
AC
1039 * valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
1040 * valprint.h (val_print_type_code_int): Ditto.
1041
bbb4b9db
AC
1042 * objc-lang.h (c_val_print, c_value_print): Delete declarations.
1043
9519ccd5
AC
1044 * cp-valprint.c (cp_print_class_method)
1045 (cp_print_class_member): Make buffer a const bfd_byte.
1046 * c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.
1047
10a2c479
AC
1048 * ada-lang.c (value_from_contents_and_address)
1049 (to_record_with_fixed_variant_part)
1050 (value_tag_from_contents_and_address, ada_to_fixed_type)
1051 (to_fixed_variant_branch_type, to_fixed_record_type)
1052 (ada_template_to_fixed_record_type, cond_offset_host)
1053 (ada_template_to_fixed_record_type_1): Make buffer a const
1054 bfd_byte.
1055 * ada-lang.h (ada_template_to_fixed_record_type_1)
1056 (value_from_contents_and_address, ada_to_fixed_type): Ditto.
1057
d56612af
AC
1058 * ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte.
1059
366b1cbf 1060 * gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.
d56612af 1061 * printcmd.c (print_scalar_formatted): Update.
366b1cbf 1062
c84141d6
AC
1063 * value.h (value_bit_index, print_floating)
1064 (find_rt_vbase_offset): Make buffer a const bfd_byte.
1065 * valprint.c (print_floating): Update.
1066 * valarith.c (value_bit_index): Update.
1067 * valops.c (find_rt_vbase_offset): Update.
1068
6c403953
AC
1069 * valprint.h (print_octal_chars, print_char_chars)
1070 (print_hex_chars, print_decimal_chars, print_binary_chars): Make
1071 buffer a const bfd_byte.
1072 * valprint.c (print_binary_chars, print_octal_chars)
1073 (print_decimal_chars, print_hex_chars, print_char_chars): Make
1074 "valaddr"buffer a const bfd_byte, ditto for local variables
1075 referencing that buffer.
1076
a8d6eb4a
AC
1077 * m2-valprint.c: Include "c-lang.h".
1078 (c_val_print): Delete extern declaration.
1079 * scm-valprint.c: Include "c-lang.h".
1080 (c_val_print): Delete extern declaration.
1081 Makefile.in: Update dependencies.
1082
06c4d4dc
AC
1083 * gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
1084 bfd_byte.
1085 * cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
1086 (struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
1087 bfd_byte.
1088 * cp-abi.c (baseclass_offset): Update.
1089 * gnu-v2-abi.c (gnuv2_baseclass_offset): Update.
1090
6b08edad
AC
1091 * gnu-v2-abi.h: New file.
1092 * gnu-v2-abi.c: Include "gnu-v2-abi.h".
1093 (gnuv2_baseclass_offset): Delete declaration.
1094 * hpacc-abi.c: Include "gnu-v2-abi.h".
1095 (gnuv2_baseclass_offset): Delete extern declaration.
1096 * Makefile.in: Update dependencies.
1097
108d6ead
AC
1098 * doublest.c (floatformat_is_negative, floatformat_is_nan)
1099 (floatformat_mantissa, get_field): Make the buffer a const
1100 bfd_byte, simplify.
1101
a53bf506
AC
11022005-01-27 Andrew Cagney <cagney@gnu.org>
1103
8cc2524a
AC
1104 * value.h (struct value): Change type of contents to bfd_byte.
1105 (VALUE_CONTENTS_RAW): Simplify.
1106
79dd2d24
AC
1107 * gdbarch.sh (integer_to_address): Change buf parameter to a const
1108 bfd_byte, make pure-multi-arch.
1109 * gdbarch.h, gdbarch.c: Regenerate.
1110 * mips-tdep.c (mips_integer_to_address): Update.
1111 * value.c (value_as_address): Update.
1112
c26b8e3b
AC
1113 * cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
1114 * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
1115 parameters const, change buf to a const bfd_byte.
1116 (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
1117 parameters const.
1118
10e2d419
AC
1119 * corefile.c (write_memory): Update, make a copy of the read-only
1120 buffer.
1121 * target.c (target_read_memory): Update.
1122 (target_write_memory): Update, make a copy of the read-only
1123 buffer.
1124 * gdbcore.h (write_memory): Change buffer type to bfd_byte, make
1125 const.
1126 * target.h (target_read_memory, target_write_memory): Change
1127 buffer type to bfd_byte; for write_memory, make it const.
1128 * symfile-mem.c (do_target_read_memory): New function.
1129 (symbol_file_add_from_memory): Pass do_target_read_memory to
1130 bfd_elf_bfd_from_remote_memory.
1131
89f5065b
AC
1132 * value.h: Indent using gdb_indent.sh.
1133
a53bf506
AC
1134 * configure: Regenerate to track ../gettext.m4 change.
1135
c44ca51c
AC
11362005-01-26 Andrew Cagney <cagney@gnu.org>
1137
1138 * rs6000-tdep.c: Include "reggroups.h".
1139 (rs6000_gdbarch_init): Set register_reggroup_p.
1140 (rs6000_register_reggroup_p): New function.
1141
c600d464
OF
11422005-01-26 Orjan Friberg <orjanf@axis.com>
1143
1144 * cris-tdep.c (enum cris_num_regs, enum cris_regnums)
1145 (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
1146 CRISv32.
1147 (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
1148 (cris_region_ok_for_watchpoint, cris_stopped_data_address)
1149 (crisv32_cannot_fetch_register, crisv32_cannot_store_register)
1150 (crisv32_register_type, cris_special_register_name)
1151 (crisv32_register_name): New functions.
1152 (cris_spec_reg_applicable): Recognize more versions.
1153 (cris_register_name): Update with call to cris_special_register_name.
1154 (find_cris_op): Filter out CRISv32 instructions. Tweaked comment and
1155 warning when unable to find step target.
1156 (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
1157 (supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for
1158 CRISv32.
1159 (fetch_core_registers): Update for CRISv32.
1160 (cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
1161 register_name, cannot_store_register, cannot_fetch_register,
1162 have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
1163
82c94ed0
NR
11642005-01-26 Nick Roberts <nickrob@snap.net.nz>
1165
1166 * interps.c (interpreter_exec_cmd): Use condition,
1167 e.reason < 0, to raise an error.
1168
0598a43c
AC
11692005-01-25 Andrew Cagney <cagney@gnu.org>
1170
a8f60bfc
AC
1171 * ppc-linux-tdep.c: Include "tramp-frame.h"
1172 (struct ppc_linux_sigtramp_cache)
1173 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
1174 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
1175 (ppc_linux_sigtramp_cache): Delete.
1176 (ppc32_linux_sigaction_cache_init)
1177 (ppc64_linux_sigaction_cache_init)
1178 (ppc32_linux_sighandler_cache_init)
1179 (ppc64_linux_sighandler_cache_init)
1180 (ppc32_linux_sigaction_tramp_frame)
1181 (ppc64_linux_sigaction_tramp_frame)
1182 (ppc32_linux_sighandler_tramp_frame)
1183 (ppc64_linux_sighandler_tramp_frame)
1184 (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
1185 64-bit, sigaction and siginfo tramp-frame unwinders.
1186
0598a43c
AC
1187 * ppc-linux-tdep.c (ppc_linux_init_abi): Always set
1188 long_double_bit to 8.
1189
9d799f85
AC
11902005-01-24 Andrew Cagney <cagney@gnu.org>
1191
1192 * infrun.c (handle_inferior_event): Handle back-to-back and nested
1193 signals where the step_resume_breakpoint may have already been
1194 inserted.
1195
45181ed1
AC
11962005-01-24 Andrew Cagney <cagney@gnu.org>
1197
1198 * configure: Regenerate, ../gettext.m4 was updated.
1199
a28109e0
MK
12002005-01-23 Mark Kettenis <kettenis@gnu.org>
1201
6fe85783
MK
1202 * NEWS: Mention new BSD user-level threads support.
1203
a28109e0
MK
1204 * i386obsd-tdep.c: Update copyright year. Include
1205 "bsd-uthread.h".
1206 (i386obsd_uthread_reg_offset): New variable.
1207 (I386OBSD_UTHREAD_ESP_OFFSET): New define.
1208 (i386obsd_supply_uthread, i386obsd_collect_uthread): New
1209 functions.
1210 (i386obsd_init_abi): Set supply_uthread and collect_uthread.
1211 * Makefile.in (i386obsd-tdep.o): Update dependencies.
1212 * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
1213
059198c1
CF
12142005-01-23 Christopher Faylor <cgf@timesys.com>
1215
1216 * win32-nat.c: Update copyright year.
1217 (child_init_thread_list): Set thread linked list point to NULL so that
1218 it won't be reused after clearing.
1219
5c45e068
MK
12202005-01-21 Mark Kettenis <kettenis@gnu.org>
1221
1222 * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
1223 undefs.
1224 * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
1225 thread' has a td_pcb member and whether `struct reg' has r_fs and
1226 r_gs members.
1227 * configure, config.in: Regenerate.
1228
666ec76f
MK
12292005-01-21 Mark Kettenis <kettenis@gnu.org>
1230
b8667b61
MK
1231 * configure.ac: Remove ia64-*-aix* junk.
1232 * configure: Regenerate.
1233
a3828db0
MK
1234 * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
1235 and BFD_NEED_DECLARATION. Don't check if a declaration of strdup
1236 is necessary.
1237 * configure, config.in: Regenerate.
1238 * utils.c: Adjust for usage of AC_CHECK_DECLS instead of
1239 BFD_NEED_DECLARATION. Never provide a prototype for
1240 caninicalize_file_name.
1241 * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
1242 BFD_NEED_DECLARATION.
1243
666ec76f
MK
1244 * configure.ac (targ_archs): Use standard autoconf check for
1245 "struct stat.st_blocks" instead of rolling our own.
1246 * configure: Regenerated.
1247 * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
1248 * config.in: Regenerated.
1249
bc8bcb4b
MK
12502005-01-21 Mark Kettenis <kettenis@gnu.org>
1251
1252 * configure.ac: Modernize checks for `long long' and `long double'
1253 support.
1254 * configure: Regenerated.
1255 * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
1256 (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
1257 * config.in: Regenerated.
1258
30adeb3a
MK
12592005-01-20 Mark Kettenis <kettenis@gnu.org>
1260
1261 * acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
1262 (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
1263 * configure.ac: Remove checks for HP-UX save_state structure.
1264 * configure: Regenerated.
1265
e06e2353
AC
12662005-01-19 Andrew Cagney <cagney@gnu.org>
1267
1268 * utils.c (quit): Simplify, call fatal.
1269 * exceptions.c: Include "serial.h"
1270 (print_flush): Mimic flush code found in utils.c:quit.
1271 * Makefile.in: Update dependencies.
1272
1c44323f
JB
12732005-01-19 Jim Blandy <jimb@redhat.com>
1274
065a1afc
JB
1275 * configure.tgt: Set build_rdi_share to "yes" on those targets
1276 that use that debugging protocol.
1277 Set build_nlm to yes to build NLM stub for Netware targets.
1278 * configure.ac: If build_rdi_share is "yes", then configure the
1279 rdi-share subdirectory.
1280 If build_nlm is "yes", the configure the "nlm" subdirectory.
1281 * configure: Regenerated.
1282
1c44323f
JB
1283 * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
1284 autoconf 2.59 and automake 1.9.3.
1285
8a9de0e4
AC
12862005-01-19 Andrew Cagney <cagney@gnu.org>
1287
315a522e
AC
1288 * exceptions.h (deprecated_throw_reason): Rename throw_reason.
1289 * exceptions.c (deprecated_throw_reason): Rename throw_reason.
1290 * utils.c (internal_verror, quit): Update.
1291 * remote-sds.c (interrupt_query): Update.
1292 * remote-mips.c (mips_error, mips_kill): Update.
1293 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
1294 * remote.c (interrupt_query): Update.
1295 * ocd.c (interrupt_query): Update.
1296 * nto-procfs.c (interrupt_query): Update.
1297 * monitor.c (monitor_interrupt_query): Update.
1298 * breakpoint.c (break_command_1): Update.
1299
8a9de0e4
AC
1300 * infrun.c: (resume, proceed, wait_for_inferior)
1301 (handle_inferior_event, stop_stepping)
1302 (prepare_to_wait): Write debug output to gdb_stdlog.
1303
53283f86
MK
13042005-01-19 Mark Kettenis <kettenis@gnu.org>
1305
1306 * inf-ptrace.c (inf_ptrace_prepare_to_store)
1307 (inf_ptrace_post_startup_inferior)
1308 (inf_ptrace_acknowledge_created_inferior)
1309 (inf_ptrace_insert_fork_catchpoint)
1310 (inf_ptrace_remove_fork_catchpoint)
1311 (inf_ptrace_insert_vfork_catchpoint):
1312 (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
1313 (inf_ptrace_insert_exec_catchpoint)
1314 (inf_ptrace_remove_exec_catchpoint): Remove functions.
1315 (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
1316 (inf_ptrace_target): Don't set to_prepare_to_store,
1317 to_post_startup_inferior, to_acknowledge_created_inferior,
1318 to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
1319 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1320 to_follow_fork, to_insert_exec_catchpoint,
1321 to_remove_exec_catchpoint.
1322
9ee907e0
AC
13232005-01-18 Andrew Cagney <cagney@gnu.org>
1324
fa113d1a
AC
1325 * target.h (struct target_ops): Change return type of
1326 to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
1327 to_insert_exec_catchpoint to void.
1328 (child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
1329 (child_insert_exec_catchpoint): Change return type to void.
1330 * target.c (update_current_target): Update.
1331 (debug_to_insert_fork_catchpoint)
1332 (debug_to_insert_vfork_catchpoint)
1333 (debug_to_insert_exec_catchpoint): Update.
1334 * inf-child.c (inf_child_insert_fork_catchpoint)
1335 (inf_child_insert_vfork_catchpoint)
1336 (inf_child_insert_exec_catchpoint): Update.
1337 * breakpoint.c (insert_catchpoint): Update, do not throw an error.
1338 * linux-nat.c (child_insert_fork_catchpoint)
1339 (child_insert_vfork_catchpoint)
1340 (child_insert_exec_catchpoint): Update.
1341 * inftarg.c (child_insert_fork_catchpoint)
1342 (child_insert_vfork_catchpoint,)
1343 (child_insert_exec_catchpoint): Update.
1344
9ee907e0
AC
1345 * remote.c (remote_open_1): Use throw_exception.
1346
295093a4
MS
13472005-01-17 Michael Snyder <msnyder@redhat.com>
1348
1349 * mips-linux-tdep.c: Whitespace tweaks.
1350
4bcff7eb
CV
13512005-01-17 Corinna Vinschen <vinschen@redhat.com>
1352
1353 * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
1354
637537d0
AC
13552005-01-17 Andrew Cagney <cagney@gnu.org>
1356
1357 * top.h (source_error, source_pre_error): Delete declaration.
1358 * cli/cli-script.c (source_error_allocated, source_error): Delete.
1359 (script_from_file, source_cleanup_lines): Do not manipulate
1360 source_error_allocated, error_pre_print and source_error.
1361 (struct source_cleanup_lines_args): Delete fields old_pre_error,
1362 and old_error_pre_print.
1363 * top.c (source_error_allocated, source_error)
1364 (source_pre_error): Delete.
1365 (command_line_input): Do not set error_pre_print.
1366 * event-top.c (command_line_handler): Do not set error_pre_print.
1367
12b21d12
JT
13682005-01-16 Jason Thorpe <thorpej@netbsd.org>
1369
1370 * MAINTAINERS: Update my email address.
1371
1c02b2a5
MK
13722005-01-16 Mark Kettenis <kettenis@gnu.org>
1373
c401b55a
MK
1374 * configure.ac: Provide prerequisite headers when checking
1375 <term.h>.
1376 * configure: Regenerate.
1377
1c02b2a5
MK
1378 * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
1379 and "bsd-uthread.h".
1380 (amd64fbsd_jmp_buf_reg_offset): New variable.
1381 (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
1382 functions.
1383 (amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
1384 * i386fbsd-tdep.c: Fix typo.
1385 * Makefile.in (amd64fbsd-tdep.o): Update dependencies.
1386 * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
1387
17d92a02
AC
13882005-01-16 Andrew Cagney <cagney@gnu.org>
1389
1390 * cli/cli-script.c: Include "exceptions.h".
1391 (struct wrapped_read_command_file_args): Define.
1392 (wrapped_read_command_file): New function.
1393 (script_from_file): Replace direct call to read_command_file by
1394 one wrapped by an exception handler.
1395 * exceptions.c (throw_it): Free the old message after creating the
1396 new.
1397 * Makefile.in: Update dependencies.
1398
80ad1639
MK
13992005-01-16 Mark Kettenis <kettenis@gnu.org>
1400
ae036357
MK
1401 * sparc64fbsd-tdep.c: Update copyright year.
1402 (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
1403 functions.
1404 (sparc64fbsd_init_abi): Create register sets with collect
1405 functions.
1406
ca5807d9
MK
1407 * sparc64fbsd-nat.c: Include "fbsd-nat.h".
1408 (_initialize_sparc64fbsd_nat): Add some extra features to the
1409 generic SPARC target.
1410 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
1411 * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
1412 (NAT_FILE): Set to solib.h.
1413 * config/sparc/nm-fbsd.h: Remove file.
1414
c4f2d4d7
MK
1415 * sparc64-tdep.c (sparc64_store_arguments): Fix typo.
1416
80ad1639
MK
1417 * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
1418
6212a5e9
AC
14192005-01-16 Andrew Cagney <cagney@gnu.org>
1420
1421 * exceptions.c (struct catcher): Delete saved_error_pre_print and
1422 saved_quit_pre_print.
1423 (catcher_init): Delete parameter errstring, do not override the
1424 pre_print strings.
1425 (catcher_pop): Do not restore the pre_print strings.
1426 (catch_exception, catch_exceptions_with_msg, catch_errors)
1427 (catch_command_errors): Update catch_init calls.
1428
936df4b3
MK
14292005-01-16 Mark Kettenis <kettenis@gnu.org>
1430
1431 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
1432 * sparc64fbsd-nat.c: Update copyright year. Include "target.h".
1433
3af1e0e3
AC
14342005-01-15 Andrew Cagney <cagney@gnu.org>
1435
85981d60
AC
1436 * acinclude.m4: Include ../bfd/bfd.m4 instead of
1437 ../bfd/acinclude.m4. Include ../gettext.m4.
1438 * aclocal.m4, configure: Re-generate.
1439
5a14cc1a
AC
1440 * exceptions.c (do_captured_command)
1441 (struct captured_command_args): Delete.
1442 (catch_command_errors): Simplify by inlining call to catch_errors.
1443
3af1e0e3
AC
1444 * exceptions.c (struct catcher): Delete field print_message.
1445 (catcher_init): Delete print_message parameter.
1446 (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
1447 (throw_it): Delete prefix parameter.
1448 (throw_verror, throw_vfatal, throw_error): Update.
1449
d0555901
AC
14502005-01-14 Andrew Cagney <cagney@gnu.org>
1451
e48f5bee
AC
1452 * exceptions.c (print_and_throw): Delete, replaced by throw_it.
1453 (throw_reason): Leave the exception's message field blank.
1454 (throw_it): New function, create the exception and throw it.
1455 (throw_verror, throw_vfatal, throw_error): Call throw_it.
1456 (print_any_exception): New function.
1457 (catch_errors, catch_exceptions_with_msg): Call
1458 print_any_exception.
1459 (throw_exception): Move code calling annotate_error and
1460 annotate_quit from here ...
1461 (print_exception): ... to here.
1462
c6da7a6d
AC
1463 * exceptions.c (exception_fprintf, exception_print): Move printing
1464 of \n from here ...
1465 (print_exception): ... to here.
1466 (print_flush): New function.
1467 (exception_print, exception_fprintf): Replace duplicated flush and
1468 wrap code with call to print_flush.
1469 (print_and_throw): Simplify, by using xstrvprintf, print_flush,
1470 and print_exception.
1471 (do_write): Delete.
1472
d0555901
AC
1473 * remote-sds.c (interrupt_query): Call throw_reason instead of
1474 throw_exception.
1475 * remote-mips.c (mips_error, mips_kill): Ditto
1476 * ocd.c (interrupt_query): Ditto.
1477 * nto-procfs.c (interrupt_query): Ditto.
1478 * monitor.c (monitor_interrupt_query): Ditto.
1479
949df321
JJ
14802005-01-14 Jeff Johnston <jjohnstn@redhat.com>
1481
1482 * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
1483
bc8332bb
AC
14842005-01-14 Andrew Cagney <cagney@gnu.org>
1485
1c3c7ee7
AC
1486 * exceptions.h (catch_exceptions): Delete errstring parameter.
1487 (catch_exceptions_with_msg): Ditto.
1488 * exceptions.c (catch_exceptions_with_msg): Update.
1489 (catch_exceptions): Update.
1490 * symfile-mem.c (add_vsyscall_page): Update.
1491 * frame.c (get_current_frame): Update.
1492 * wrapper.c (gdb_value_struct_elt): Update.
1493 * exceptions.c (catch_exceptions): Update.
1494 * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
1495 * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
1496 * remote-fileio.c (remote_fileio_request): Update.
1497
9cbc821d
AC
1498 * exceptions.h (exception_fprintf): Declare.
1499 (exception_print): Drop pre_print parameter.
1500 * mi/mi-main.c (mi_execute_command): Update exception_print call.
1501 * cli/cli-interp.c (safe_execute_command): Update exception_print
1502 call.
1503 * remote.c (remote_open_1): Instead of passing an error prefix to
1504 catch_exceptions, use catch_exceptions and exception_fprintf.
1505 (remote_start_remote): Change return type to void.
1506 * breakpoint.c (insert_bp_location): Instead of passing an error
1507 prefix to catch_exceptions, use catch_exceptions and
1508 exception_fprintf.
1509 (insert_catchpoint): Change return type to void.
1510 (break_command_1): Update exception_print call.
1511 * exceptions.c (exception_fprintf): New function.
1512 (print_exception): New function.
1513 (exception_print): Use print_exception.
1514
22e9b0f1
AC
1515 * utils.c (error_output_message): Delete function.
1516 * defs.h (error_output_message): Delete declaration.
1517
05ff989b
AC
1518 * linespec.c (symtab_from_filename, decode_variable): Use
1519 throw_error instead of error_silent.
1520 * breakpoint.c (do_captured_parse_breakpoint): Change return type
1521 to void.
1522 (break_command_1): Use catch_exception and check the error return
1523 status.
1524 * exceptions.c (throw_error): New function.
1525 (throw_vsilent): Delete function.
1526 * exceptions.h (throw_error): Declare.
1527 (throw_vsilent): Delete declaration.
1528 * utils.c (error_silent): Delete function.
1529 * defs.h (error_silent): Delete declaration.
1530
8a076db9
AC
1531 * mi/mi-main.c (mi_execute_command): Print the exception.
1532 * cli/cli-interp.c (safe_execute_command): Print the exception.
1533 * exceptions.h (exception_print): Declare.
1534 * exceptions.c (struct catcher): Add field print_message.
1535 (catcher_init): Add parameter print_message, store in the catcher
1536 struct.
1537 (print_and_throw): Only print the message when print_message.
1538 (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
1539 catcher_init.
1540 (catch_exception): Pass print_message=0 to catcher_init.
1541
bc8332bb
AC
1542 * varobj.c (varobj_create): Add missing \n.
1543
d183932d
MS
15442005-01-13 Michael Snyder <msnyder@redhat.com>
1545
4e18e2de 1546 * cli/cli-decode.h: Whitespace tweaks.
ca0b4d12 1547 * wince.c: Whitespace tweaks.
887a3a14 1548 * uw-thread.c: Whitespace tweaks.
0a4a0819 1549 * utils.c: Whitespace tweaks.
d183932d
MS
1550 * tracepoint.[ch]: Whitespace tweaks.
1551 * solist.h: Whitespace tweaks.
1552
6b1b7650
AC
15532005-01-13 Andrew Cagney <cagney@gnu.org>
1554
b315da38
AC
1555 * exceptions.h (struct exception): Make message const.
1556 * mi/mi-main.c (mi_execute_command): Pass result.message directly
1557 to fputstr_unfiltered.
1558
79e714b4
AC
15592005-01-13 Michael Snyder <msnyder@redhat.com>
1560
1561 * stack.c: Whitespace tweaks.
1562 * somsolib.[ch]: Whitespace tweaks.
1563 * solib-aix.c: Whitespace tweaks.
1564 * solib.c: Whitespace tweaks.
1565 * solib-frv.c: Whitespace tweaks.
1566 * solib.h: Whitespace tweaks.
1567 * solib-irix.c: Whitespace tweaks.
1568 * solib-som.c: Whitespace tweaks.
1569 * solib-sunos.c: Whitespace tweaks.
1570 * solib-svr4.[ch]: Whitespace tweaks.
1571 * ser-tcp.c: Whitespace tweaks.
1572 * ser-unix.c: Whitespace tweaks.
1573 * serial.h: Whitespace tweaks.
1574 * scm-valprint.c: Whitespace tweaks.
1575 * rs6000-tdep.c: Whitespace tweaks.
1576 * rs6000-nat.c: Whitespace tweaks.
1577 * remote.c: Whitespace tweaks.
1578
15792005-01-13 Andrew Cagney <cagney@gnu.org>
1580
6b1b7650
AC
1581 * defs.h (error_last_message, error_init): Delete declaration.
1582 * utils.c (fatal, vfatal): Call throw_vfatal.
1583 (error, verror): Call throw_verror;
1584 (do_write, error_stream_1): Delete function.
1585 (error_stream): Simplify, call error.
1586 (error_last_message, error_init, gdb_lasterr): Delete.
1587 (error_silent): Simplify, call throw_vsilent.
1588 * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
1589 * main.c (captured_main): Delete call to error_init.
1590 * exceptions.c (throw_verror, throw_verror)
1591 (throw_vsilent): New functions.
1592 (do_write, print_and_throw): New functions.
1593 (last_message): New global.
1594 (throw_reason): Replace error_last_message with last_message.
1595 (catch_exceptions_with_msg): Dup the message.
1596 * exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
1597 Declare.
1598
4791eb66
MS
15992005-01-13 Michael Snyder <msnyder@redhat.com>
1600
90c065fb 1601 * remote-st.c: Whitespace tweaks.
8a0ce09a 1602 * remote-sim.c: Whitespace tweaks.
1fa79fac 1603 * remote-mips.c: Whitespace tweaks.
beda9597 1604 * pa64solib.[ch]: Whitespace tweaks.
28397f59 1605 * mdebugread.c: Whitespace tweaks.
ba5e7e8d 1606 * main.c: Whitespace tweaks.
907d819a 1607 * interps.c: Whitespace tweaks.
9d1ff73f 1608 * infrun.c: Whitespace tweaks.
1f5d0fc9 1609 * infcmd.c: Whitespace tweaks.
d9788fe8 1610 * hpux-thread.c: Whitespace tweaks.
3b951200 1611 * hppa-hpux-tdep.c: Whitespace tweaks.
3a9a986f 1612 * gdbcore.h: Whitespace tweaks.
d3f17821 1613 * gdbcmd.h: Whitespace tweaks.
30867156 1614 * gdb-events[.c, .h, .sh]: Whitespace tweaks.
de6854b5 1615 * corefile.c: Whitespace tweaks.
03717487 1616 * completer.c: Whitespace tweaks.
9b5c5aad
MS
1617 * coff-solib.c: Whitespace tweaks.
1618 * coff-solib.h: Whitespace tweaks.
30fdc99f 1619 * cli-out.c: Whitespace tweaks.
1272ad14 1620 * breakpoint.c: Whitespace tweaks.
4791eb66
MS
1621 * cli/cli-interp.c: Tweak comments, per coding standard.
1622
f30f06b8
AC
16232005-01-13 Andrew Cagney <cagney@gnu.org>
1624
ce43223b
AC
1625 * breakpoint.c (gdb_breakpoint_query): Update, use
1626 catch_exceptions_with_msg.
1627 (do_captured_breakpoint): Add uiout parameter.
1628 (gdb_breakpoint): Update, use catch_exceptions_with_msg.
1629 * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
1630 gdb_thread_select. Return MI_CMD_ERROR instead of
1631 MI_CMD_CAUGHT_ERROR.
1632 (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
1633 (enum captured_mi_execute_command_actions): Delete
1634 EXECUTE_COMMAND_DISPLAY_ERROR.
1635 (captured_mi_execute_command): Delete code handling
1636 MI_CMD_CAUGHT_ERROR.
1637 (mi_execute_command): Don't check for
1638 EXECUTE_COMMAND_DISPLAY_ERROR.
1639 * mi/mi-cmd-break.c (breakpoint_notify): Update call to
1640 gdb_breakpoint_query.
1641 (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
1642 * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
1643 * gdb.h (gdb_thread_select, gdb_list_thread_ids)
1644 (gdb_breakpoint, gdb_breakpoint_query): Add error_message
1645 parameter.
1646 * thread.c (thread_command): Update call.
1647 (gdb_thread_select, gdb_list_thread_ids): Update, call
1648 catch_exceptions_with_msg.
1649
f30f06b8
AC
1650 * mi/mi-main.c (mi_execute_command): Use catch_exception,
1651 eliminate call to error_last_message.
1652 (captured_mi_execute_command): Change return type to void.
1653
2a78bfb5
AC
16542005-01-12 Andrew Cagney <cagney@gnu.org>
1655
c1043fc2
AC
1656 * exceptions.c (exception_none): New variable.
1657 * Makefile.in: Update dependencies.
1658 * interps.c: Include "exceptions.h".
1659 (interpreter_exec_cmd, interp_exec): Update to return "struct
1660 exception"
1661 * exceptions.h (no_exception): Declare.
1662 * tui/tui-interp.c (tui_exec): Update to return "struct exception"
1663 * mi/mi-interp.c: Include "exceptions.h".
1664 (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
1665 'struct exception".
1666 * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
1667 (do_captured_execute_command): Update to use catch_exception.
1668 * interps.h: Include "exceptions.h".
1669 (interp_exec_ftype, interp_exec): Return "struct exception".
1670
2a78bfb5
AC
1671 * exceptions.h (throw_reason): Rename throw_exception.
1672 (enum errors, struct exception): Define.
1673 (catch_exception_ftype): Define.
1674 (catch_exception, throw_exception): Declare.
1675 * exceptions.c (throw_exception): Rewrite.
1676 (throw_reason): New function.
1677 (struct catcher, catcher_state_machine): Replace "reason" with
1678 "exception", delete "gdberrmsg".
1679 (catch_exception): New function.
1680 (catcher_init): Replace "gdberrmsg" parameter with "exception".
1681 (catch_errors, catch_exceptions_with_msg): Re-implement passing
1682 exception to catcher_init.
1683 * utils.c (error_silent, error_stream_1): Use throw_reason.
1684 (internal_verror, quit): Ditto.
1685 * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
1686 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
1687 * remote.c (remote_open_1, interrupt_query): Ditto.
1688
8b1ca062
MK
16892005-01-12 Mark Kettenis <kettenis@gnu.org>
1690
fa565c2b
MK
1691 * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
1692 "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
1693 (i386fbsd_jmp_buf_reg_offset): New variable.
1694 (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
1695 functions.
1696 (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
1697 * Makefile.in (i386fbsd-tdep.o): Update dependency.
1698 * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
1699
82f5c14f
MK
1700 * bsd-uthread.h: New file.
1701 * bsd-uthread.c: New file.
1702 * Makefile.in (bsd_uthread_h): New variable.
1703 (ALLDEPFILES): Add bsd-uthread.c.
1704 (bsd-uthread.o): New dependency.
1705
42a6e6a0
MK
1706 * solib.h Update copyright year.
1707 (struct so_list): Forward declaration.
1708 (solib_read_symbols): New prototype.
1709 * solib.c (solib_read_symbols): New function.
1710 (solib_add): Call solib_read_symbols to read in symbols.
1711 (update_solib_list): Call observer_notify_solib_loaded.
1712
8b1ca062
MK
1713 * i386bsd-nat.c: Update copyright year. Don't include
1714 <sys/param.h> and <sys/user.h>.
1715 (register_u_addr, kernel_u_size): Remove functions.
1716 * config/i386/obsd.mh (NAT_FILE): Remove.
1717 * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
1718 * config/i386/nm-obsd.h: Remove file.
1719
60250e8b
AC
17202005-01-12 Andrew Cagney <cagney@gnu.org>
1721
db5f402d
AC
1722 * exceptions.c: Include "gdb_string.h".
1723 (enum catcher_state, struct catcher): Define.
1724 (current_catcher): New global, replaces catch_return;
1725 (catch_return): Delete.
1726 (throw_exception): Use current_catcher->buf;
1727 (catcher_init, catcher_pop, catcher_state_machine): New functions.
1728 (catcher): Delete.
1729 (struct catch_errors_args): Delete.
1730 (do_catch_errors): Delete.
1731 (catch_exceptions): Replace body with call to
1732 catch_exceptions_with_msg.
1733 (catcher): Delete.
1734 (catch_exceptions_with_msg, catch_errors): Re-implement using
1735 catcher_state_machine.
1736
60250e8b
AC
1737 * exceptions.h (enum return_reason, RETURN_MASK)
1738 (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
1739 (return_mask, throw_exception, catch_exceptions_ftype)
1740 (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
1741 (catch_command_errors_ftype, catch_command_errors): Move to
1742 exceptions.h.
1743 * exceptions.c, exceptions.h: New files.
1744 * top.c: Do not include <setjmp.h>.
1745 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
1746 (throw_exception, catcher, catch_exceptions)
1747 (catch_exceptions_with_msg, struct catch_errors_args)
1748 (do_catch_errors, catch_errors, struct captured_command_args)
1749 (do_captured_command, catch_command_errors): Move to exceptions.c.
1750 * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
1751 * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
1752 * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
1753 * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
1754 * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
1755 * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
1756 * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
1757 * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
1758 * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
1759 * ada-valprint.c, ada-lang.c: Ditto.
1760 * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
1761 exceptions.o. Update all dependencies.
1762
ca14ead7
MK
17632005-01-11 Mark Kettenis <kettenis@gnu.org>
1764
eafc7eea
MK
1765 * config/i386/nm-fbsd.h: Update copyright year.
1766 Don't include "config/nm-bsd.h".
1767 (KERNEL_U_SIZE): Remove macro.
1768 (kernel_u_size): Remove prototype.
1769
ca14ead7
MK
1770 * config/vax/nbsdaout.mh (NAT_FILE): Remove.
1771 * config/vax/nm-nbsdaout.h: Remove file.
1772
4a39d934
EZ
17732005-01-10 Elena Zannoni <ezannoni@redhat.com>
1774
1775 * MAINTAINERS: Remove self from sh/sh64 maintainership.
1776
93f0f986
AC
17772005-01-10 Andrew Cagney <cagney@gnu.org>
1778
c4f9e2bf
AC
1779 * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
1780 changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
1781 maintainer.
1782
6b71dd74
AC
1783 * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
1784 changes to CRIS.
1785
93f0f986
AC
1786 * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
1787 COMMIT means can approve).
1788
8785ced0
MK
17892005-01-10 Mark Kettenis <kettenis@gnu.org>
1790
2a2de4ce
MK
1791 * vax-nat.c: Update copyright year. Include "inf-ptrace.h".
1792 (vax_register_u_offset): Make statuc.
1793 (_initialize_vax_nat): Construct and add target vector.
1794 * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
1795 inftarg.o. Add inf-ptrace.o.
1796 * Makefile.in (vax-nat.o): Update dependencies.
1797
8785ced0
MK
1798 * inf-ptrace.h: Update copyright year. Sync comment with
1799 inf-ptrace.c.
1800 (inf_ptrace_trad_target): New prototype.
1801 * inf-ptrace.c: Update copyright year. Include "regcache.h" and
1802 "gdb_assert.h"
1803 (inf_ptrace_target): Add comment.
1804 (inf_ptrace+register_u_offset): New variable.
1805 (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
1806 (inf_ptrace_store_register, inf_ptrace_store_registers)
1807 (inf_ptrace_trad_target): New functions.
1808 * Makefile.in (inf-ptrace.o): Update dependencies.
1809
7cb9022a
MK
18102005-01-09 Mark Kettenis <kettenis@gnu.org>
1811
1812 * configure.ac: Provide prerequisite headers when checking
1813 <link.h>, <sys/proc.h> and <sys/user.h>.
1814 * configure: Regenerate.
1815
c534d641
MK
18162005-01-08 Mark Kettenis <kettenis@gnu.org>
1817
1818 * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
1819 tm-ppc-eabi.h instead of the removed tm-nbsd.h.
1820
4b48ac22
MK
18212005-01-07 Mark Kettenis <kettenis@gnu.org>
1822
1823 * config/ia64/tm-linux.h: Tweak comment. Update copyright year.
1824 Don't include "tm-ia64.h".
1825 * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
1826 * config/ia64/tm-ia64.h: Remove. Move contents ...
1827 * ia64-tdep.h: ... here. Update copyright year.
1828
3ace7edb
AC
18292005-01-07 Andrew Cagney <cagney@gnu.org>
1830
bec39cab
AC
1831 * configure.ac: Rename configure.in, require autoconf 2.59.
1832 * configure: Re-generate.
1833
e14ecb8f
AC
1834 * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
1835 xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
1836 to configdirs.
1837
3ace7edb
AC
1838 * configure.in: Replace configdirs with multiple references to
1839 AC_CONFIG_SUBDIRS.
1840 * configure: Re-generate.
1841
b33e8514
AS
18422005-01-05 Andreas Schwab <schwab@suse.de>
1843
1844 * ia64-tdep.c: Include "osabi.h".
1845 (native_find_global_pointer): Delete.
1846 (ia64_find_global_pointer): Renamed from
1847 generic_elf_find_global_pointer.
1848 (FIND_GLOBAL_POINTER): Delete. Change all users to call
1849 ia64_find_global_pointer instead.
1850 (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
1851 to ia64_linux_sigcontext_register_address and
1852 ia64_linux_write_pc. Don't set tdep->find_global_pointer.
1853 (_initialize_ia64_tdep): Call gdbarch_register instead of
1854 deprecated register_gdbarch_init.
1855 (struct gdbarch_tdep): Remove find_global_pointer field and move
1856 to ...
1857 * ia64-tdep.h (struct gdbarch_tdep): ... here.
1858 (ia64_linux_sigcontext_register_address): Remove declaration.
1859 (ia64_linux_getunwind_table): Likewise.
1860 (ia64_linux_write_pc): Likewise.
1861 * ia64-linux-tdep.c: Include "osabi.h".
1862 (ia64_linux_sigcontext_register_address): Make static.
1863 (ia64_linux_write_pc): Likewise.
1864 (ia64_linux_init_abi): New.
1865 (_initialize_ia64_linux_tdep): New.
1866 * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
1867 $(osabi_h).
1868
0ea390ed
KB
18692005-01-05 Kevin Buettner <kevinb@redhat.com>
1870
1871 * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
1872 functions in ia64-aix-tdep.c.
1873 * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
1874 function defined in ia64-aix-tdep.c.
1875 * ia64-aix-tdep.c: Remove file.
1876 * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
1877 this list.
1878 * Makefile.in (ia64-aix-tdep.o): Delete.
1879
edefbb7c
AC
18802005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
1881
1882 Committed by Andrew Cagney.
1883 * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
1884 * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
1885 * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
1886 * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
1887 * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
1888 * aix-thread.c (_initialize_aix_thread): Get rid of the
1889 deprecated_add_show_from_set call.
1890 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
1891 * arm-tdep.c (_initialize_arm_tdep): Ditto.
1892 * command.h (add_setshow_enum_cmd): Add arguments for returning
1893 new list elements.
1894 * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
1895 * mips-tdep.c (_initialize_mips_tdep): Modify calls to
1896 add_setshow_enum_cmd.
1897
a260932f
MK
18982005-01-04 Mark Kettenis <kettenis@gnu.org>
1899
34cf1994
MK
1900 * configure.host (ia64-*-aix*): Remove.
1901 * configure.tgt (ia64-*-aix*): Remove.
1902 * config/ia64/aix.mh: Remove file.
1903 * config/ia64/aix.mt: Remove file.
1904 * config/ia64/tm-aix.h: Remove file.
1905 * ia64-aix-nat.c: Remove file.
1906 * Makefile.in (ia64-aix-nat.o): Remove dependency.
1907
a260932f
MK
1908 * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
1909 Add back inf-ptrace.o.
1910
5ed102a1
AC
19112005-01-04 Andrew Cagney <cagney@gnu.org>
1912
1913 * version.in: Change format from 6.3.50_2005-01-04-cvs to
1914 6.3.50.20050104-cvs.
1915
3a63c4b7
AS
19162005-01-04 Andreas Schwab <schwab@suse.de>
1917
1918 * breakpoint.c (break_command_1): Always free err_msg before
1919 returning when an exception was caught.
1920
e22b26cb
JB
19212005-01-01 Joel Brobecker <brobecker@gnat.com>
1922
1923 * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
1924 in register number for addil instruction.
1925
151c5df6 1926For older changes see ChangeLog-2004.
c906108c
SS
1927\f
1928Local Variables:
1929mode: change-log
1930left-margin: 8
1931fill-column: 74
1932version-control: never
1933End:
This page took 0.760603 seconds and 4 git commands to generate.