aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
AgeCommit message (Collapse)AuthorFilesLines
2007-02-02(GDB/MI Miscellaneous Commands): Describe the newNick Roberts1-0/+44
command -enable-timings.
2007-02-02*** empty log message ***Nick Roberts1-0/+5
2007-02-02 * gdbint.texinfo (Operation System ABI Variant Handling): UpdateEli Zaretskii2-23/+64
descriptions for new/deleted elements in gdb_osabi. Add missing description for function generic_elf_osabi_sniff_abi_tag_sections.
2007-01-29 * gdb.texinfo (Maintenance Commands): Add documentation forJoel Brobecker2-0/+18
the new "maint print target-stack" command.
2007-01-26 * gdb.texinfo: Describe CHAR array vs. string identifcation rules.Jan Kratochvil2-0/+25
2007-01-26*** empty log message ***Eli Zaretskii1-0/+5
2007-01-26 * gdb.texinfo (Compilation, Files, Bootstrapping, Bug Reporting):Eli Zaretskii1-4/+4
Use @value{NGCC} instead of @value{GCC}.
2007-01-20 * agentexpr.texi: Fix typos.Eli Zaretskii7-75/+84
* annotate.texinfo: Likewise. * gdb.texinfo: Likewise. * gdbint.texinfo: Likewise. * observer.texi: Likewise. * stabs.texinfo: Likewise.
2007-01-20 * gdbint.texinfo (Support Libraries): Remove mmallocEli Zaretskii2-2/+8
entry. Describe readline library.
2007-01-11 * gdb.texinfo (GDB/MI Variable Objects): Improve theVladimir Prus1-26/+53
introduction. Specify -var-update more exactly.
2007-01-09XML feature description support.Daniel Jacobowitz2-2/+161
* 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-09Copyright updates for 2007.Daniel Jacobowitz1-2/+2
2007-01-08 * NEWS: Add "set sysroot" and "show sysroot".Daniel Jacobowitz2-29/+58
* 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-05 * gdb.texinfo (Set Catchpoints): Add documentation for the newJoel Brobecker2-0/+20
catch exception, catch exception unhandled, and catch assert commands.
2007-01-04 * memory-map.c (struct_memory_map_parsing_data): Remove mostDaniel Jacobowitz2-0/+10
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 * configure.ac (build_warnings): Use -Wall andDaniel Jacobowitz2-54/+29
-Wdeclaration-after-statement. * configure: Regenerated. * gdbint.texinfo (Compiler Warnings): Update for -Wall use.
2007-01-01 * gdbint.texinfo (Start of New Year Procedure): Add missing item.Joel Brobecker2-0/+8
2006-12-082006-12-08 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus2-0/+8
* gdb.texinfo (GDB/MI Variable Objects): Wrap historical note in @ignore, to be removed later if nobody complains.
2006-12-04(GDB/MI Variable Objects): Describe -c optionNick Roberts1-2/+3
of -var-delete.
2006-12-04*** empty log message ***Nick Roberts1-0/+5
2006-11-222006-11-22 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus2-0/+32
* 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-21 gdb/Vladimir Prus2-0/+25
* 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-16gdb/Daniel Jacobowitz2-3/+50
* 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-142006-11-14 Maxim Grigoriev <maxim@tensilica.com>Daniel Jacobowitz2-0/+9
* 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-14gdb/Daniel Jacobowitz2-130/+83
* 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-10gdb/Daniel Jacobowitz2-0/+40
* 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-10-31 * stabs.texinfo (Macro define and undefine): New node describingEli Zaretskii2-0/+76
stabs for #define and #undef.
2006-10-27 * gdbcmd.h (detachlist): Declare.Andreas Schwab2-3/+7
* 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-21 gdb.texinfo (Source Annotations): Fix index entries by addingEli Zaretskii2-32/+36
"annotation" to them, to discriminate from index entries that point to the more general topic descriptions.
2006-10-21(Breakpoints): Fix a typo.Eli Zaretskii1-1/+1
2006-10-21 * gdb.texinfo (Breakpoints, Set Watchpoints): Elaborate andEli Zaretskii2-8/+46
clarify on the possible meanings of ``expression'' watched by watchpoints. Add indexing.
2006-10-21(Backtrace): Fix a typo.Eli Zaretskii1-1/+1
2006-10-17gdb/Daniel Jacobowitz2-6/+59
* 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 * gdb.texinfo (ST2000): Use Ctrl- instead of C-.Bob Wilson2-1/+5
2006-10-15 * gdb.texinfo (Signals, Set Breaks, Set Watchpoints): Document optionalEli Zaretskii2-4/+13
arguments to `info signals' `handle', `info breakpoints', and `info watchpoints'.
2006-10-15 * gdb.texinfo (Sample Session, Invocation, Quitting GDB)Eli Zaretskii2-26/+36
(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-14 * gdb.texinfo (Backtrace): Fix last change.Eli Zaretskii2-1/+6
2006-10-14(Backtrace): Order correctly and add other cases.Nick Roberts1-1/+3
2006-10-14*** empty log message ***Nick Roberts1-0/+4
2006-10-10 * gdb.texinfo (Command Syntax, Connecting, Remote configuration,Bob Wilson2-13/+19
Renesas Boards, ST2000, TUI Keys, TUI Single Key Mode, TUI Commands, Emacs, Console I/O): Fix @key and @kbd usage.
2006-09-21 * gdb.texinfo (Packets): Document vFlashErase,Daniel Jacobowitz2-0/+165
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-21gdb/Daniel Jacobowitz2-3/+16
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-212006-09-21 Nathan Sidwell <nathan@codesourcery.com>Daniel Jacobowitz2-0/+179
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-17Fix grammar.Vladimir Prus1-1/+1
2006-09-17 * gdb.texinfo (GDB/MI Stack Manipulation): Mention thatVladimir Prus2-2/+12
-stack-list-arguments HIGH_FRAME argument can be larger then the actual number of frames.
2006-09-07Allow the HIGH-FRAME parameter for -stack-list-frames to be largerVladimir Prus2-1/+10
than the number of available frames.
2006-09-05 * gdb.texinfo (Packets, Stop Reply Packets, General Query Packets,Bob Wilson2-18/+23
Register Packet Format, Tracepoint Packets): Fix spelling errors.
2006-09-02 * gdbint.texinfo (Overall Structure): New section "Source TreeEli Zaretskii2-0/+53
Structure".
2006-08-17* gdb.texinfo (Stop Reply Packets): Note similarity of 'S' and 'T'Jim Blandy2-4/+12
responses.
2006-08-08 * gdb.texinfo (Source Path): Add documentation for newJoel Brobecker2-0/+107
substitute-path commands.