Daniel Jacobowitz
c74d0ad827
* gdb.texinfo (Monitor commands for gdbserver): New subsection.
...
* remote-utils.c (monitor_output): New function.
* server.c (debug_threads): Define here.
(monitor_show_help): New function.
(handle_query): Handle qRcmd.
(main): Do not handle 'd' packet.
* server.h (debug_threads, remote_debug, monitor_output): Declare.
* linux-low.c, spu-low.c, win32-i386-low.c: Remove definitions
of debug_threads.
* gdb.server/server-mon.exp: New test.
2007-02-26 20:10:18 +00:00
Daniel Jacobowitz
ff6f572f8b
* arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
...
if there are no FPA registers.
(arm_dwarf_reg_to_regnum): New function.
(arm_register_type, arm_register_name): Return minimal values for
unsupported registers.
(arm_register_sim_regno): Handle iWMMXt registers.
(arm_gdbarch_init): Record missing FPA registers if indicated by
a target description. Recognize iWMMXt registers. Only register
"info float" for FPA. Use ARM_NUM_REGS. Register
arm_dwarf_reg_to_regnum.
* arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
constants.
(struct gdbarch_tdep): Add have_fpa_registers.
* features/xscale-iwmmxt.xml: Update capitalization.
* regformats/arm-with-iwmmxt.dat: Regenerated.
* src/gdb/doc/gdb.texinfo (Standard Target Features): Mention
case insensitivity.
(ARM Features): Describe org.gnu.gdb.xscale.iwmmxt.
* gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
register capitalization.
2007-02-26 19:18:53 +00:00
Nick Roberts
0869d01bc3
(Top): Put Appendix A after numbered sections.
...
(Files): Add section name to argument list for pxref.
(Non-debug DLL symbols): Don't use `see' for pxref.
(Embedded Processors): Fix typo.
(GDB/MI Breakpoint Commands): Execution commands generate
*stopped not ^done.
2007-02-18 08:04:35 +00:00
Nick Roberts
994337c364
*** empty log message ***
2007-02-18 08:03:18 +00:00
Nick Roberts
36ece8b31d
(GDB/MI Variable Objects): Describe meanings of
...
values for in_scope. Mention that only root variables can be
updated.
(GDB/MI Development and Front Ends): Explain new values may be
added to existing fields.
2007-02-12 23:53:02 +00:00
Nick Roberts
eb819d7017
*** empty log message ***
2007-02-12 23:51:46 +00:00
Daniel Jacobowitz
123dc83914
* Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
...
(xml-tdesc.o): Update.
* xml-support.c: Add a comment.
(gdb_xml_enums_boolean): New variable.
(gdb_xml_parse_attr_enum): Use strcasecmp.
* xml-support.h (gdb_xml_enums_boolean): Declare.
* xml-tdesc.c (struct tdesc_parsing_data): Record current_feature,
next_regnum, and current_union.
(tdesc_start_feature, tdesc_start_reg, tdesc_start_union)
(tdesc_end_union, tdesc_start_field, tdesc_start_vector)
(field_attributes, union_children, reg_attributes, union_attributes)
(vector_attributes, feature_attributes, feature_children): New.
(target_children): Make static. Add <feature>.
(tdesc_elements): Make static.
* target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p)
(struct tdesc_feature, tdesc_feature_p): New types.
(struct target_desc): Add features member.
(struct tdesc_arch_data, tdesc_data): New.
(target_find_description): Clarify error message. Warn about
ignored register descriptions.
(tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
(tdesc_named_type, tdesc_data_init, tdesc_data_alloc)
(tdesc_data_cleanup, tdesc_numbered_register)
(tdesc_numbered_register_choices, tdesc_find_register)
(tdesc_register_name, tdesc_register_type)
(tdesc_remote_register_number, tdesc_register_reggroup_p)
(set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type)
(set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers)
(tdesc_free_reg, tdesc_create_reg, tdesc_free_feature)
(tdesc_create_feature, tdesc_record_type): New.
(free_target_description): Free features.
(_initialize_target_descriptions): Initialize tdesc_data.
* arch-utils.c (default_remote_register_number): New.
* arch-utils.h (default_remote_register_number): New prototype.
* target-descriptions.h (set_tdesc_pseudo_register_name)
(set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p)
(tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup)
(tdesc_numbered_register, tdesc_numbered_register_choices)
(tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
(tdesc_named_type, tdesc_create_feature, tdesc_record_type)
(tdesc_create_reg): Declare.
* gdbarch.sh (remote_register_number): New entry.
* gdbarch.c, gdbarch.h: Regenerate.
* remote.c (init_remote_state): Use gdbarch_remote_register_number.
* features/gdb-target.dtd: Add feature, reg, vector, union, and field.
* arm-tdep.c (arm_register_aliases): New.
(arm_register_name_strings): Rename to...
(arm_register_names): ...this. Make const. Delete the old version.
(current_option, arm_register_byte): Delete.
(set_disassembly_style): Simplify. Do not adjust arm_register_names.
(value_of_arm_user_reg): New.
(arm_gdbarch_init): Verify any described registers. Call
tdesc_use_registers. Don't use arm_register_byte. Create aliases
for standard register names.
(_initialize_arm_tdep): Do not adjust arm_register_names.
* user-regs.c (struct user_reg): Add baton member.
(append_user_reg, user_reg_add_builtin, user_regs_init)
(user_reg_add, value_of_user_reg): Use a baton for user
register functions.
* std-regs.c: Update.
* user-regs.h (user_reg_read_ftype, user_reg_add_builtin)
(user_reg_add): Add baton argument.
* NEWS: Mention target description register support.
* features/arm-core.xml, features/arm-fpa.xml: New.
* eval.c (evaluate_subexp_standard): Allow ptype $register
when the program is not running.
* gdb.texinfo (-target-disconnect): Use @smallexample.
(Requirements): Add anchor for Expat. Update description.
(Target Descriptions): Mention Expat.
(Target Description Format): Document new elements. Use
@smallexample.
(Predefined Target Types, Standard Target Features): New sections.
* doc/gdbint.texinfo (Target Descriptions): New section.
* gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
2007-02-08 21:00:36 +00:00
Daniel Jacobowitz
108546a0ea
* Makefile.in (XMLFILES): New.
...
(COMMON_OBS): Add xml-builtin.o.
(xml-builtin.c, stamp-xml): New rules.
(xml-tdesc.o): Update.
* features/feature_to_c.sh: New file.
* xml-support.c (MAX_XINCLUDE_DEPTH): Define.
(struct gdb_xml_parser): Add dtd_name and is_xinclude.
(gdb_xml_start_element): Initialize scope after possibly reallocating
scopes. Move cleanup later. Handle the XInclude description
specially.
(gdb_xml_end_element): Only parse the body if there is a current element.
Call XML_DefaultCurrent if there is no element.
(gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New.
(struct xinclude_parsing_data, xinclude_start_include)
(xinclude_end_include, xml_xinclude_default)
(xml_xinclude_start_doctype, xml_xinclude_end_doctype)
(xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes)
(xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New.
* xml-support.h (xml_fetch_another, xml_process_xincludes)
(fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations.
* xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand
XInclude directives. Use the compiled in DTD.
(fetch_xml_from_file): Add baton argument. Treat it as a containing
directory name. Do not warn here.
(file_read_description_xml): Update call. Warn here instead. Pass
a dirname as baton.
(fetch_available_features_from_target): New.
(target_read_description_xml): Use it.
* features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd
to handle XInclude.
* features/xinclude.dtd: New file.
* gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
* gdb.texinfo (Target Description Format): Add section on XInclude.
2007-02-07 22:48:06 +00:00
Nick Roberts
a4eefcd852
(GDB/MI Miscellaneous Commands): Describe the new
...
command -enable-timings.
2007-02-02 23:11:34 +00:00
Nick Roberts
95a98c0117
*** empty log message ***
2007-02-02 23:09:00 +00:00
Eli Zaretskii
f4b3909f86
* gdbint.texinfo (Operation System ABI Variant Handling): Update
...
descriptions for new/deleted elements in gdb_osabi. Add missing
description for function generic_elf_osabi_sniff_abi_tag_sections.
2007-02-02 19:48:50 +00:00
Joel Brobecker
c7ba131ee0
* gdb.texinfo (Maintenance Commands): Add documentation for
...
the new "maint print target-stack" command.
2007-01-29 16:37:34 +00:00
Jan Kratochvil
3a60f64edd
* gdb.texinfo: Describe CHAR array vs. string identifcation rules.
2007-01-26 20:53:52 +00:00
Eli Zaretskii
c582f8b627
*** empty log message ***
2007-01-26 08:57:09 +00:00
Eli Zaretskii
e22ea45271
* gdb.texinfo (Compilation, Files, Bootstrapping, Bug Reporting):
...
Use @value{NGCC} instead of @value{GCC}.
2007-01-26 08:54:01 +00:00
Eli Zaretskii
d3e8051bdd
* agentexpr.texi: Fix typos.
...
* annotate.texinfo: Likewise.
* gdb.texinfo: Likewise.
* gdbint.texinfo: Likewise.
* observer.texi: Likewise.
* stabs.texinfo: Likewise.
2007-01-20 16:51:56 +00:00
Eli Zaretskii
86f0469973
* gdbint.texinfo (Support Libraries): Remove mmalloc
...
entry. Describe readline library.
2007-01-20 16:35:45 +00:00
Vladimir Prus
c8b2f53c0b
* gdb.texinfo (GDB/MI Variable Objects): Improve the
...
introduction. Specify -var-update more exactly.
2007-01-11 20:42:40 +00:00
Daniel Jacobowitz
23181151a2
XML feature description support.
...
* NEWS: Mention target descriptions, "set tdesc filename",
"unset tdesc filename", "show tdesc filename", and
qXfer:features:read.
* arch-utils.c (choose_architecture_for_target): New function.
(gdbarch_info_fill): Call it.
* target-descriptions.c (struct property): Make members non-const.
(struct target_desc): Add arch member.
(target_description_filename): New variable.
(target_find_description): Try via XML first.
(tdesc_architecture): New.
(free_target_description, make_cleanup_free_target_description): New.
(set_tdesc_property): Call xstrdup.
(set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist)
(tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd)
(set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd)
(show_tdesc_filename_cmd, _initialize_target_descriptions): New.
* target-descriptions.h (tdesc_architecture)
(make_cleanup_free_target_description, set_tdesc_architecture): New
prototypes.
* Makefile.in (SFILES): Add xml-tdesc.c.
(COMMON_OBS): Add xml-tdesc.o.
(target-descriptions.o): Update.
(xml-tdesc.o): New rule.
* xml-tdesc.c, xml-tdesc.h: New files.
* remote.c (PACKET_qXfer_features): New enum.
(remote_protocol_features): Add qXfer:features:read.
(remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES.
(_initialize_remote): Register qXfer:features:read.
* target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES.
* features/gdb-target.dtd: New file.
* linux-i386-low.c (the_low_target): Set arch_string.
* linux-x86-64-low.c (the_low_target): Likewise.
* linux-low.c (linux_arch_string): New.
(linux_target_ops): Add it.
* linux-low.h (struct linux_target_ops): Add arch_string.
* server.c (write_qxfer_response): Use const void * for DATA.
(get_features_xml): New.
(handle_query): Handle qXfer:features:read. Report it for qSupported.
* target.h (struct target_ops): Add arch_string method.
* gdb.texinfo (Target Descriptions): New section.
(General Query Packets): Add QPassSignals anchor. Mention
qXfer:features:read under qSupported. Expand mentions of
qXfer:memory-map:read and QPassSignals. Document
qXfer:features:read.
2007-01-09 22:55:10 +00:00
Daniel Jacobowitz
6aba47ca06
Copyright updates for 2007.
2007-01-09 17:59:20 +00:00
Daniel Jacobowitz
f822c95b59
* NEWS: Add "set sysroot" and "show sysroot".
...
* solib.c (solib_absolute_prefix): Delete. Replace
all uses with gdb_sysroot.
(_initialize_solib): Add "set sysroot" and "show sysroot".
Make "solib-absolute-prefix" an alias to it.
* gdb.texinfo (Commands to specify files): Describe
"set sysroot" and "show sysroot".
(Using the `gdbserver' program): Lowercase argument
to @var. Expand description of setting up GDB on the
host.
2007-01-08 18:56:30 +00:00
Joel Brobecker
8936fcda88
* gdb.texinfo (Set Catchpoints): Add documentation for the new
...
catch exception, catch exception unhandled, and catch assert
commands.
2007-01-05 08:33:57 +00:00
Daniel Jacobowitz
e776119fdc
* memory-map.c (struct_memory_map_parsing_data): Remove most
...
members. Make property_name an array.
(free_memory_map_parsing_data, memory_map_start_element)
(memory_map_end_element, memory_map_character_data): Delete.
(memory_map_start_memory, memory_map_end_memory)
(memory_map_start_property, memory_map_end_property): New functions.
(property_attributes, memory_children, memory_type_enum)
(memory_attributes, memory_map_children, memory_map_elements): New.
(parse_memory_map): Rewrite.
* xml-support.c (debug_xml): New.
(xml_get_required_attribute, xml_get_integer_attribute)
(xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser):
Delete.
(struct scope_level, struct gdb_xml_parser, gdb_xml_body_text)
(gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup)
(gdb_xml_start_element, gdb_xml_start_element_wrapper)
(gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup)
(gdb_xml_create_parser_and_cleanup, gdb_xml_parse)
(gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest)
(gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support):
New.
* xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler)
(enum gdb_xml_attribute_flag, struct gdb_xml_attribute)
(enum gdb_xml_element_flag, struct gdb_xml_element)
(gdb_xml_element_start_handler, gdb_xml_element_end_handler)
(struct gdb_xml_enum): New.
(gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug)
(gdb_xml_error, gdb_xml_parse_attr_ulongest)
(gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes.
(xml_get_required_attribute, xml_get_integer_attribute)
(xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes.
* Makefile.in (xml_support_h, xml-support.o): Update.
* gdb.texinfo (Debugging Output): Document "set debug xml"
and "show debug xml".
2007-01-04 22:11:44 +00:00
Daniel Jacobowitz
aa79a185c9
* configure.ac (build_warnings): Use -Wall and
...
-Wdeclaration-after-statement.
* configure: Regenerated.
* gdbint.texinfo (Compiler Warnings): Update for -Wall use.
2007-01-04 19:42:10 +00:00
Joel Brobecker
7f89374103
* gdbint.texinfo (Start of New Year Procedure): Add missing item.
2007-01-01 14:04:18 +00:00
Vladimir Prus
a1b5960f51
2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
...
* gdb.texinfo (GDB/MI Variable Objects): Wrap historical
note in @ignore, to be removed later if nobody complains.
2006-12-08 12:58:36 +00:00
Nick Roberts
22d8a47037
(GDB/MI Variable Objects): Describe -c option
...
of -var-delete.
2006-12-04 03:53:19 +00:00
Nick Roberts
9f470e6e42
*** empty log message ***
2006-12-04 03:51:39 +00:00
Vladimir Prus
765dc01564
2006-11-22 Vladimir Prus <vladimir@codesourcery.com>
...
* breakpoint.c: Include "memattr.h".
(automatic_hardware_breakpoints): New.
(show_automatic_hardware_breakpoints): New.
(insert_bp_location): Automatically use
hardware breakpoints.
(_initialize_breakpoint): Register the "auto-hw"
variable.
* Makefile.in (breakpoint.o): Update dependencies.
2006-11-22 10:43:34 +00:00
Vladimir Prus
4b5752d02f
gdb/
...
* memattr.h (enum mem_access_mode): New value
MEM_NONE.
* memattr.c (unknown_mem_attrib): New.
(inaccessible_by_default): New.
(show_inaccessible_by_default): New.
(lookup_mem_region): Check inaccessible_by_default.
(dummy_cmd): New.
(mem_set_cmdlist, mem_show_cmdlist): New.
(_initialize_mem): Register new "set" and "show"
commands.
* target.c (memory_xfer_partial): If memory type
is MEM_NONE, return an error.
Clip to region size when calling to_xfer_partial.
If upper limit of memory range is 0, don't clip
anything.
gdb/doc/
* gdb.texinfo (Memory Access Checking): New.
2006-11-21 16:50:16 +00:00
Daniel Jacobowitz
89be209149
gdb/
...
* remote.c (PACKET_QPassSignals): New.
(last_pass_packet, remote_pass_signals): New.
(remote_protocol_features): Add QPassSignals.
(remote_query_supported): Correct an infinite loop.
(remote_open_1): Reset last_pass_packet.
(remote_resume): Call remote_pass_signals.
(_initialize_remote): Register "set remote pass-signals".
gdb/doc/
* gdb.texinfo (Remote configuration): Mention
"pass-signals-packet".
(General Query Packets): Document QPassSignals. Fix
a typo.
gdb/gdbserver/
* linux-low.c (linux_wait_for_event): Reformat. Use the
pass_signals array.
* remote-utils.c (decode_address_to_semicolon): New.
* server.c (pass_signals, handle_general_set): New.
(handle_query): Mention QPassSignals for qSupported.
(main): Call handle_general_set.
* server.h (pass_signals, decode_address_to_semicolon): New.
2006-11-16 15:08:25 +00:00
Daniel Jacobowitz
ca3bf3bdbe
2006-11-14 Maxim Grigoriev <maxim@tensilica.com>
...
* NEWS: New port to Xtensa.
* Makefile.in: Add dependencies for Xtensa files.
* configure.tgt (xtensa*, xtensa*-*-elf*): New.
* configure.host (xtensa*-*-elf*): New.
* config/xtensa/xtensa.mt: New file.
* xtensa-config.c: New file.
* xtensa-tdep.h: New file.
* xtensa-tdep.c: New file.
2006-11-14 Maxim Grigoriev <maxim@tensilica.com>
* gdb.texinfo (Contributors): Add contributors of Xtensa port.
2006-11-14 21:53:59 +00:00
Daniel Jacobowitz
427c3a89d3
gdb/
...
* remote.c (set_remote_cmd): Call help_list.
(show_remote_cmd): Skip legacy aliases. Handle non-show_cmd
entries. Add missed cleanup.
* cli/cli-setshow.c (cmd_show_list): Handle non-show_cmd entries.
gdb/doc/
* gdb.texinfo (Remote configuration): Rewrite documentation for
packet configuration commands.
(OS Information): Adjust reference to qXfer:auxv:read.
(General Query Packets): Remove references to read-aux-vector-packet
and set remote get-thread-local-storage-address.
2006-11-14 21:40:19 +00:00
Daniel Jacobowitz
7a10774786
gdb/
...
* arch-utils.c (target_byte_order_user): Renamed from
target_byte_order.
(target_byte_order_auto, selected_byte_order): Removed.
(show_endian): Check target_byte_order_user.
(set_endian): Always update the architecture. Set
target_byte_order_user after success.
(target_architecture_auto): Removed.
(target_architecture_user): New.
(selected_architecture_name, show_architecture): Check it.
(set_architecture): Set target_architecture_user after success.
(gdbarch_from_bfd): Check the argument.
(default_byte_order): New.
(initialize_current_architecture): Set the global default
architecture and endianness.
(gdbarch_info_fill): Remove GDBARCH argument. Do not check the
previous architecture. Use exec_bfd, global selected architecture
and endianness, and global defaults.
* arch-utils.h (selected_byte_order): Remove prototype.
(gdbarch_info_fill): Update.
* exec.c (exec_file_attach): Update the architecture after removing
the current file.
* gdbarch.sh: Update comments.
(find_arch_by_info): Remove OLD_GDBARCH argument. Update call to
gdbarch_info_fill.
(gdbarch_find_by_info): Update call to find_arch_by_info.
* gdbarch.h, gdbarch.c: Regenerated.
* remote-sim.c (gdbsim_open): Use TARGET_BYTE_ORDER.
gdb/doc/
* gdbint.texinfo (Target Architecture Definition): Add new
Initializing a New Architecture section.
2006-11-10 19:20:37 +00:00
Eli Zaretskii
1c56eb0e62
* stabs.texinfo (Macro define and undefine): New node describing
...
stabs for #define and #undef.
2006-10-31 22:38:27 +00:00
Andreas Schwab
f73adfeb8b
* gdbcmd.h (detachlist): Declare.
...
* infcmd.c (_initialize_infcmd): Define "detach" as prefix
command.
* linux-fork.c (_initialize_linux_fork): Rename
"detach-checkpoint" to "detach checkpoint" and "detach-fork" to
"detach fork".
* cli/cli-cmds.c (detachlist): Define.
(init_cmd_lists): Initialize it.
* cli/cli-cmds.h (detachlist): Declare.
doc/:
* gdb.texinfo (Processes): Rename "detach-fork" to "detach fork".
testsuite/:
* gdb.base/multi-forks.exp: Use "detach fork" instead of
"detach-fork".
2006-10-27 22:23:21 +00:00
Eli Zaretskii
e5ac9b532c
gdb.texinfo (Source Annotations): Fix index entries by adding
...
"annotation" to them, to discriminate from index entries that point
to the more general topic descriptions.
2006-10-21 13:06:04 +00:00
Eli Zaretskii
0ced0c34ad
(Breakpoints): Fix a typo.
2006-10-21 12:54:18 +00:00
Eli Zaretskii
fd60e0dfdf
* gdb.texinfo (Breakpoints, Set Watchpoints): Elaborate and
...
clarify on the possible meanings of ``expression'' watched by
watchpoints. Add indexing.
2006-10-21 12:50:16 +00:00
Eli Zaretskii
286ba84deb
(Backtrace): Fix a typo.
2006-10-21 12:20:59 +00:00
Daniel Jacobowitz
52bb452f80
gdb/
...
* gdbint.texinfo (Target Vector Definition): Move most
content into Existing Targets. Add a menu.
(Existing Targets): New section, moved from Target Vector
Definition. Use @subsection.
(Managing Execution State): New section.
gdb/doc/
* remote-sim.c (gdbsim_kill): Call target_mourn_inferior.
(gdbsim_load): Don't bother to adjust inferior_ptid here.
(gdbsim_create_inferior): Mark the simulator as running.
(gdbsim_open): Don't bother fetching registers. Mark
the target as not running.
(gdbsim_xfer): When the program is not running, pass memory
requests down.
(gdbsim_mourn_inferior): Mark the target as not running.
* target.c (target_mark_running, target_mark_exited): New.
* target.h (target_has_execution): Update the comment.
(target_mark_running, target_mark_exited): New prototypes.
2006-10-17 21:55:24 +00:00
Bob Wilson
58955e583a
* gdb.texinfo (ST2000): Use Ctrl- instead of C-.
2006-10-17 21:08:17 +00:00
Eli Zaretskii
45ac17341e
* gdb.texinfo (Signals, Set Breaks, Set Watchpoints): Document optional
...
arguments to `info signals' `handle', `info breakpoints', and
`info watchpoints'.
2006-10-15 21:36:00 +00:00
Eli Zaretskii
c8aa23ab92
* gdb.texinfo (Sample Session, Invocation, Quitting GDB)
...
(Command Syntax, Signals, Backtrace, Connecting)
(Remote configuration, Renesas Boards, Console I/O): Fix last
change: use Ctrl- instead of C-, except wrt Emacs.
(File-I/O Examples): Put Ctrl-c in @kbd.
(Cygwin Native, File-I/O Overview, The Ctrl-C message)
(Console I/O): Use @samp with Ctrl-.
2006-10-15 21:19:49 +00:00
Eli Zaretskii
e7109c7e3b
* gdb.texinfo (Backtrace): Fix last change.
2006-10-14 18:34:03 +00:00
Nick Roberts
dd74f6ae66
(Backtrace): Order correctly and add other cases.
2006-10-14 00:21:13 +00:00
Nick Roberts
de3aea7bdd
*** empty log message ***
2006-10-14 00:20:02 +00:00
Bob Wilson
7f9087cb30
* gdb.texinfo (Command Syntax, Connecting, Remote configuration,
...
Renesas Boards, ST2000, TUI Keys, TUI Single Key Mode, TUI Commands,
Emacs, Console I/O): Fix @key and @kbd usage.
2006-10-10 18:55:55 +00:00
Daniel Jacobowitz
68437a39ee
* gdb.texinfo (Packets): Document vFlashErase,
...
vFlashWrite and vFlashDone packets.
(General Query Packets): Document qXfer:memory-map:read.
Add a new feature for qXfer:memory-map:read.
(Memory map format): New section.
(Target Commands): Mention that gdb can write flash.
2006-09-21 14:01:12 +00:00
Daniel Jacobowitz
fd79eceebf
gdb/
...
2006-09-21 Vladimir Prus <vladimir@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
* Makefile.in (SFILES): Add memory-map.c and xml-support.c.
(memory_map_h, xml_support_h): New.
(target_h): Add vec_h dependency.
(COMMON_OBS): Add memory-map.o and xml-support.o.
(memory-map.o, xml-support.o): New rules.
(remote.o): Update.
* exceptions.h (enum errors): Add XML_PARSE_ERROR.
* infcmd.c (run_command_1, attach_command): Call target_pre_inferior.
* memattr.c (default_mem_attrib): Initialize blocksize.
(target_mem_region_list, mem_use_target)
(target_mem_regions_valid, mem_region_cmp, mem_region_init)
(require_user_regions, require_target_regions)
(invalidate_target_mem_regions): New.
(create_mem_region): Use mem_region_init.
(mem_clear): Move higher.
(lookup_mem_region): Use require_target_regions.
(mem_command): Implement "mem auto".
(mem_info_command): Handle target-supplied regions and flash
attributes.
(mem_enable_command, mem_disable_command, mem_delete_command): Use
require_user_regions.
(_initialize_mem): Mention "mem auto" in help.
* memattr.h (enum mem_access_mode): Add MEM_FLASH.
(struct mem_attrib): Add blocksize.
(invalidate_target_mem_regions, mem_region_init, mem_region_cmp): New
prototypes.
* remote.c: Include "memory-map.h".
(PACKET_qXfer_memory_map): New enum value.
(remote_protocol_features): Add qXfer:memory-map:read.
(remote_xfer_partial): Handle memory maps.
(remote_memory_map): New.
(init_remote_ops, init_remote_async_ops): Set to_memory_map.
(_initialize_remote): Register qXfer:memory-map:read.
* target.c (update_current_target): Mention to_memory_map.
(target_memory_map, target_pre_inferior): New.
(target_preopen): Call target_pre_inferior.
* target.h: Include "vec.h".
(enum target_object): Add TARGET_OBJECT_MEMORY_MAP.
(struct target_ops): Add to_memory_map.
(target_memory_map, target_pre_inferior): New prototypes.
* memory-map.c, memory-map.h, xml-support.c, xml-support.h: New files.
gdb/doc/
2006-09-21 Vladimir Prus <vladimir@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.texinfo (Memory Region Attributes): Mention target-supplied
memory regions and "mem auto".
2006-09-21 13:54:03 +00:00
Daniel Jacobowitz
350da6eece
2006-09-21 Nathan Sidwell <nathan@codesourcery.com>
...
gdb/
* vec.h: New file.
* vec.c: New file.
* Makefile.in (SFILES): Add vec.c.
(vec_h): New.
(COMMON_OBJS): Add vec.o.
(vec.o): New target.
gdb/doc/
* gdbint.texinfo (Array Containers): New section.
2006-09-21 13:47:56 +00:00
Vladimir Prus
a5451f4e4e
Fix grammar.
2006-09-17 17:05:27 +00:00
Vladimir Prus
2f1acb09b6
* gdb.texinfo (GDB/MI Stack Manipulation): Mention that
...
-stack-list-arguments HIGH_FRAME argument can be larger then the
actual number of frames.
2006-09-17 17:03:51 +00:00
Vladimir Prus
2ab1eb7abc
Allow the HIGH-FRAME parameter for -stack-list-frames to be larger
...
than the number of available frames.
2006-09-07 16:40:19 +00:00
Bob Wilson
599b237a8a
* gdb.texinfo (Packets, Stop Reply Packets, General Query Packets,
...
Register Packet Format, Tracepoint Packets): Fix spelling errors.
2006-09-05 17:45:53 +00:00
Eli Zaretskii
25ab7e6d93
* gdbint.texinfo (Overall Structure): New section "Source Tree
...
Structure".
2006-09-02 15:27:16 +00:00
Jim Blandy
940178d305
* gdb.texinfo (Stop Reply Packets): Note similarity of 'S' and 'T'
...
responses.
2006-08-17 18:47:49 +00:00
Joel Brobecker
30daae6caf
* gdb.texinfo (Source Path): Add documentation for new
...
substitute-path commands.
2006-08-08 22:18:22 +00:00
Daniel Jacobowitz
7fa2210be8
gdb/
...
* configure.ac: Check for expat.
* acinclude.m4: Include AC_LIB_HAVE_LINKFLAGS dependencies.
* Makefile.in (LIBEXPAT): New.
(CLIBS): Include $(LIBEXPAT).
* README: Mention expat.
* configure, config.in: Regenerated.
gdb/doc/
* gdb.texinfo (Installing GDB): Update menu. Move text to...
(Running Configure): ...here.
(Requirements): New node. Mention expat.
2006-08-08 20:26:23 +00:00
Daniel Jacobowitz
3d00d119d3
gdb/
...
* symfile.c (download_write_size): Remove.
(show_download_write_size): Remove.
(load_section_callback): Don't use download_write_size.
(_initialize_symfile): Don't register download_write_size.
* NEWS: Mention 'download-write-size' removal.
gdb/doc/
* gdb.texinfo (Target Commands): Remove
'set download-write-size' and 'show download-write-size'.
gdb/testsuite/
* config/monitor.exp (gdb_load): Remove support for obsolete
download-write-size.
* gdb.base/remote.exp: Likewise. Update all callers of
gdb_timed_load.
2006-08-08 15:48:08 +00:00
Daniel Jacobowitz
0cbfa4ee32
* stabs.texinfo (Member Type Descriptor): Correct example for
...
pointer to member types.
2006-08-02 03:31:21 +00:00
Andrew Stubbs
16026cd75d
2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
...
* cli/cli-cmds.c (source_verbose, trace_commands): New variables.
(source_script): New function.
(source_verbose_cleanup): New function.
(source_command): Move old contents to source_script.
Make function static. Parse -v option and call source_script.
(init_cli_cmds): Update source command help.
Add 'set trace-commands' command.
* cli/cli-script.c (command_next_depth): New static variable.
(suppress_next_print_command_trace): New static variable.
(reset_command_nest_depth): New function.
(print_command_trace): New function.
(execute_control_command): Split the continue_control and break_control
cases, add calls to print_command_trace and count the nest depth.
(while_command): Set suppress_next_print_command_trace.
(if_command): Likewise.
* top.c (execute_command): Call print_command_trace.
* cli/cli-cmds.h (source_verbose, trace_commands): New extern variables.
(source_command): Change to source_script.
* main.c (captued_main): Use source_script instead of source_command.
* top.h (source_command): Change to source_script.
* event-top.c (display_gdb_prompt): Call reset_command_nest_depth.
* cli/cli-script.h (print_command_trace): Export.
(reset_command_nest_depth): Likewise.
docs/
* gdb.texinfo (Optional warnings and messages): Add
'set/show trace-commands'.
(Command files): Add '-v' to source command.
testsuite/
* gdb.base/default.exp: Update source command error message.
* gdb.base/help.exp: Update 'help source' message.
2006-07-21 14:46:56 +00:00
Daniel Jacobowitz
0876f84a6a
gdb/
...
* remote.c (PACKET_qXfer_auxv): New, renamed from PACKET_qPart_auxv.
(remote_supported_packet): Remove #if 0.
(remote_protocol_features): Add qPart:auxv:read.
(remote_unescape_input): New function.
(readchar): Don't mask off the high bit.
(read_frame): Use fputstrn_filtered for packet data.
(getpkt_sane): Return the number of bytes read or -1. Use
fputstrn_unfiltered.
(remote_read_qxfer): New.
(remote_xfer_partial): Use it for TARGET_OBJECT_AUXV.
(_initialize_remote): Update packet registration.
* defs.h (fputstrn_filtered): New prototype.
* utils.c (fputstrn_filtered): New.
* NEWS: Mention qXfer.
gdb/doc/
* gdb.texinfo (OS Information): Update qPart reference to
qXfer.
(Remote configuration): Likewise.
(Overview): Move @cindex to the start of a paragraph. Talk
about binary data encoding.
(Packets): Refer to the overview for the details of the X
packet encoding.
(General Query Packets): Remove qPart description. Add qXfer
description. Add an anchor to qSupported. Correct feature
table title. Add a new feature for qXfer:auxv:read.
(Interrupts): Add a missing parenthesis.
gdb/gdbserver/
* server.c (decode_xfer_read, write_qxfer_response): New.
(handle_query): Take a packet length argument. Handle
qXfer:auxv:read instead of qPart:auxv:read. Mention it in
the qSupported response.
(main): Update call to handle_query.
2006-07-12 18:50:18 +00:00
Daniel Jacobowitz
2ec3381a43
gdb/
...
* remote.c (remote_xfer_partial): Remove KOD support.
* target.h (enum target_object): Remove TARGET_OBJECT_KOD.
* MAINTAINERS: Move Kernel Object Display entry to past maintainers.
* Makefile.in (SFILES, kod_h, COMMON_OBS, kod.o, kod-cisco.o): Remove KOD
support.
* mi/mi-cmds.c (mi_cmds): Remove dummy KOD commands.
* NEWS: Mention KOD.
* kod.h, kod.c, kod-cisco.c: Delete files.
gdb/doc/
* doc/gdb.texinfo (KOD): Remove node.
(GDB/MI Kod Commands): Remove commented out node.
2006-07-05 19:03:47 +00:00
Eli Zaretskii
594fe32349
* gdb.texinfo (GDB/MI Output Syntax, GDB/MI Simple Examples)
...
(GDB/MI Breakpoint Commands, GDB/MI Program Context)
(GDB/MI Thread Commands, GDB/MI Program Execution)
(GDB/MI Stack Manipulation, GDB/MI Variable Objects)
(GDB/MI Data Manipulation, GDB/MI Symbol Query)
(GDB/MI File Commands, GDB/MI Target Manipulation)
(GDB/MI Miscellaneous Commands): Change (@value{GDBP})->(gdb),
since the MI prompt is hard-wired into the code.
2006-07-01 12:34:30 +00:00
Nick Roberts
a2c0224177
(GDB/MI Compatibility with CLI): Qualify more carefully.
...
(GDB/MI Simple Examples): Use @subheading for "A Bad Command".
(GDB/MI Data Manipulation): Remove description of unimplemented
display related commands as variable objects perform this function
and are superior: -display-delete, -display-disable,
-display-enable, -display-insert and -display-list. Move
-environment-cd, -environment-directory, -environment-path
and -environment-pwd to "Program Context".
(GDB/MI Program Control): Rename to "Program Execution". Move
-exec-arguments -exec-abort to...
(GDB/MI Program Context): ...here. New node split from "Data
Manipulation".
2006-06-30 21:43:22 +00:00
Nick Roberts
7e3fb70c62
*** empty log message ***
2006-06-30 21:42:03 +00:00
Daniel Jacobowitz
be2a5f717b
gdb/
...
* NEWS: Mention qSupported.
* remote.c (struct remote_state): Add explicit_packet_size.
(get_remote_packet_size): Check explicit_packet_size.
(get_memory_packet_size): Likewise.
(PACKET_qSupported): New enum value.
(struct protocol_feature, remote_supported_packet)
(remote_packet_size, remote_protocol_features)
(remote_query_supported): New.
(remote_open_1): Reset explicit_packet_size. Call
remote_query_supported.
(_initialize_remote): Register qSupported.
gdb/doc/
* gdb.texinfo (Remote configuration): Document set / show
remote supported-packets.
(General Query Packets): Document qSupported packet.
gdb/gdbserver/
* server.c (handle_query): Handle qSupported.
2006-06-21 13:57:21 +00:00
Nathan Sidwell
5600ea19e0
gdb/
...
* remote-file.io.c (remote_fileio_func_system): Treat zero length
string as NULL. Adjust for NULL pointer argument.
* doc/gdb.texinfo (system): Document behaviour with zero length
string.
gdb/testsuite/
* gdb.base/fileio.c: Add system(NULL) test.
* gdb.base/fileio.exp: Check it.
2006-06-13 08:55:22 +00:00
Sandra Loosemore
fc320d3707
Copy edit File-I/O section of manual
2006-06-10 18:45:26 +00:00
Nick Roberts
ef21caaf00
(GDB/MI): Remove duplicate acknowledgements.
...
(GDB/MI Simple Examples): Move node up one level. Use real examples.
(GDB/MI Compatibility with CLI): Update.
(GDB/MI Result Records): Add "connected" and "exit" result classes.
(GDB/MI Stream Records): Clarify target output.
(GDB/MI Command Description Format): Modify example description.
(GDB/MI Breakpoint Table Commands): Rename to...
(GDB/MI Breakpoint Commands): ...this
(GDB/MI Breakpoint Commands): Add optional thread field.
(GDB/MI Program Control): Add an introduction. Move "Program
termination" examples into exec-run description.
(GDB/MI File Commands): Mention similar CLI commands.
(GDB/MI Miscellaneous Commands): Move to end. Mention "show version"
is similar to "-gdb-version".
2006-06-09 22:37:47 +00:00
Nick Roberts
158fdf5c1f
*** empty log message ***
2006-06-09 22:35:49 +00:00
Eli Zaretskii
ddb50cd7c2
(Symbols): Fix "(gdb)"=>"(@value{GDBP})".
2006-06-09 18:52:30 +00:00
Nick Roberts
351ff01ac5
(GDB/MI File Commands): New node split from Program Control.
2006-06-02 10:15:41 +00:00
Nick Roberts
d5e40d59c5
*** empty log message ***
2006-06-02 10:14:27 +00:00
Nick Roberts
6c27247ca3
*** empty log message ***
2006-06-02 10:12:46 +00:00
Nick Roberts
7a9a6b69e4
(GDB/MI Development and Front Ends): Use sourceware.org for mailing lists.
2006-06-01 23:40:50 +00:00
Nick Roberts
2aef0d6bad
*** empty log message ***
2006-06-01 23:39:23 +00:00
Nick Roberts
af6eff6f33
(GDB/MI Development and Front Ends): New Node.
2006-05-31 21:55:46 +00:00
Nick Roberts
383a5c5284
*** empty log message ***
2006-05-31 21:54:27 +00:00
Eli Zaretskii
e16b02ee9c
(Cygwin Native): Fix last change.
2006-05-22 19:00:41 +00:00
Christopher Faylor
be90c084da
* gdb.texinfo (Cygwin Native): Document set/show cygwin-exceptions.
2006-05-22 04:17:59 +00:00
Nick Roberts
b247355e2d
(Algorithms): Correct spelling and punctuation.
...
(Releasing GDB, Testsuite): Remove details for including DejaGnu.
2006-05-15 04:39:03 +00:00
Nick Roberts
347ceba596
*** empty log message ***
2006-05-15 04:37:48 +00:00
Daniel Jacobowitz
369af7bd63
* gdb.texinfo (General Query Packets): Recommend not starting
...
new packets with qC and clarify.
2006-05-14 15:09:51 +00:00
Gaius Mulley
2ffdbde8a9
fixed spacing between name and email address.
2006-05-13 19:07:28 +00:00
Gaius Mulley
229582b795
tidied up ChangeLogs (80 character line width), added reference
...
to gaius@glam.ac.uk included into gdb/MAINTAINERS
2006-05-13 16:03:04 +00:00
Gaius Mulley
72019c9cbc
2006-05-13 Gaius Mulley <gaius@glam.ac.uk>
...
* gdb/m2-lang.h: added function extern prototypes for m2_is_long_set
and get_long_set_bounds.
* gm2/m2-typeprint.c: This file has been completely
replaced to reflect the Modula-2 syntax rather than call the
c_print_type function.
(m2_print_type): walk the Modula-2 type tree.
(m2_type_name): added.
(m2_range): added.
(m2_typedef): added.
(m2_array): added.
(m2_pointer): added.
(m2_ref): added.
(m2_unknown): added.
(m2_union): added.
(m2_procedure): added.
(m2_print_bounds): added.
(m2_short_set): added.
(m2_is_long_set): added.
(m2_get_discrete_bounds): added.
(m2_is_long_set_of_type): added.
(m2_long_set): added.
(m2_record_fields): added.
(m2_enum): added.
* gdb/dwarf2read.c: added ability to detect the language Modula-2
and handle SET and CHAR types.
(read_set_type): added.
(process_die): call read_set_type.
(read_base_type): modifed signed/unsigned char handling for Modula-2.
(set_cu_language): added Modula-2 case clause.
* gdb/m2-valprint.c: complete replacement so that Modula-2 values are
printed rather than call the C language routines.
(print_function_pointer_address): added.
(get_long_set_bounds): added.
(m2_print_long_set): added.
(print_unpacked_pointer): added.
(print_variable_at_address): added.
(m2_val_print): replaced.
2006-05-13 15:46:38 +00:00
Daniel Jacobowitz
16d1a08426
* agentexpr.texi: Add a copyright and license notice.
...
* observer.texi: Likewise, with GPL clause for function prototypes.
Remove trailing whitespace.
2006-05-10 18:49:08 +00:00
Jim Blandy
aa56d27abe
gdb/doc/ChangeLog:
...
2006-05-05 Jim Blandy <jimb@codesourcery.com>
* gdb.texinfo (General Query Packets): Document conventions for
terminating packet names, and their violations.
2006-05-05 22:48:14 +00:00
Daniel Jacobowitz
5bdf862214
Readline 5.1 import for HEAD.
2006-05-05 18:26:14 +00:00
Daniel Jacobowitz
605a56cbd3
* gdb.texinfo (Remote Configuration): Remove "set remotedebug"
...
and "show remotedebug".
(Debugging Output): Add additional index entries.
2006-05-05 17:29:38 +00:00
Michael Snyder
b8db102de3
2006-04-26 Michael Snyder <msnyder@redhat.com>
...
* linux-fork.c (_initialize_linux_fork): Rename "delete-fork"
command to "delete fork" (no hyphen), compatible with other
"delete" commands.
(info_forks_command): Accept a fork ID argument, for info
on a single fork. Report if no matching forks.
2006-04-26 Michael Snyder <msnyder@redhat.com>
* gdb.base/multi-forks.exp: Modify patterns for "run to exit",
which may have to consume output from other forks.
Add tests to make sure that "delete fork" succeeded.
2006-04-27 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (delete-fork): Command renamed to "delete fork".
2006-04-27 23:03:42 +00:00
Andrew Cagney
c5e30d0156
2006-04-22 Andrew Cagney <cagney@redhat.com>
...
* gdb.texinfo (Contributors): Credit frame unwinder contributors.
* gdbint.texinfo (Algorithms): Fix errors in frame documentation.
2006-04-22 23:12:03 +00:00
Daniel Jacobowitz
8181d85fdc
gdb/
...
* breakpoint.c (deprecated_read_memory_nobpt): Update to use
shadow_len.
(insert_bp_location, reattach_breakpoints, remove_breakpoint)
(delete_breakpoint): Update calls to changed methods.
(deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
(single_step_breakpoints, insert_single_step_breakpoint)
(remove_single_step_breakpoints): New.
* breakpoint.h (struct bp_target_info): New.
(struct bp_location): Replace shadow_contents with
target_info and overlay_target_info.
(deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
(insert_single_step_breakpoint, remove_single_step_breakpoints): New
prototypes.
* gdbarch.sh: Forward declare struct bp_target_info in gdbarch.h.
(memory_insert_breakpoint, memory_remove_breakpoint): Update second
argument.
* mem-break.c (default_memory_insert_breakpoint): Update. Set
placed_address, placed_size, and shadow_len.
(default_memory_remove_breakpoint): Update. Don't use
BREAKPOINT_FROM_PC.
(memory_insert_breakpoint, memory_remove_breakpoint): Update.
* target.c (update_current_target): Update prototypes for changed
functions.
(debug_to_insert_breakpoint, debug_to_remove_breakpoint)
(debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint):
Update.
* target.h: Forward declare struct bp_target_info.
(struct target_ops): Use a bp_target_info argument for
to_insert_breakpoint, to_remove_breakpoint,
to_insert_hw_breakpoint, and to_remove_hw_breakpoint.
(target_insert_breakpoint, target_remove_breakpoint)
(target_insert_hw_breakpoint, target_remove_hw_breakpoint)
(memory_insert_breakpoint, memory_remove_breakpoint)
(default_memory_insert_breakpoint, default_memory_remove_breakpoint):
Update.
* config/i386/nm-i386.h: Forward declare struct bp_target_info.
(i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): Update.
(target_insert_hw_breakpoint, target_remove_hw_breakpoint): Likewise.
* gdbarch.c, gdbarch.h: Regenerated.
* alpha-tdep.c (alpha_software_single_step): Use
insert_single_step_breakpoint and remove_single_step_breakpoints.
Remove unused statics.
* arm-tdep.c (arm_software_single_step): Likewise. Add a note.
* cris-tdep.c (cris_software_single_step): Likewise.
* mips-tdep.c (mips_software_single_step): Likewise.
* rs6000-tdep.c (rs6000_software_single_step): Likewise.
* sparc-tdep.c (sparc_software_single_step): Likewise.
* wince.c (struct thread_info_struct): Remove step_prev.
(undoSStep): Use remove_single_step_breakpoints.
(wince_software_single_step): Use insert_single_step_breakpoint.
* corelow.c (ignore): Remove unneeded prototype. Update arguments.
* exec.c (ignore): Likewise.
* sol-thread.c (ignore): Likewise.
* procfs.c (dbx_link_shadow_contents): Delete.
(dbx_link_bpt): New.
(procfs_mourn_inferior): Remove it if necessary.
(remove_dbx_link_breakpoint): Use it.
(insert_dbx_link_bpt_in_file): Set it.
(procfs_init_inferior): Don't update dbx_link_bpt_addr.
* rs6000-nat.c (exec_one_dummy_insn): Use
deprecated_insert_raw_breakpoint and
deprecated_remove_raw_breakpoint.
* solib-irix.c (shadow_contents, breakpoint_addr): Delete.
(base_breakpoint): New.
(disable_break): Use it.
(enable_break): Set it.
* i386-nat.c (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint):
Update.
* ia64-tdep.c (ia64_memory_insert_breakpoint)
(ia64_memory_remove_breakpoint): Likewise.
* m32r-tdep.c (m32r_memory_insert_breakpoint)
(m32r_memory_remove_breakpoint): Likewise.
* monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
Likewise. Remove unnecessary prototypes. Use placed_address
and placed_size. Removed useless read from memory.
* nto-procfs.c (procfs_insert_breakpoint)
(procfs_remove_breakpoint, procfs_insert_hw_breakpoint)
(procfs_remove_hw_breakpoint): Update.
* ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
* ocd.h (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
* ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Likewise.
* remote-e7000.c (e7000_insert_breakpoint)
(e7000_remove_breakpoint): Likewise.
* remote-m32r-sdi.c (m32r_insert_breakpoint)
(m32r_remove_breakpoint): Likewise.
* remote-mips.c (mips_insert_breakpoint)
(mips_remove_breakpoint): Likewise.
* remote-rdp.c (remote_rdp_insert_breakpoint)
(remote_rdp_remove_breakpoint): Likewise.
(rdp_step): Use deprecated_insert_raw_breakpoint and
deprecated_remove_raw_breakpoint.
* remote-sds.c (sds_insert_breakpoint, sds_remove_breakpoint):
Update.
* remote-sim.c (gdbsim_insert_breakpoint, gdbsim_remove_breakpoint):
Delete.
(init_gdbsim_ops): Use memory_insert_breakpoint and
memory_remove_breakpoint.
* remote-st.c (st2000_insert_breakpoint)
(st2000_remove_breakpoint): Update. Remove unused
BREAKPOINT_FROM_PC.
* remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
Update. Use placed_address and placed_size.
(remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Likewise.
gdb/doc/
* gdbint.texinfo (x86 Watchpoints, Target Conditionals): Update insert
and remove breakpoint prototypes.
(Watchpoints): Move description of target_insert_hw_breakpoint and
target_remove_hw_breakpoint ...
(Breakpoints): ... to here. Document target_insert_breakpoint and
target_remove_breakpoint.
2006-04-18 19:20:08 +00:00
Jim Blandy
4f553f885c
gdb/doc/ChangeLog:
...
2006-04-17 Jim Blandy <jimb@codesourcery.com>
* gdb.texinfo (Packets): Note that 'addr' arguments to s, S, c,
and C packets are optional.
2006-04-18 00:17:55 +00:00
Frederic Riss
cd852561d0
2006-04-14 Frederic Riss <frederic.riss@st.com>
...
* gdb.texinfo (Specifying source directories): Update the description
of the source file search to reflect the fact that the source path
always contains at least $cdir and $cwd.
2006-04-14 18:31:32 +00:00
Michael Snyder
b620eb07bc
2006-03-31 Michael Snyder <msnyder@redhat.com>
...
* gdb.texinfo: Update copyright dates.
2006-03-31 19:47:11 +00:00
Eli Zaretskii
f8da2bffa0
Fix last change.
2006-03-31 14:17:58 +00:00
Eli Zaretskii
3156cdafc8
* gdb.texinfo (Overview): Add an index entry to "empty response".
2006-03-31 14:14:28 +00:00
Daniel Jacobowitz
f4267320e5
2006-03-29 Daniel Jacobowitz <dan@codesourcery.com>
...
* NEWS: Mention the removal of NLM.
2006-03-29 Steve Ellcey <sje@cup.hp.com>
* Makefile.in (nlm): Remove target.
* configure.tgt (i[34567]86-*-netware*): Do not set build_nlm.
* configure.ac: Remove AC_CONFIG_SUBDIRS of nlm.
* configure: Regenerate.
* doc/gdb.texinfo: Remove gdbserve.nlm documentation.
* nlm: Remove directory.
2006-03-29 22:58:55 +00:00
Jim Blandy
7d30c22d4c
src/gdb/ChangeLog:
...
2006-03-28 Jim Blandy <jimb@codesourcery.com>
* prologue-value.c, prologue-value.h: New files.
* Makefile.in (prologue_value_h): New variable.
(HFILES_NO_SRCDIR): List prologue-value.h.
(SFILES): List prologue-value.c.
(COMMON_OBS): List prologue-value.o.
(prologue-value.o): New rule.
src/gdb/doc/ChangeLog:
2006-03-28 Jim Blandy <jimb@codesourcery.com>
* gdbint.texinfo (Prologue Analysis): New section.
2006-03-28 19:19:16 +00:00
Jim Blandy
66b8c7f657
2006-03-07 Jim Blandy <jimb@red-bean.com>
...
* gdb.texinfo (Connecting): Document 'target remote pipe'.
2006-03-09 21:44:27 +00:00
Jim Blandy
1a10341b71
2006-03-07 Jim Blandy <jimb@red-bean.com>
...
* gdb.texinfo (Target Commands): Update text describing how to
specify a target. Refer to the detailed section on remote
debugging, not the brief mention.
2006-03-09 21:42:31 +00:00
Jim Blandy
86941c2759
2006-03-07 Jim Blandy <jimb@red-bean.com>
...
* gdb.texinfo (Connecting): Organize the different 'target remote'
connection methods into a table. Add a 'target remote' index
entry. (!!!)
2006-03-09 17:59:12 +00:00
Fred Fish
62f3a2ba52
2006-02-17 Fred Fish <fnf@specifix.com>
...
* gdb.texinfo (Symbols): Update descriptions of 'whatis' and
'ptype' commands to reflect the fact that the only significant
difference between them is that ptype prints the complete type
description instead of just the name.
2006-02-18 20:45:01 +00:00
Wu Zhou
8b9a88ea4a
* gdbint.texinfo (Watchpoints): Delete
...
TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT.
2006-02-13 08:34:11 +00:00
Nick Roberts
948d510224
(GDB/MI Breakpoint Table Commands): Add fullname and
...
times fields where needed. Fix typos. Update general form given
for output of -break-insert.
(GDB/MI): Abbreviate some unnecessarily long fullnames.
2006-02-10 03:54:33 +00:00
Nick Roberts
7e8dc85523
*** empty log message ***
2006-02-10 03:50:44 +00:00
Daniel Jacobowitz
c91d38aa70
* gdbint.texinfo (Symbol Handling): Add a section
...
on memory management.
2006-02-06 22:14:31 +00:00
Daniel Jacobowitz
38fcd64c3a
From Vladimir Prus <ghost@cs.msu.su>:
...
gdb/
* breakpoint.c (print_one_breakpoint): For MI-like UI, output
fullname field.
gdb/doc/
* gdb.texinfo (Breakpoint table commands): Document the fullname
field in -break-list output.
gdb/testsuite/
* gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
field.
2006-02-06 21:55:06 +00:00
Eli Zaretskii
219eec7184
* gdb.texinfo (Cygwin Native): Fix typos. Clarify the types of
...
debugging information produced by the various "set debug..."
options.
2006-02-03 19:30:21 +00:00
Daniel Jacobowitz
ae5a43e0c9
gdb/
...
* Makefile.in (gdbtypes_h, gdbtypes.o, utils.o): Update.
* defs.h (hashtab_obstack_allocate, dummy_obstack_deallocate): Add
prototypes.
* dwarf2read.c (read_subroutine_type): Use TYPE_ZALLOC.
(hashtab_obstack_allocate, dummy_obstack_deallocate): Moved to...
* utils.c (hashtab_obstack_allocate, dummy_obstack_deallocate):
...here.
* gdbtypes.c: Include "hashtab.h".
(build_gdbtypes): Remove extra prototype.
(struct type_pair, type_pair_hash, type_pair_eq)
(create_copied_types_hash, copy_type_recursive): New.
* gdbtypes.h: Include "hashtab.h".
(TYPE_ZALLOC): New.
(create_copied_types_hash, copy_type_recursive): New prototypes.
* objfiles.c (free_objfile): Call preserve_values.
* symfile.c (reread_symbols): Likewise.
(clear_symtab_users): Remove calls to clear_value_history and
clear_internalvars.
* value.c (clear_value_history, clear_internalvars): Removed.
(preserve_one_value, preserve_values): New functions.
* value.h (clear_value_history, clear_internalvars): Removed.
(preserve_values): New prototype.
* tracepoint.c (_initialize_tracepoint): Do not initialize convenience
variables here.
gdb/doc/
* gdb.texinfo (Files): Remove obsolete bits from the description
of "symbol-file".
2006-02-01 23:14:11 +00:00
Jim Blandy
a9f158ec20
2006-01-25 Jim Blandy <jimb@redhat.com>
...
* gdbint.texinfo (Testsuite): Explain how to run selected tests.
2006-01-25 21:15:42 +00:00
Jim Blandy
410dd08eb5
2006-01-24 Jim Blandy <jimb@redhat.com>
...
* gdbint.texinfo (Frames): Document the basics of GDB's register
unwinding model, and explain the existence of the "sentinel" frame.
2006-01-25 18:48:57 +00:00
Andrew Stubbs
4b505b1269
2006-01-23 Andrew Stubbs <andrew.stubbs@st.com>
...
* cli/cli-cmds.c: Include fcntl.h.
(source_command): Use the GDB search path to find script files.
doc/
* gdb.texinfo (Choosing files): Mention that -directory is used
for script files.
(Specifying source directories): Likewise.
(Command files): Explain how script files are found.
2006-01-23 16:28:37 +00:00
Eli Zaretskii
839c27b7cf
(Backtrace): Describe how to get backtrace of all the threads in a
...
multi-threaded program.
(Threads): The threadno argument of "thread apply" can be a range of numbers.
2006-01-21 21:14:10 +00:00
Jim Blandy
7be93b9eea
gdb/ChangeLog:
...
2006-01-18 Jim Blandy <jimb@redhat.com>
* configure.ac: Add -Wno-pointer-sign to list of build warnings.
* configure: Regenerated.
gdb/doc/ChangeLog:
2006-01-18 Jim Blandy <jimb@redhat.com>
* gdbint.texinfo (Coding): Add entry for -Wno-pointer-sign to list
of warning flags.
2006-01-20 21:58:16 +00:00
Eli Zaretskii
ca91424e59
* gdb.texinfo (Define, Command Files): Document `end' and add index
...
entries for it.
2006-01-13 20:11:47 +00:00
Eli Zaretskii
fcc73fe3a6
* gdb.texinfo (Sequences): Improve menu annotations.
...
(Define): Add index entries for arguments of user-defined
commands. Move the description of flow-control commands...
(Command Files): ...to here. Document loop_break and
loop_continue.
2006-01-13 15:49:03 +00:00
Michael Snyder
5c95884b4c
2006-01-04 Michael Snyder <msnyder@redhat.com>
...
* gdb.texinfo: Add documentation for linux-fork.
* gdbint.texinfo: Add internal documentation for checkpoints.
2006-01-04 19:31:27 +00:00
Paul N. Hilfinger
860701dc69
* gdb.texinfo (Omissions from Ada): Document that there is now
...
limited aggregate support.
2006-01-02 09:47:18 +00:00
Eli Zaretskii
36b80e652c
* gdb.texinfo (Registers): Describe how to refer to SSE and MMX
...
registers and the likes.
2005-12-28 20:05:49 +00:00
Eli Zaretskii
359df76bbb
(Memory Region Attributes): Fix usage of "etc."
2005-12-24 15:28:44 +00:00
Eli Zaretskii
c1468174e7
* gdb.texinfo (Target Commands, Bug Reporting, File Options)
...
(Symbols): Fix usage of "e.g.".
* gdbint.texinfo (libgdb, Symbol Handling, Native Debugging)
(Coding): Fix usage of "e.g.".
2005-12-24 15:22:36 +00:00
Eli Zaretskii
c02a867d91
* stabs.texinfo:
...
* refcard.tex:
* gpl.texi:
* gdbint.texinfo:
* gdb.texinfo:
* gdb-cfg.texi:
* fdl.texi:
* annotate.texinfo:
* all-cfg.texi:
* Makefile.in: Add (C) after Copyright. Update the FSF
address.
2005-12-23 19:26:17 +00:00
Eli Zaretskii
fad38dfad4
* gdb.texinfo (Connecting): Explain that `monitor' is a way to
...
extend GDB with commands for external monitor.
2005-12-03 12:44:31 +00:00
Andrew Stubbs
53e5f3cf29
2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
...
* value.c (init_if_undefined_command): New function.
(_initialize_values): Add command init-if-undefined.
* NEWS (Changes since GDB 6.3): Rename to 'Changes in GDB 6.4'.
(Changes since GDB 6.4): New section.
Mention new command init-if-undefined.
doc/
* gdb.texinfo (Convenience variables): Add init-if-undefined command.
2005-12-02 11:44:19 +00:00
Joel Brobecker
55f6ca0f15
* gdbint.texinfo (Start of New Year Procedure): New chapter.
2005-11-26 00:04:38 +00:00
Jim Blandy
c1947b85a5
2005-11-21 Jim Blandy <jimb@redhat.com>
...
* gdb.texinfo (Tracepoint Packets): Document restrictions on
placement of 'R' actions in tracepoint action packets; document
dependence of 'X' and 'M' actions on a preceding 'R' action for
their registers.
2005-11-23 00:03:15 +00:00
Jim Blandy
9d29849ad8
gdb/doc/ChangeLog:
...
2005-11-19 Jim Blandy <jimb@redhat.com>
* gdb.texinfo (Tracepoint Packets): New node.
(General Query Packets): Add entries for the tracepoint packets,
referring to the "Tracepoint Packets" node.
(Tracepoints): Add reference to "Tracepoint Packets".
2005-11-20 06:12:59 +00:00
Kevin Buettner
9a6253be92
* gdb.texinfo (set remotebreak): Add anchor.
...
(X packet): Likewise.
(Remote Protocol): Add new section `Interrupts' and new index
entry `interrupts (remote protocol)'.
2005-11-18 22:17:09 +00:00
Jim Blandy
5f3bebba9f
* gdb.texinfo (Packets): Move information out of 'q' and 'Q'
...
entries into the General Query Packets section. Add a
cross-reference to that section. Drop description of replies, as
these are covered in the descriptions of each packet.
(General Query Packets): Add introductory text. Explain naming
conventions, and how the end of a name is recognized.
2005-11-18 19:20:56 +00:00
Kevin Buettner
0564b6cfcd
Fix ChangeLog typo from previous commit.
2005-11-17 19:12:26 +00:00
Kevin Buettner
9a7a1b3614
* gdb.texinfo (Remote Configuration): Fix typo in description of
...
"set remotebreak" command.
2005-11-17 19:08:38 +00:00
Jim Blandy
b8ff78cefa
gdb/doc/ChangeLog:
...
2005-11-16 Jim Blandy <jimb@redhat.com>
* gdb.texinfo (Packets, Stop Reply Packets)
(General Query Packets): Various formatting cleanups.
- Use @samp for packet contents.
- Drop summaries from packet @item lines; the same information appears
immediately below in the description.
- Delete paragraph breaks after packet @item commands, so that the
description appears directly to the right of the packet prototype
in the printed manual, if it fits.
- Place spaces in packet prototypes between @vars and non-@var
letters, and explain that they're just for formatting.
- Use @dots{} instead of '...'.
- Fix uses of @code where @var was needed.
- Replace "deprecated" markers with English text spelling out the
packet's status and the preferred alternatives.
- Remove "(reserved)" markers on 'A' and 'I' packets; it's unclear
what this ever meant.
- Remove "(draft)" markers on 'i' packets; nobody has commented on
this for a long time.
- Remove "(draft)" markers on 'z' and 'Z' packets; these have been
implemented several times, and have been in use for years.
2005-11-16 10:34:33 +00:00
Jim Blandy
c43c547375
2005-11-15 Jim Blandy <jimb@redhat.com>
...
* gdb.texinfo (Packets): Add index entries for 'm' packet
disclaimers.
2005-11-16 06:24:52 +00:00
Jim Blandy
fb031cdf9e
* gdb.texinfo (Packets): Clarify lack of restrictions on behavior
...
of stub when processing an 'm' packet.
2005-11-15 19:58:30 +00:00
Jim Blandy
8ffe25303d
* gdb.texinfo (Packets): Mention that packets beginning with
...
letters are reserved once, at the top, instead of actually listing
them all and saying "reserved".
2005-11-15 18:00:28 +00:00
Andrew Stubbs
c03c782ff0
2005-11-15 Andrew Stubbs <andrew.stubbs@st.com>
...
* cli/cli-script.c: Include gdb_assert.h.
(locate_arg): Detect $argc.
(insert_args): Substitute $argc.
* Makefile.in (cli-script.o): Add dependency on gdb_assert.h.
doc/
* gdb.texinfo (User-defined commands): Add $argc. Add missing 'end'.
Change @var{$arg0 to @code{$arg0.
2005-11-15 12:03:08 +00:00
Wu Zhou
ff2587ec78
* gdb.texinfo: Correct a merge error introduced by -r 1.286.
2005-11-14 03:27:22 +00:00
Wu Zhou
814e32d720
* gdb.texinfo (Fortran): Add some words about Fortran debugging.
2005-11-14 02:34:43 +00:00
Jim Blandy
fa93a9d8fc
2005-11-12 Jim Blandy <jimb@redhat.com>
...
* gdb.texinfo (General Query Packets): Put packets in alphabetical
order. Remove extraneous 'z'.
2005-11-12 23:09:46 +00:00
Andrew Stubbs
8a5a3c8298
2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
...
* main.c (captured_main): Define struct cmdarg. Change type of cmdarg.
Add new options --eval-command and alias -ex.
Adjust --command to use the new struct cmdarg.
Execute commands given with --eval-command.
(print_gdb_help): Add new options --eval-command, -ex and mention -x.
docs/
* gdb.texinfo (Choosing files): Add --eval-command.
2005-11-07 13:56:48 +00:00
Andrew Stubbs
4b0ad76243
2005-11-04 Andrew Stubbs <andrew.stubbs@st.com>
...
* infrun.c (print_stop_reason): Set return_child_result_value on exit.
* main.c (return_child_result): New variable.
(return_child_result_value): Likewise.
(captured_main): Add option --return-child-result.
Replace call to target_detach and exit (in batch mode) with quit_force.
(print_gdb_help): Add option --return-child-result.
* top.c (quit_force): Return child result if appropriate.
docs/
* gdb.texinfo (Choosing modes): Add --return-child-result.
2005-11-04 11:49:12 +00:00
Andrew Stubbs
1a088d065a
2005-11-01 Andrew Stubbs <andrew.stubbs@st.com>
...
* event-top.c (gdb_setup_readline): Don't set gdb_stdout when
--batch-silent option was given.
* main.c (batch_silent): New variable.
(captured_main): Add new option --batch-silent.
(print_gdb_help): Likewise.
doc/
* gdb.texinfo (Choosing modes): Add --batch-silent.
2005-11-01 11:09:18 +00:00
Eli Zaretskii
656d5e120f
* gdb.texinfo (GDB/MI Variable Objects): Fix @pxref usage under
...
"The -var-update Command".
2005-10-28 17:20:03 +00:00
Joel Brobecker
3c9c013acb
* gdb.texinfo (Print Settings): Add documentation for set/show
...
print array-indexes.
2005-10-03 22:26:54 +00:00
Daniel Jacobowitz
7ba3cf9c85
* gdb.texinfo (Contributors): Thank Andrew Cagney for releases
...
6.2 and 6.3.
2005-09-18 03:28:18 +00:00
Eli Zaretskii
ab1adacd8a
(Variables, Symbols): Document the "<incomplete type>" message and
...
its reasons.
2005-08-27 12:51:30 +00:00
Eli Zaretskii
a94ab19323
* main.c (print_gdb_help): Don't advertise the (long non-existent)
...
option --mapped.
* gdb.texinfo (File Options): Don't document --mapped, it's gone
since 19-Jan-2004.
(Files): Likewise.
2005-08-27 12:05:01 +00:00
Fred Fish
ca06016a0a
Reviewed/approved by Daniel Jacobowitz <drow@false.org>
...
2005-08-01 Fred Fish <fnf@specifix.com>
* gdb.texinfo (SETUP_ARBITRARY_FRAME): Remove obsolete reference.
2005-08-01 18:31:28 +00:00
Nick Roberts
265eeb58f3
(GDB/MI Variable Objects): Describe print-values
...
option for -var-list-children and -var-update.
(GDB/MI Stack Manipulation): Simplify description of
print-values option for -stack-list-locals.
(GDB/MI Command Description Format): Clarify.
(Mode Options): Spelling of superseded.
2005-07-15 05:58:17 +00:00
Nick Roberts
cf58170dae
*** empty log message ***
2005-07-15 05:55:02 +00:00
Bob Rossi
38f1196a3d
2005-07-12 Bob Rossi <bob@brasko.net>
...
* gdb.texinfo (GDB/MI Miscellaneous Commands): Fix -inferior-tty-show
corresponding GDB command comment.
2005-07-12 14:48:56 +00:00
Bob Rossi
3cb3b8dfd1
Index: gdb/ChangeLog
...
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * fork-child.c (fork-inferior): Use accessor function for
+ inferior_io_terminal.
+ * infcmd.c (inferior_io_terminal): Make static.
+ (set_inferior_io_terminal): New function.
+ (get_inferior_io_terminal): Ditto.
+ (tty_command): Use accessor function.
+ (_initialize_infcmd): Add inferior_tty setshow variable.
+ (_initialize_infcmd): Remove tty command.
+ (_initialize_infcmd): Add a tty command that is an alias.
+ * inferior.h (set_inferior_io_terminal): New prototype.
+ (get_inferior_io_terminal): Ditto.
+ (new_tty_prefork): Add const qualifier to parameter.
+ * inflow.c (inferior_thisrun_terminal): Add const qualifier.
+ (new_tty_prefork): Add const qualifier to parameter.
+ * nto-procfs (procfs_create_inferior): Use accessor function.
+ (procfs_create_inferior): Add const qualifier to locals.
+ * win32-nat.c (child_create_inferior): Ditto.
+ * mi/mi-cmd-env.c (mi_cmd_inferior_tty_set): New function.
+ (mi_cmd_inferior_tty_set): Ditto.
+ * mi/mi-cmds.c (mi_cmds): Add inferior-tty-set and inferior-tty-show
+ * mi/mi-cmds.h (mi_cmd_inferior_tty_set): Add prototype.
+ (mi_cmd_inferior_tty_show): Ditto.
Index: gdb/doc/ChangeLog
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * gdb.texinfo (GDB/MI Miscellaneous Commands): Add -inferior-tty-set
+ and -inferior-tty-show.
+ (Input/Output): Document "set/show inferior-tty" and tty alias.
Index: gdb/testsuite/ChangeLog
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
+ command.
+ (Copyright): Update copyright.
2005-07-06 14:54:37 +00:00
Nathan J. Williams
10fac09652
* gdb.texinfo (Packets): Change description of 'D' packet to note
...
that GDB does wait for a response.
2005-07-02 15:39:48 +00:00
Nick Roberts
d620b259fb
(History) Rename "Command History".
...
(Command History): Move node "Server Prefix" from section on
Annotations here.
2005-06-22 06:20:00 +00:00
Nick Roberts
d1b6db76f0
*** empty log message ***
2005-06-22 06:15:43 +00:00
Nick Roberts
dcaaae044f
(GDB/MI Stack Manipulation):
...
Re-instate -stack-info-frame with example. Say that it gets
info on selected frame, not current frame.
2005-06-19 03:16:32 +00:00
Nick Roberts
29629dcf1e
*** empty log message ***
2005-06-19 03:14:46 +00:00
Eli Zaretskii
d416eeec97
(Backtrace): Document that free-standing environments do not need
...
to have a `main' function.
2005-06-18 13:12:04 +00:00
Eli Zaretskii
76d17f347a
(Machine Code): Document possible problems with locations in
...
shared libraries.
2005-06-18 12:54:36 +00:00
Eli Zaretskii
59b7b46f98
(Files): Add more indexing for solib-absolute-prefix and --with-sysroot.
2005-06-18 12:40:48 +00:00
Eli Zaretskii
fc8be69e5e
(Files): Document the possibility of loading unlinked object files.
2005-06-18 12:36:06 +00:00
Eli Zaretskii
638ac427cd
(Threads): Add an @cindex entry for "thread apply".
2005-06-18 12:18:25 +00:00
Eli Zaretskii
5127403546
(Output Formats): More detailed description of the `c' format.
...
(Memory): List explicitly all the formats supported by `x'.
2005-06-18 12:10:55 +00:00
Eli Zaretskii
397ca11534
(Server): Clarify that `file' should be used before connecting to the server.
...
(Files): Add an xref to the above description.
2005-06-18 11:39:36 +00:00
Nick Roberts
86f91582c3
(GDB/MI Stack Manipulation): Remove reference to
...
-stack-info-frame.
2005-06-18 03:01:48 +00:00
Nick Roberts
74f6deaacd
*** empty log message ***
2005-06-18 02:51:55 +00:00
Andrew Cagney
a9967aef6a
2005-06-07 Andrew Cagney <cagney@gnu.org>
...
* gdb.texinfo (Contributors): Note the original multi-arch
contributors.
2005-06-07 15:32:38 +00:00
Eli Zaretskii
e09f16f93f
* gdb.texinfo (Registers): Add index entries for the standard
...
registers.
(Frames): Add cross-reference from frame pointer description to
the Registers node.
(Annotations Overview): Fix the reference to GDB name.
2005-06-03 07:09:20 +00:00
Eli Zaretskii
d87ba7eeda
* gdb.texinfo (Set Watchpoints): Remove @vindex entry for
...
can-use-hw-watchpoints.
2005-06-01 20:38:44 +00:00
Bob Rossi
034dad6fa1
This is a cleanup change. It is the beggining of allowing GDB/MI to be
...
better understood (internally).
2005-05-29 03:13:19 +00:00
Andrew Cagney
ffed450932
2005-05-26 Andrew Cagney <cagney@gnu.org>
...
* gdb.texinfo: Note that Elena Zannoni, Fernando Nasser, and
Andrew Cagney implemented the original GDB/MI.
2005-05-26 19:28:23 +00:00
Orjan Friberg
e22e55c92c
2005-05-23 Orjan Friberg <orjanf@axis.com>
...
* gdb.texinfo (CRIS): Update the cris-version and cris-dwarf2-cfi
documentation. Add documentation for cris-mode.
2005-05-23 10:41:33 +00:00
Eli Zaretskii
a78e13ce5a
*** empty log message ***
2005-05-20 14:59:59 +00:00
Eli Zaretskii
eb2dae0870
* gdb.texinfo (Numbers): Explain the example and make the wording
...
more acurate.
2005-05-20 14:58:38 +00:00
Daniel Jacobowitz
76ff342d25
2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
...
Dennis Brueni <dennis@slickedit.com>
gdb/
* stack.c (print_frame): In MI mode, output a fullname attribute
with the stack frame.
gdb/doc/
* gdb.texinfo (GDB/MI Breakpoint Table Commands)
(GDB/MI Data Manipulation, GDB/MI Program Control)
(GDB/MI Stack Manipulation): Update examples to include the fullname
attribute in stack frames.
gdb/testsuite/
* gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
* lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
2005-05-18 03:41:59 +00:00
Eli Zaretskii
119b882a3d
* gdb.texinfo (Startup): Fix last change. Treat gdb.ini like we
...
do with other non-standard names of init files.
2005-05-12 09:05:45 +00:00
Eli Zaretskii
6fc08d328b
* gdb.texinfo (Command Files): Move the description of the startup
...
from here...
(Startup): ...to this new subsection of the Invocation chapter.
Rearrange the description of init files more logically and add a
cross-reference to "Command Files". Document the special gdbinit
name for CISCO 68k. Expand the description of what GDB does
during startup.
(History): Add index entry for HISTSIZE.
2005-05-11 15:47:49 +00:00
Mark Kettenis
a561754a23
* gdb.texinfo (Files): Remove documentation for auto-solib-limit.
2005-05-02 20:42:27 +00:00
Eli Zaretskii
514c4d7110
* gdb.texinfo (SVR4 Process Information, The isatty call)
...
(The system call): Don't use foo(N) notation for man pages and
functions.
(Compilation, DJGPP Native): Improve wording.
2005-05-02 20:28:48 +00:00
Eli Zaretskii
2eecc4abe2
(SVR4 Process Information, The isatty call, The system call): Don't use the
...
foo(N) notation for man pages and functions.
2005-05-01 21:27:44 +00:00
Eli Zaretskii
18999be528
* gdb.texinfo (Backtrace): Describe backtraces with arguments that
...
were optimized away.
2005-04-27 13:02:15 +00:00
Eli Zaretskii
0abb7bc72f
* gdb.texinfo (Remote configuration): Document "set/show
...
get-thread-local-storage-address". Add cross-reference to the
description of the qGetTLSAddr packet.
(General Query Packets): Mention "set remote
get-thread-local-storage-address" and add a reference to its
description.
2005-04-22 13:09:30 +00:00
Nick Roberts
0f061b69fb
(Backtrace): Describe 'bt full'.
2005-04-18 13:30:11 +00:00
Nick Roberts
6f61acb103
*** empty log message ***
2005-04-18 13:28:22 +00:00
Nick Roberts
6b5e8c0119
(Mode Options): Fix typo.
...
(GDB/MI): Describe how to invoke GDB/MI.
2005-04-16 20:56:20 +00:00
Nick Roberts
9d59903aa5
*** empty log message ***
2005-04-16 20:54:31 +00:00
Eli Zaretskii
c45da7e67c
(Debugging Output): Document "set/show debug
...
solib-frv". Fix "set/show debugvarobj".
(Set Breaks): Add index entry for "hardware breakpoints".
(Renesas ICE): Document "e7000", "ftplogin", "ftpload", "drain",
and "set/show usehardbreakpoints".
(MIPS Embedded): Document "se/show syn-garbage-limit", "set/show
monitor-prompt", "set/show monitor-warnings", "pmon".
(ARM): Document "rdilogfile", "rdilogenable", "set/show
rdiromatzero", "set/show rdiheartbeat".
(PowerPC): Document SDS-specific commands "set/show sdstimeout",
"sds".
(Embedded Processors): Document the "sim" command.
(Remote): Document the "remote" command.
(DJGPP Native): Document the "info serial" command.
(Threads): Document "maint info sol-threads".
(Files): Document "nosharedlibrary", "add-symbol-file-from-memory".
(Set Breaks): Improve indexing.
(Command Syntax): Add a reference to dont-repeat.
(Define): Document "dont-repeat".
(TUI Commands): Document "tabset".
(WinCE): New subsection. Document "set/show remotedirectory",
"set/show remoteupload", "set/show remoteaddhost".
2005-04-16 14:27:50 +00:00
Eli Zaretskii
ba04e06340
(M32R/D): Document "sdireset", "sdistatus", "debug_chaos",
...
"use_debug_dma",
"use_mon_code", "use_ib_break", "use_dbt_break".
(Debugging Output): Improve wording.
(Set Breaks): Add index entry for "hardware breakpoints".
(Renesas ICE): Document "e7000", "ftplogin", "ftpload", "drain",
and "set/show usehardbreakpoints".
(MIPS Embedded): Document "se/show syn-garbage-limit", "set/show
monitor-prompt", "set/show monitor-warnings", "pmon".
2005-04-16 12:03:31 +00:00
Eli Zaretskii
a5adf40fde
Fix typos.
2005-04-16 09:14:28 +00:00
Eli Zaretskii
721c265195
* gdb.texinfo (OS Information): Renamed from Auxiliary Vector; all
...
references changed. Add descriptgion of "info udot".
(Files): Document "set/show stop-on-solib-events".
(M32R/D): Document "set/show download-path", "set/show
board-address", "set/show server-address", "upload", "tload".
(Maintenance Commands): Improve indexing.
(Target Commands): Document "set/show hash", "set/show debug
monitor".
(SVR4 Process Information): Document "info pidlist" and "info
meminfo". Document "set/show procfs-tarce" and "set/show
procfs-file". Document "proc-trace-*" and "proc-untrace-*".
(Symbols, The Print Command with Objective-C): Improve indexing.
(Objective-C): Add references to "info classes" and "info
selectors".
(Debugging Output): Improve wording.
2005-04-16 08:44:34 +00:00
Eli Zaretskii
a64548eaba
(MIPS): Improve documentation of heuristic-fence-post. Document
...
"set/show mips abi", "set/show mips saved-gpreg-size", "set/show
mips stack-arg-size", "set/show mips mask-address", "set/show mips
remote-mips64-transfers-32bit-regs", "set/show debug mips".
(ARM): Document ARM-specific commands.
(AVR): New section. Document "info io_registers".
(CRIS): New section. Document "set/show cris-version" and
"set/show cris-dwarf2-cfi".
(HPPA): New section. Document "set/show debug hppa" and "maint
print unwind".
(Netrino): New subsection. Document "set/show debug nto-debug".
(Super-H): New section. Document the "regs" command.
2005-04-15 16:43:54 +00:00
Eli Zaretskii
e2f4edfd00
* gdb.texinfo (ARM): Document ARM-specific commands.
2005-04-15 12:37:57 +00:00
Eli Zaretskii
da316a69fe
*gdb.texinfo (Debugging Output): Document "set/show debug lin-lwp".
2005-04-15 12:09:49 +00:00
Eli Zaretskii
14d6dd6880
* gdb.texinfo (Hurd Native): New subsection, documents
...
Hurd-specific commands.
2005-04-15 11:53:52 +00:00
Eli Zaretskii
21655b0344
Update copyright years.
2005-04-10 21:20:27 +00:00
Eli Zaretskii
9c16f35ad5
* gdb.texinfo (Print Settings): Document "set/show print
...
pascal_static-members", "set print repeats", "show print
null-stop". Improve indexing. Fix documentation of "set print
union".
(Pascal): New section.
(Supported languages): Rename from "Support"; all references
updated. Add a menu item for Pascal.
(Numbers): Document "set radix.
(Screen Size): Document "set/show pagination".
(MIPS Embedded): Remove "set processor" documentation.
(Remote configuration): Document "set/show X/P/Z-packet",
"set/show read-aux-vector-packet", "set/show remote
symbol-lookup-packet", "set/show remote verbose-resume-packet",
"set/show remoteaddresssize", "set/show remotebaud", "set/show
remotedebug", "set/show remotebreak", "set/show remotedevice",
"set/show remotelogfile".
(Auxiliary Vector): Add reference to the description of the
read-aux-vector-packet setting.
(Set Watchpoints): Add a cross-reference to "set remote
hardware-breakpoint-limit".
(General Query Packets): Add indexing of requests and
cross-references to related commands in "Remote configuration".
(File-I/O Overview, The system call): Fix wording and typos.
(Thread Stops): Add index entries.
(Continuing and Stepping): Document "show step-mode".
(i386): New node. Document "set/show struct-convention".
(Files): Document "show trust-readonly-sections".
(Calling): Document "set/show unwindonsignal".
(Messages/Warnings): Add index entries.
(Maintenance Commands): Document "set/show watchdog".
(Annotations Overview): Document "show annotate".
(Set Watchpoints): Add index entries.
(Symbols): Fix doc of case-sensitive.
(ABI): Document "show coerce-float-to-double".
(Convenience Vars, Help): Improve indexing.
(Machine Code): Document "show disassembly-flavor".
(Debugging C plus plus): Document "show overload-resolution".
(Value History, Signaling): Add index entries.
* gdb.texinfo (Show): Move @kindex entries to their proper places.
(Processes): Fix wording.
(History, List, Logging output, Define, Symbols, Print Settings):
Improve indexing.
2005-04-09 15:37:20 +00:00
Eli Zaretskii
a8f24a3552
(Targets): Document "set/show architecture". Remove
...
redundant index entry for "target" command.
(Backtrace): Add index entries.
(Symbols, Fortran): Document the "set case-sensitive" command.
(DJGPP Native): Document "set com1base", "set com1irq", etc.
(Print Settings): Add index entry for "set demangle-style".
(Target Commands): Document "set download-write-size".
(Debugging Output): Document "set exec-done-display".
2005-04-02 22:24:18 +00:00
Eli Zaretskii
09d4efe17b
(Files): Fix the name and documentation of
...
add-shared-symbol-files. Document its alias assf. Update the
list of OSs where GDB supports shared libraries. Fix markup.
(Continuing and Stepping): Add reference to @var{location} in the
text.
(Dump/Restore Files): Fix reference to @{filename}.
(Help): Fix wording.
(Attach): Ditto.
(Set Watchpoints): Ditto.
(Backtrace): Remove redundant index entries. Improve index
entries.
(Delete Breaks): Fix wording.
(Memory): Document the compare-sections command.
(Memory Region Attributes): Improve wording.
(Disabling): Improve wording.
(Fortran): New subsection. Document the "info common" command.
(Help): Document aliases "info copying" and "info warranty".
(Caching Remote Data): New section. Document the "set/show
remotecache" and "info dcache" commands.
(Show): Fix wording of the documentation of the "set
extension-language" command.
(Signals): Add index entry for "info handle".
(Memory Region Attributes): Fix punctuation.
(Symbols): Change the arg name to "location" and refer to it in
the text. Fix wording of "info types" doc.
(Threads): Fix usage of @enumerate @item's.
(Listing Tracepoints): Add index entry for "info tp".
(Set Watchpoints): Add xref to "info break" description.
(Macros): Add an index entry for "macro exp1". Document the
"macro list" command.
(Maintenance Commands): Document "flushregs", "maint agent",
"maint check-symtabs", "maint cplus", "maint demangle", "maint
deprecate", "maint undeprecate", "maint dump-me", "maint packet",
"maint print architecture", "maint print objfiles", "maint print
statistics", "maint print type", "maint show-debug-regs", "maint
space", "maint time", and "maint translate-address".
(Connecting): Document the "monitor" command.
(Annotations Overview): Describe the "set annotate" command.
2005-04-02 17:48:36 +00:00
Eli Zaretskii
82f2d80296
(Set Watchpoints): Document can-use-hw-watchpoints.
...
Rearrange index entries and improve wording about support for
hardware watchpoints.
2005-04-02 08:32:31 +00:00
Bob Rossi
7d51c7de80
Add 2005 to doco copyright
2005-03-10 13:12:33 +00:00
Joel Brobecker
ea53e89f14
* doc/observer.texi (executable_changed): New observer.
...
* symtab.c: Include "observer.h".
(find_main_name): New function.
(main_name): If name_of_main is unset, then compute it
using find_main_name.
(symtab_observer_executable_changed): New function.
(_initialize_symtab): Attach executable_changed observer.
* exec.c: Include "observer.h".
(exec_file_attach): Emit executable_changed notification.
* symfile.c: Include "observer.h".
(reread_symbols): Send an executable_changed if appropriate.
* Makefile.in (exec.o): Add dependency on observer.h.
(symfile.o): Likewise.
(symtab.o): Likewise.
2005-03-08 04:34:45 +00:00
Theodore A. Roth
68c71a2e92
* gdb.texinfo (General Query Packets): Fix texinfo compile warning and error.
2005-02-09 19:06:08 +00:00
Kevin Buettner
83761cbd36
* gdb.texinfo (General Query Packets): Document qGetTLSAddr packet.
2005-02-03 16:11:38 +00:00
Michael Snyder
9f1c639570
2005-01-17 Michael Snyder <msnyder@redhat.com>
...
* gdb.texinfo: Fix spelling, infinte -> infinite.
2005-01-17 19:54:42 +00:00
Mark Kettenis
fbd1b305fd
* observer.texi (GDB Observers): Document "solib_loaded".
2005-01-12 20:48:08 +00:00
Andrew Cagney
bec39cab00
Index: ChangeLog
...
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: doc/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: gdbserver/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
* gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
* gdb.stabs/configure: Re-generate.
* gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
* gdb.hp/configure: Re-generate.
* gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.objdbg/configure: Re-generate.
* gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.defects/configure: Re-generate.
* gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.compat/configure: Re-generate.
* gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.base-hp/configure: Re-generate.
* gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.aCC/configure: Re-generate.
2005-01-07 21:53:26 +00:00
Andrew Cagney
3ace7edba4
Index: ChangeLog
...
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.in: Replace configdirs with multiple references to
AC_CONFIG_SUBDIRS.
* configure: Re-generate.
Index: doc/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.in: Replace configdirs with multiple references to
AC_CONFIG_SUBDIRS.
* configure: Re-generate.
2005-01-07 15:17:01 +00:00
Andrew Cagney
53531fc112
2005-01-04 Andrew Cagney <cagney@gnu.org>
...
* gdbint.texinfo (Versions and Branches): Make the date (YYYYMMDD)
part of the version number.
2005-01-04 19:25:46 +00:00
Mark Kettenis
536ffdb7e1
* gdbint.texinfo (Algorithms): Remove description of
...
TARGET_DISABLE_HW_WATCHPOINTS and TARGET_ENABLE_HW_WATCHPOINTS.
2004-12-25 10:19:48 +00:00
Jim Blandy
e1aac25bcf
* gdb.texinfo (General Query Packets): Specify that thread ID's in
...
the 'qC' and 'qThreadInfo' packets are unsigned hexidecimal
numbers.
2004-12-08 05:28:31 +00:00
Andreas Schwab
f47b15032f
* main.c (long_options): Add entry for "-l".
...
(print_gdb_help): Add line for -l option.
* NEWS: Mention it.
doc/
* gdb.texinfo (Mode Options): Document -l option.
2004-12-07 11:06:04 +00:00
Eli Zaretskii
b6b8ece66c
* gdbint.texinfo (Algorithms): More accurate description of
...
STOPPED_BY_WATCHPOINT. Point out that target_stopped_data_address
is not needed unless data-read and data-access watchpoints are
supported. Add a description of how GDB checks whether the
inferior stopped because a watchpoint was hit.
2004-12-04 14:02:44 +00:00
Eli Zaretskii
7b5ba0cc21
Fix last change.
2004-11-23 12:12:15 +00:00
Eli Zaretskii
013717475e
* gdb.texinfo (Files): Add cross-reference to description of
...
-readnow command-line switch.
2004-11-23 12:05:28 +00:00
Randolph Chung
2315ffec02
2004-11-10 Randolph Chung <tausq@debian.org>
...
* blockframe.c (inside_entry_func): Move to .....
* frame.c (inside_entry_func): ... here, and make static.
(backtrace_past_entry): New flag.
(get_prev_frame): Stop backtrace at the entry function if enabled
by flag. Update comments.
(_initialize_frame): Add command to set backtrace_past_entry flag.
* defs.h (inside_entry_func): Remove prototype.
doc/
* gdb.texinfo: Document set/show backtrace past-entry commands.
Rearrange index entries for set/show backtrace past-main.
2004-11-10 21:17:58 +00:00
Andrew Cagney
69065f5d2f
2004-11-10 Jon Beniston <jon@beniston.com>
...
Committed by Andrew Cagney <cagney@gnu.org>.
* gdb.texinfo (Remote Serial Protocol): Further describe
binary transfer escaping mechanism .
2004-11-10 14:56:26 +00:00
Randolph Chung
30e91e0bc8
2004-11-08 Randolph Chung <tausq@debian.org>
...
* gdb.texinfo (inferior_debugging info): Document "set debug infrun"
and "show debug infrun". Add index entries.
2004-11-08 17:25:49 +00:00
Eli Zaretskii
384ee23f42
* gdb.texinfo (Core File Generation): New section.
2004-10-23 15:05:29 +00:00
Eli Zaretskii
f856860472
(Calling): Expand and elaborate text. Add "print". Add the
...
description of problems with weak aliases.
2004-10-23 14:34:54 +00:00
Eli Zaretskii
f018e82f92
2004-10-23 Eli Zaretskii <eliz@gnu.org>
...
* gdb.texinfo (Starting): Fix whitespace; make "elaboration" stand
out where it is first used, and add an index entry for the term.
2004-10-23 14:21:44 +00:00
Eli Zaretskii
dcaf7c2c09
2004-10-23 Eli Zaretskii <eliz@gnu.org>
...
* gdb.texinfo(Files): Add a tip for decreasing memory used for
symtabs from shared libraries.
2004-10-23 14:11:33 +00:00
Eli Zaretskii
60bf7e09b1
* gdb.texinfo (SVR4 Process Information): Document subcommands of
...
"info proc" that are already implemented. Add index entries.
(Working Directory): Add a cross-reference to "info proc" command.
2004-10-23 13:52:37 +00:00
Andrew Cagney
d52fe014d1
2004-10-12 Andrew Cagney <cagney@gnu.org>
...
* gdbint.texinfo (Versions and Branches): New chapter.
(Releasing GDB): Delete "Versions and Branches" section.
(Top): Add "Versions and Branches".
2004-10-12 19:14:31 +00:00
Eli Zaretskii
703663ab0d
(Editing, History): Add cross-references to the
...
included Readline and History user documentation. Remove
references to the symbol have-readline-appendices which is unused
and undefined.
(History): Fix indexing.
2004-10-08 19:19:05 +00:00
Jeff Johnston
ac77d04f5d
2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
...
* gdbint.texinfo (target_stopped_data_address): Update to
new prototype.
(i386_stopped_data_address): Update prototype and description.
(i386_stopped_by_watchpoint): New function and description.
2004-10-08 15:34:31 +00:00
Paul N. Hilfinger
e07c999f48
* gdb.texinfo (Filenames): Add Ada suffixes.
...
(Ada) New section.
2004-10-03 10:10:35 +00:00
Andrew Cagney
2e868123fa
2004-09-27 Andrew Cagney <cagney@gnu.org>
...
Robert Picco <Robert.Picco@hp.com>
* gdb.texinfo (Packets): Document the "p" packet.
2004-09-27 19:23:25 +00:00
Jason Molenda
02a5771400
2004-09-21 Jason Molenda (jmolenda@apple.com)
...
* gdb.texinfo (Paths and Names of the Source Files): Document the
meaning of values in the 'desc' field of a SO stab.
approval: http://sources.redhat.com/ml/gdb-patches/2004-09/msg00334.html
2004-09-21 21:06:37 +00:00
Daniel Jacobowitz
ae038cb03c
gdb/doc/
...
* gdb.texinfo (Maintenance Commands): Document "maint set dwarf2
max-cache-age" and "maint show dwarf2 max-cache-age".
gdb/
* Makefile.in (dwarf2read.o): Update dependencies.
* dwarf2read.c: Include "command.h" and "gdbcmd.h".
(struct dwarf2_per_objfile): Add all_comp_units, n_comp_units,
and read_in_chain.
(struct dwarf2_cu): Add read_in_chain, per_cu, last_used,
mark, and has_form_ref_addr.
(struct dwarf2_per_cu_data): New.
(dwarf2_max_cache_age): New.
(dwarf2_build_psymtabs_hard): Free cached compilation units
after loading. Create and manage the list of compilation units.
Remove unnecessary NULL initialization. Fix indentation.
(psymtab_to_symtab_1): Initialize all of CU.
(dwarf2_read_abbrevs): Set has_form_ref_addr.
(find_partial_die): Use dwarf2_find_containing_comp_unit
and load_comp_unit.
(free_stack_comp_unit): Update comments. Clear the per-cu
pointer. Handle aging.
(dwarf2_find_containing_comp_unit, free_cached_comp_units)
(age_cached_comp_units, free_one_cached_comp_unit)
(dwarf2_mark, dwarf2_clear_marks, create_all_comp_units)
(load_comp_unit, dwarf2_find_comp_unit, free_one_comp_unit)
(set_dwarf2_cmdlist, show_dwarf2_cmdlist, set_dwarf2_cmd)
(show_dwarf2_cmd): New.
(_initialize_dwarf2_read): Provide "maint set dwarf2 max-cache-age"
and "maint show dwarf2 max-cache-age".
* gdbcmd.h (maintenance_set_cmdlist, maintenance_show_cmdlist): New
externs.
* maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): Make
global.
2004-09-20 22:26:21 +00:00
Eli Zaretskii
f7dc124454
* gdb.texinfo (Set Breaks): Add index entry for setting
...
breakpoints on overloaded C++ functions that are not members of
any classes. Add an example and an index entry for setting
breakpoints on all program functions.
(Character Sets, Macros, Overlay Commands)
(Non-debug DLL symbols, GDB/MI Output Syntax)
(Annotations Overview, Maintenance Commands, File-I/O Overview):
Use "(@value{GDBP})" instead of a literal "(gdb)".
2004-09-16 11:15:25 +00:00
Andrew Cagney
f810308bf8
2004-09-12 Andrew Cagney <cagney@gnu.org>
...
* target.c (target_info): Delete #ifdef call to FILES_INFO_HOOK.
Index: doc/ChangeLog
2004-09-12 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Native Debugging): Delete description of
FILES_INFO_HOOK.
2004-09-12 15:20:49 +00:00
Paul N. Hilfinger
15a661f391
* gdbint.texinfo (User Interface): Change local_hex_string_custom
...
to hex_string_custom (not historically correct, but more
understandable, given the current code).
2004-09-11 20:53:16 +00:00
Andrew Cagney
f3219c75e5
Index: ChangeLog
...
2004-09-03 Andrew Cagney <cagney@gnu.org>
* config/m68k/tm-linux.h (SVR4_SHARED_LIBS): Delete.
* config/i386/tm-linux64.h (SVR4_SHARED_LIBS): Delete.
* config/i386/nm-i386sco5.h (SVR4_SHARED_LIBS): Delete.
* config/tm-linux.h (SVR4_SHARED_LIBS): Delete.
* config/nm-sysv4.h (SVR4_SHARED_LIBS): Delete.
* config/nm-linux.h (SVR4_SHARED_LIBS): Delete.
* config/nm-gnu.h (SVR4_SHARED_LIBS): Delete.
* sh64-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper.
* sh-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper.
Index: doc/ChangeLog
2004-09-03 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Native Debugging): Delete SVR4_SHARED_LIBS.
2004-09-03 17:13:48 +00:00
Jeff Johnston
f3bb67042f
2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
...
* observer.texi (solib_unloaded): New observer.
2004-09-01 17:59:37 +00:00
Andrew Cagney
8d2c00cb73
2004-08-24 Andrew Cagney <cagney@gnu.org>
...
* gdbint.texinfo (Target Architecture Definition): Add missing
comma.
2004-08-24 19:58:24 +00:00
Michael Chastain
e7dc800a0c
2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
...
* (Using the Testsuite): build != host is supported,
but some test scripts do not support build != host.
2004-08-21 09:37:20 +00:00
Mark Kettenis
73b0368308
* gdbint.texinfo (Host Definition): Delete description of
...
FCLOSE_PROVIDED and GETENV_PROVIDED.
2004-08-14 21:11:43 +00:00
Joel Brobecker
4c525ef664
* doc/gdbint.texinfo (Host Definition): Remove documentation
...
for USE_O_NOCTTY, no longer used.
* config/xm-aix4.h (USE_O_NOCTTY): Remove, no longer used.
* config/rs6000/xm-rs6000.h (USE_O_NOCTTY): Likewise.
2004-08-11 22:23:05 +00:00
Mark Kettenis
c0ccb908a0
* infptrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of
...
!NO_SYS_FILE.
[KERNEL_U_ADDR_BSD]: Don't include <a.out.h>.
[KERNEL_U_ADDR_BSD] (kernel_u_addr): Remove variable.
(_initialize_kernel_u_addr): Remove prototype and function.
* infttrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of
!NO_SYS_FILE.
* xcoffread.c: Likewise.
2004-08-06 20:47:25 +00:00
Andrew Cagney
9c8dbfa937
2004-08-05 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (deprecated_frame_saved_pc): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* regcache.c (deprecated_read_fp, deprecated_write_sp): Delete.
* inferior.h (deprecated_read_fp, deprecated_write_sp): Delete.
* frame.h: Delete deprecated_read_fp from comments.
* arch-utils.c (deprecated_init_frame_pc_default): Delete.
* arch-utils.h (deprecated_init_frame_pc_default): Delete.
Index: doc/ChangeLog
2004-08-05 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Target Architecture Definition): Delete
reference to deprecated_read_fp.
2004-08-05 14:12:40 +00:00
Andrew Cagney
f42accbe77
2004-08-02 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (deprecated_register_bytes): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* regcache.c (deprecated_register_bytes): New function.
* regcache.h (deprecated_register_bytes): Declare.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sh64-tdep.c (sh64_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init_32082): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* remote.c (init_remote_state): Update.
* remote-vx.c (vx_prepare_to_store): Update.
* remote-sds.c (sds_fetch_registers, sds_prepare_to_store): Update.
* irix5-nat.c (fetch_core_registers): Update.
* cris-tdep.c (cris_register_bytes_ok): Update.
* config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update.
2004-08-03 02:02:24 +00:00
Eli Zaretskii
0b66e38cea
* defs.h (OPF_TRY_CWD_FIRST, OPF_SEARCH_IN_PATH): New macros.
...
* exec.c (exec_file_attach):
* nto-tdep.c (nto_find_and_open_solib):
* pa64solib.c (pa64_solib_sizeof_symbol_table):
* solib.c (solib_open):
* somsolib.c (som_solib_sizeof_symbol_table):
* source.c (is_regular_file, openp, open_source_file):
* symfile.c (symfile_bfd_open):
* wince.c (upload_to_device): Differentiate between the search for
binary and source files.
* gdb.texinfo (Source Path): Document the new behavior of
searching for the source files.
2004-07-30 19:23:54 +00:00
Eli Zaretskii
153872542a
(Edit): Fix markup of EDITOR and improve wording.
...
(Search, Expressions, Arrays, Variables, Data, Machine Code)
(Auto Display): Improve indexing.
2004-07-17 12:25:40 +00:00
Andrew Cagney
2c07db7ac0
Index: ChangeLog
...
2004-07-16 Andrew Cagney <cagney@gnu.org>
* defs.h (event_loop_p): Replace variable declaration with macro,
always 1.
* main.c (captured_main): Delete options "-async" and "-noasync".
(event_loop_p): Delete variable.
* NEWS: Mention that "-async" and "-noasync" were removed.
Index: doc/ChangeLog
2004-07-16 Andrew Cagney <cagney@gnu.org>
* gdb.texinfo (Mode Options): Delete documentation on "-async" and
"-noasync".
2004-07-17 03:25:11 +00:00
Eli Zaretskii
4644b6e36c
Fix @kindex entries so that multiple commands that
...
have the same prefix have only their prefix in the index.
2004-07-09 18:44:51 +00:00
Mark Kettenis
7561d4504f
* gdb.texinfo (BSD libkvm Interface): New node (section)
...
(Native): Add it to the menu.
2004-07-05 15:31:35 +00:00