aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2005-02-27*** empty log message ***gdbadmin1-1/+1
2005-02-262005-02-25 Mark Kettenis <kettenis@gnu.org>Elena Zannoni2-30/+43
Committed by Elena Zannoni <ezannoni@redhat.com> * dwarf2read.c (dwarf2_build_psymtabs_hard): Adjust info_ptr before building psymtabs for included files. (create_all_comp_units): Initailize initial length size of compilation header to zero. (read_initial_length): Complain if both 32-bit and 64-bit DWARF sections are encountered within the same compilation header. (dwarf_decode_line_header): Pass compilation header in call to read_initial_length.
2005-02-26*** empty log message ***gdbadmin1-1/+1
2005-02-25*** empty log message ***gdbadmin1-1/+1
2005-02-24 * gdb.ada/fixed_points.exp: Create compilation object directoryJoel Brobecker5-0/+12
before running the test. * gdb.ada/null_record.exp: Likewise. * gdb.ada/packed_array.exp: Likewise. * gdb.ada/start.exp: Likewise.
2005-02-24 * acinclude.m4: Include bfd/bfd.m4 directly.Daniel Jacobowitz5-101/+68
* configure.ac: Use AC_ARG_PROGRAM. Suggested by Aron Griffis <agriffis@toolchain.org>. * aclocal.m4, configure: Regenerated.
2005-02-242005-02-24 Andrew Cagney <cagney@gnu.org>Andrew Cagney35-88/+812
Add show_VARIABLE functions, update add_setshow call. * varobj.c (_initialize_varobj, show_varobjdebug): Add and update. * valprint.c (_initialize_valprint, show_print_max) (show_stop_print_at_null, show_repeat_count_threshold) (show_prettyprint_structs, show_unionprint) (show_prettyprint_arrays, show_addressprint, show_input_radix) (show_output_radix): Ditto. * valops.c (_initialize_valops, show_overload_resolution): Ditto. * utils.c (initialize_utils, show_chars_per_line) (show_lines_per_page, show_demangle, show_pagination_enabled) (show_sevenbit_strings, show_asm_demangle): Ditto * tui/tui-win.c (_initialize_tui_win, show_tui_border_kind) (show_tui_border_mode, show_tui_active_border_mode): Ditto. * top.c (init_main, show_new_async_prompt) (show_async_command_editing_p, show_write_history_p) (show_history_size, show_history_filename, show_caution) (show_annotation_level, init_main): Ditto. * target.c (initialize_targets, show_targetdebug) (show_trust_readonly): Ditto. * symfile.c (_initialize_symfile, show_symbol_reloading) (show_ext_args, show_download_write_size) (show_debug_file_directory): Ditto. * source.c (_initialize_source, show_lines_to_list): Ditto. * solib.c (_initialize_solib, show_auto_solib_add) (show_solib_search_path): Ditto. * p-valprint.c (_initialize_pascal_valprint) (show_pascal_static_field_print): Ditto. * printcmd.c (_initialize_printcmd, show_max_symbolic_offset) (show_print_symbol_filename): Add and update. * parse.c (_initialize_parse, show_expressiondebug): Dito. * observer.c (_initialize_observer, show_observer_debug): Dito. * maint.c (_initialize_maint_cmds, show_watchdog) (show_maintenance_profile_p): Dito. * linux-nat.c (_initialize_linux_nat, show_debug_linux_nat): Dito. * infrun.c (_initialize_infrun, show_debug_infrun) (show_stop_on_solib_events, show_follow_fork_mode_string) (show_scheduler_mode, show_step_stop_if_no_debug): Ditto. * infcall.c (_initialize_infcall, show_coerce_float_to_double_p) (show_unwind_on_signal_p): Ditto. * gdbtypes.c (build_gdbtypes, show_opaque_type_resolution) (_initialize_gdbtypes, show_overload_debug): Ditto. * gdb-events.c, gdb-events.sh (_initialize_gdb_events) (show_gdb_events_debug): Ditto. * gdbarch.c, gdbarch.sh (show_gdbarch_debug) (_initialize_gdbarch): Ditto. * frame.c (_initialize_frame, show_backtrace_past_main) (show_backtrace_past_entry, show_backtrace_limit) (show_frame_debug): Ditto. * exec.c (_initialize_exec, show_write_files): Ditto. * dwarf2read.c (_initialize_dwarf2_read) (show_dwarf2_max_cache_age): Ditto. * demangle.c (_initialize_demangler) (show_demangling_style_names): Ditto. * dcache.c (_initialize_dcache, show_dcache_enabled_p): Ditto. * cp-valprint.c (show_static_field_print) (_initialize_cp_valprint, show_vtblprint, show_objectprint): Ditto. * corefile.c (_initialize_core, show_gnutarget_string): Ditto. * cli/cli-logging.c (_initialize_cli_logging) (show_logging_overwrite, show_logging_redirect) (show_logging_filename): Ditto. * cli/cli-cmds.c (show_info_verbose, show_history_expansion_p) (init_cli_cmds, show_baud_rate, show_remote_debug) (show_remote_timeout, show_max_user_call_depth): Ditto. * charset.c (show_host_charset_name, show_target_charset_name) (initialize_charset): Ditto. * breakpoint.c (show_can_use_hw_watchpoints) (show_pending_break_support, _initialize_breakpoint): Ditto.
2005-02-24*** empty log message ***gdbadmin1-1/+1
2005-02-23* disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.Jim Blandy2-0/+5
2005-02-232005-02-23 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-1/+8
* cli/cli-dump.c (dump_bfd_file): Replace magic constant with SEC_XXX flags.
2005-02-23*** empty log message ***gdbadmin1-1/+1
2005-02-222005-02-22 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-2/+7
* configure.ac: Only enaable insight when itcl is present. * configure: Re-generate.
2005-02-22*** empty log message ***gdbadmin1-1/+1
2005-02-212005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>Andrew Cagney2-2/+7
* infptrace.c (store_register): Fix typo.
2005-02-212005-02-21 Andrew Cagney <cagney@gnu.org>Andrew Cagney7-25/+35
* command.h (deprecated_add_set_cmd): Rename add_set_cmd. * cli/cli-decode.h (add_set_cmd): Delete declaration. * cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd. * i386-nat.c (_initialize_i386_nat): Update call. * valprint.c (_initialize_valprint): Update comment. * gnu-nat.c (_initialize_gnu_nat): Update call.
2005-02-21 * elfread.c (elf_symtab_read): Discard section syms.Alan Modra2-1/+7
2005-02-212005-02-21 Andrew Cagney <cagney@gnu.org>Andrew Cagney8-109/+19
* cli/cli-decode.c (add_set_enum_cmd): Delete function. (deprecated_add_show_from_set): Delete function. * command.h (add_set_enum_cmd): Delete declaration. (deprecated_add_show_from_set): Delete declaration. * cli/cli-decode.h (add_set_enum_cmd): Delete declaration. (deprecated_add_show_from_set): Delete declaration. * arm-tdep.c (_initialize_arm_tdep): Update comment. * kod.c (kod_set_os): Simplify. * infrun.c (set_schedlock_func): Simplify. * cli/cli-dump.c (add_dump_command): Update comment.
2005-02-212005-02-21 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-27/+32
Replace string variables with a filename completer with add_setshow_optional_filename_cmd. * solib.c, symfile.c: Update. * cli/cli-setshow.c: Do not tidle expand the file.
2005-02-212005-02-21 Andrew Cagney <cagney@gnu.org>Andrew Cagney11-127/+146
Add more uses of add_setshow_string_cmd, add_setshow_integer_cmd, and add_setshow_string_noescape_cmd. * cli/cli-setshow.c (deprecated_show_value_hack): Do not print a NULL command's value. * kod.c, language.c, ocd.c, remote-e7000.c, remote-mips.c: Update. * remote-sds.c, remote.c, symfile.c, top.c: Update.
2005-02-212005-02-20 Andrew Cagney <cagney@gnu.org>Andrew Cagney10-206/+198
Use add_setshow_enum_cmd through out. * arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update. * infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update.
2005-02-212005-02-20 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-24/+33
* mi/mi-main.c (captured_mi_execute_command): Use mi_cmd_interpreter_exec.
2005-02-212005-02-20 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-13/+63
* cli/cli-decode.c (add_setshow_optional_filename_cmd): New function. * cli/cli-setshow.c (deprecated_show_value_hack) (do_setshow_command): Handle var_optional_filename. * command.h (enum var_types): Add var_optional_filename. (add_setshow_optional_filename_cmd): Declare. * infcmd.c (notice_args_read): Use.
2005-02-212005-02-20 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-11/+8
* symfile-mem.c (symbol_file_add_from_memory): Pass target_read_memory to bfd_elf_bfd_from_remote_memory. (do_target_read_memory): Delete.
2005-02-21*** empty log message ***gdbadmin1-1/+1
2005-02-20* value.h (value_contents_equal): New prototype.Mark Kettenis4-52/+65
* value.c (value_contents_equal): New function. * varobj.c: Include "exceptions.h" and "gdb_assert.h". Don't include <math.h>. (varobj_set_value): Initialize error to zero. (varobj_update): Rename error2 to error and initialize it to zero. Slightly change the wording of some comments. (my_value_equal): Reimplement using TRY_CATCH and value_contents_equal.
2005-02-20*** empty log message ***gdbadmin1-1/+1
2005-02-19*** empty log message ***gdbadmin1-1/+1
2005-02-182005-02-18 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-11/+50
* cli/cli-decode.c (add_setshow_integer_cmd): New function. * command.h (add_setshow_integer_cmd): Declare. * cli/cli-cmds.c: Update.
2005-02-182005-02-18 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-48/+57
Use add_setshow_uinteger_cmd through out. * printcmd.c, source.c, utils.c, valprint.c: Update.
2005-02-182005-02-18 Andrew Cagney <cagney@gnu.org>Andrew Cagney23-230/+269
Use add_setshow_zinteger_cmd through out. Re-sync gdbarch.sh and gdbarch.c. * breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update. * gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update. * pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update. * serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update. * varobj.c, cli/cli-cmds.c: Update. * gdbarch.c, gdb-events.c: Regenerate.
2005-02-182005-02-18 Andrew Cagney <cagney@gnu.org>Andrew Cagney25-357/+380
Use add_setshow_boolean_command through out. Delete #ifdef 0'ed code adding set/show boolean commands. * cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update. * monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update. * proc-api.c, remote-mips.c, remote.c, solib.c: Update. * somsolib.c, symfile.c, top.c, utils.c, valops.c: Update. * valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update. * cli/cli-cmds.c: Update.
2005-02-18*** empty log message ***gdbadmin1-1/+1
2005-02-172005-02-17 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-33/+43
* cli/cli-decode.c (add_setshow_filename_cmd): Set the completer to filename_completer. * solib.c (_initialize_solib, reload_shared_libraries): Use add_setshow_filename_cmd. * serial.c (_initialize_serial): Ditto. * remote-utils.c (_initialize_sr_support): Ditto.
2005-02-172005-02-17 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-30/+69
* cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd) (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) (add_setshow_filename_cmd, add_setshow_string_cmd) (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete fprint_setshow parameter. * command.h (fprint_setshow_ftype): Delete. (add_setshow_cmd_full, add_setshow_enum_cmd) (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) (add_setshow_filename_cmd, add_setshow_string_cmd) (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete fprint_setshow parameter. * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update. * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update. * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update. * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update * remote.c, target.c, cli/cli-logging.c: Update.
2005-02-172005-02-17 Andrew Cagney <cagney@gnu.org>Andrew Cagney22-74/+79
* cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd) (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) (add_setshow_filename_cmd, add_setshow_string_cmd) (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete fprint_setshow parameter. * command.h (fprint_setshow_ftype): Delete. (add_setshow_cmd_full, add_setshow_enum_cmd) (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) (add_setshow_filename_cmd, add_setshow_string_cmd) (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete fprint_setshow parameter. * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update. * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update. * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update. * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update * remote.c, target.c, cli/cli-logging.c: Update.
2005-02-17Fix bogus entry.Mark Kettenis1-5/+2
2005-02-17*** empty log message ***gdbadmin1-1/+1
2005-02-162005-02-16 Andrew Cagney <cagney@gnu.org>Andrew Cagney9-85/+165
Merge setshow print and show parameters. * command.h (show_value_ftype): Define. (deprecated_show_value_hack): Declare. (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd) (add_setshow_boolean_cmd, add_setshow_filename_cmd) (add_setshow_string_cmd, add_setshow_uinteger_cmd) (add_setshow_zinteger_cmd): Change type of show_func to show_value_ftype. * cli/cli-decode.h (struct cmd_list_element): Replace fprint_setshow with show_value_func. * cli/cli-decode.c (add_setshow_cmd_full): Update show_func parameter. Set show_value_func. Do not set cmd_sfunc. (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd) (add_setshow_boolean_cmd, add_setshow_filename_cmd) (add_setshow_string_cmd, add_setshow_uinteger_cmd) (add_setshow_zinteger_cmd): Update. * complaints.c (complaints_show_value): Replace fprint_setshow_complaints. (_initialize_complaints): Update. * mips-tdep.c (show_mask_address): Update. * arm-tdep.c (show_fp_model): Update. * cli/cli-setshow.c (do_setshow_command): Call show_value_func instead of fprint_setshow. Use deprecated_show_value_hack. (deprecated_show_value_hack): New function. * remote.c (add_packet_config_cmd, show_remote_cmd): (show_remote_protocol_P_packet_cmd) (show_remote_protocol_P_packet_cmd) (show_remote_protocol_Z_access_wp_packet_cmd) (show_remote_protocol_Z_hardware_bp_packet_cmd) (show_remote_protocol_Z_packet_cmd) (show_remote_protocol_Z_read_wp_packet_cmd) (show_remote_protocol_Z_software_bp_packet_cmd) (show_remote_protocol_Z_write_wp_packet_cmd) (show_remote_protocol_binary_download_cmd) (show_remote_protocol_p_packet_cmd) (show_remote_protocol_qPart_auxv_packet_cmd) (show_remote_protocol_qSymbol_packet_cmd) (show_remote_protocol_vcont_packet_cmd): Update.
2005-02-16* wrapper.h: Update copyright year. Properly wrap a fewMark Kettenis4-244/+94
prototypes. (struct gdb_wrapper_arguments): Remove forward declaration. * wrapper.c: Update copyright year. Include "ui-out.h". (struct gdb_wrapper_arguments): Remove. (struct captured_value_struct_elt_args): Remove. (wrapper_parse_exp_1, wrap_evaluate_expression) (wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign) (wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type) (do_captured_value_struct_elf): Remove functions. (gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy) (gdb_value_equal, gdb_value_assign, gdb_value_subscript) (gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt): Re-implement using TRY_CATCH.
2005-02-16* remote-e7000.c: unuse TM_FILE defined macro.Yoshinori Sato3-3/+32
(e7000_fetch_registers) (e7000_store_registers) (e7000_wait): delete NUM_REALREGS. * remote-hms.c: move TM_FILE macro. (CCR_REGNO): move define from tm-h8300.h.
2005-02-16* amd64-linux-tdep.c: Update copyright year.Mark Kettenis2-4/+12
(amd64_linux_sigtramp_start): Change argument to `struct frame_info *'. Use safe_frame_unwind_memory instead of deprecated_read_memory_nobpt. (amd64_linux_sigtramp_p): Adjust call to amd64_linux_sigtramp_start.
2005-02-16*** empty log message ***gdbadmin1-1/+1
2005-02-15 * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather thanJoel Brobecker2-1/+7
SYMBOL_NATURAL_NAME to set type names.
2005-02-152005-02-15 Andrew Cagney <cagney@gnu.org>Andrew Cagney65-566/+595
Mark up add_com, add_info and add_prefix_cmd. * breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update. * exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update. * go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update. * kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update. * maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update. * ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update. * remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update. * remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update. * remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update. * sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update. * symfile.c, symtab.c, target.c, thread.c, top.c: Update. * tracepoint.c, typeprint.c, utils.c, valprint.c: Update. * win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update. * cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update. * tui/tui-stack.c, tui/tui-win.c: Update.
2005-02-15 * gdb.ada/packed_array/pa.adb: New file.Joel Brobecker3-0/+78
* gdb.ada/packed_array.exp: New testcase.
2005-02-152005-02-14 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-33/+3
* config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete. * config/h8300/tm-h8300.h: Delete file.
2005-02-15*** empty log message ***gdbadmin1-1/+1
2005-02-142005-02-14 Andrew Cagney <cagney@gnu.org>Andrew Cagney43-487/+493
Mark up add_cmd. * arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update. * cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update. * exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update. * infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update. * mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update. * reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update. * sol-thread.c, source.c, stack.c, symfile-mem.c: Update. * symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update. * win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update. * cli/cli-logging.c, tui/tui-regs.c: Update.
2005-02-142005-02-14 Andrew Cagney <cagney@gnu.org>Andrew Cagney19-184/+195
Mark up add_setshow functions, replace "PRINT:" comment prefix with "FIXME: i18n:". * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update. * cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update. * infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update. * nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update. * target.c, cli/cli-logging.c: Update.
2005-02-142005-02-14 Andrew Cagney <cagney@gnu.org>Andrew Cagney25-109/+142
* utils.c (paddress): New function. * defs.h (paddress): Declare. * printcmd.c (deprecated_print_address_numeric): Rename print_address_numeric, call paddress. * valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update. * symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update. * maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update. * dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update. * corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update. * ada-valprint.c: Update.