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