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