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