aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
AgeCommit message (Collapse)AuthorFilesLines
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.
2006-08-08gdb/Daniel Jacobowitz2-8/+47
* 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-08gdb/Daniel Jacobowitz2-16/+8
* 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-02 * stabs.texinfo (Member Type Descriptor): Correct example forDaniel Jacobowitz2-3/+8
pointer to member types.
2006-07-212006-07-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-1/+28
* 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-12gdb/Daniel Jacobowitz2-95/+145
* 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-05gdb/Daniel Jacobowitz2-61/+5
* 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-01 * gdb.texinfo (GDB/MI Output Syntax, GDB/MI Simple Examples)Eli Zaretskii2-204/+215
(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-06-30(GDB/MI Compatibility with CLI): Qualify more carefully.Nick Roberts1-1368/+1284
(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*** empty log message ***Nick Roberts1-0/+15
2006-06-21gdb/Daniel Jacobowitz2-0/+140
* 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-13 gdb/Nathan Sidwell1-5/+7
* 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-10Copy edit File-I/O section of manualSandra Loosemore2-284/+335
2006-06-09(GDB/MI): Remove duplicate acknowledgements.Nick Roberts1-357/+372
(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*** empty log message ***Nick Roberts1-0/+19
2006-06-09(Symbols): Fix "(gdb)"=>"(@value{GDBP})".Eli Zaretskii2-1/+5
2006-06-02(GDB/MI File Commands): New node split from Program Control.Nick Roberts1-0/+7
2006-06-02*** empty log message ***Nick Roberts1-2/+2
2006-06-02*** empty log message ***Nick Roberts1-0/+1
2006-06-01(GDB/MI Development and Front Ends): Use sourceware.org for mailing lists.Nick Roberts1-2/+2
2006-06-01*** empty log message ***Nick Roberts1-0/+5
2006-05-31(GDB/MI Development and Front Ends): New Node.Nick Roberts1-1/+55
2006-05-31*** empty log message ***Nick Roberts1-0/+4