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