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