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