Pedro Alves
ad527d2e20
gdb/
...
* configure.tgt: Move mips*-*-pe and sh*-*-pe to
the obsoletion stanza.
* NEWS: Mention deleted targets.
* config/sh/tm-wince.h: Remove.
* config/sh/wince.mt: Remove.
* config/mips/tm-wince.h: Remove.
* config/mips/wince.mt: Remove.
* wince.c: Remove.
* wince-stub.c: Remove.
* wince-stub.h: Remove.
* Makefile.in (wince.o): Remove rule.
(wince-stub.o): Likewise.
* mips-tdep.c (mips_next_pc): Make static.
* mips-tdep.h (mips_next_pc): Remove declaration.
* arm-tdep.c (arm_pc_is_thumb): Make static.
(thumb_get_next_pc): Likewise.
(arm_get_next_pc): Likewise.
* arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration.
(arm_pc_is_thumb): Likewise.
(thumb_get_next_pc): Likewise.
(arm_get_next_pc): Likewise.
gdb/doc/
* gdb.texinfo (WinCE): Delete obsolete subsection.
2007-03-30 22:50:33 +00:00
Daniel Jacobowitz
7ce5900041
* MAINTAINERS: Remove d10v entry.
...
* Makefile.in (SFILES): Remove dwarfread.c.
(COMMON_OBS): Remove dwarfread.o.
(gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o)
(remote-est.o, rom68k-rom.o): Delete.
* NEWS: Mention removal of d10v, target abug, target cpu32bug,
target est, target rom68k, and DWARF 1.
* configure.tgt: Mark d10v as removed.
* dwarf2read.c: Doc update.
* elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset,
and lnsize.
(elf_locate_sections): Do not set them.
(elf_symfile_read): Do not call dwarf_build_psymtabs.
* symfile.h (dwarf_build_psymtabs): Delete prototype.
* config/m68k/monitor.mt (TDEPFILES): Prune.
* abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c,
remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete.
* gdb.texinfo (M68K): Remove obsolete ROM monitors.
* gdbint.texinfo (DWARF 1): Delete section and other dwarfread.c
references.
* gdb.asm/asm-source.exp: Remove d10v case.
* lib/gdb.exp (skip_cplus_tests): Likewise.
* gdb.asm/d10v.inc: Deleted.
2007-03-30 17:21:48 +00:00
Daniel Jacobowitz
8807d78bec
* Makefile.in (SFILES): Remove nlmread.c.
...
(COMMON_OBS): Remove nlmread.o.
(nlmread.o): Delete rule.
* README: Delete reference to remote-st.c.
* acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete.
* defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and
GDB_OSABI_LYNXOS.
* i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete.
(_initialize_i386_tdep): Do not reference them.
* nlmread.c: Delete file.
* osabi.c (gdb_osabi_names): Remove NetWare and LynxOS.
* target.c: Doc update.
* thread.c: Delete commented include.
* config/alpha/tm-alpha.h: Doc update.
* gdb.texinfo (Startup): Delete references to some alternate
names for .gdbinit.
(Thread): Remove LynxOS reference.
(Tandem ST2000): Delete target-specific documentation.
* gdbint.texinfo (Symbol Handling): Remove mention of NLM.
(Target Architecture Definition): Remove mention of GDB_OSABI_NETWARE
and GDB_OSABI_LYNXOS.
* config/netware.exp: Delete file.
2007-03-30 12:57:44 +00:00
Bob Wilson
ae21e95527
* gdb.texinfo (Omissions from Ada, Additions to Ada): Wrap long lines.
2007-03-26 21:28:20 +00:00
Bob Wilson
3f94c0676f
* gdb.texinfo (Invoking GDB): Use @value{GDBP}.
...
(Source Path, Character Sets, Macros, Define)
(GDB/MI Result Records, GDB/MI Simple Examples)
(GDB/MI Program Execution, GDB/MI File Commands)
(Maintenance Commands, Packets, File-I/O Overview): Use @value{GDBN}.
(Bug Reporting): Use @value{GCC}.
2007-03-26 15:51:17 +00:00
Bob Wilson
12c2766001
* gdb.texinfo (Help): Fix formatting of examples.
...
(Variables): Use @ifnotinfo instead of @iftex.
(Non-debug DLL symbols): Use @ref instead of @pxref.
(Sparclet File): Use @samp instead of quotes.
2007-03-26 15:49:46 +00:00
Bob Wilson
ce9341a190
* gdb.texinfo (Variables, C): Update cross reference to GCC docs.
2007-03-26 15:43:40 +00:00
Bob Wilson
c8f4133a0e
* gdb.texinfo (Top): Move TUI and Annotations menu entries to match
...
the order of the nodes.
(C Operators, C Constants, Debugging C): Remove extra menus.
(Method Names in Commands): Do not specify next/prev/up nodes.
2007-03-26 15:41:43 +00:00
Bob Wilson
d52fb0e920
* gdb.texinfo (File Options): Add missing parenthesis.
...
(Breakpoints, Special Fortran commands, PowerPC): Fix typos.
2007-03-26 15:39:15 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
7a9a6b69e4
(GDB/MI Development and Front Ends): Use sourceware.org for mailing lists.
2006-06-01 23:40:50 +00:00
Nick Roberts
af6eff6f33
(GDB/MI Development and Front Ends): New Node.
2006-05-31 21:55:46 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
6b5e8c0119
(Mode Options): Fix typo.
...
(GDB/MI): Describe how to invoke GDB/MI.
2005-04-16 20:56:20 +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
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
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
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
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
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
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
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
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
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
Michael Chastain
e0c07bf008
2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
...
gdb.texinfo (Bug Reporting): Mention session recording,
with the script command or Emacs.
2004-06-19 17:33:44 +00:00
Andrew Cagney
03727ca61a
2004-06-14 Andrew Cagney <cagney@gnu.org>
...
Based on changes from Karl Berry.
* gdb.texinfo: Do not use @sc in a direntry.
* stabs.texinfo: Change @dircateogry to "Software development".
* gdbint.texinfo, gdb.texinfo, annotate.texinfo: Ditto.
2004-06-14 22:26:34 +00:00
Bob Rossi
57c22c6ce1
Add the -file-list-exec-source-files command to MI.
2004-06-10 20:05:45 +00:00
Joel Brobecker
4e8b076386
* gdb.texinfo (Starting): Document new start command.
2004-05-24 23:53:58 +00:00
Andrew Cagney
2b4855ab6b
2004-05-07 Andrew Cagney <cagney@redhat.com>
...
* observer.c: Include "commands.h" and "gdbcmd.h".
(observer_debug, _initialize_observer): Add the
command "set/show debug observer".
* observer.sh: When observer debugging, log notify calls.
* Makefile.in (observer.o): Update dependencies.
Index: doc/ChangeLog
2004-05-07 Andrew Cagney <cagney@redhat.com>
* observer.texi (GDB Observers): Add "Debugging" section. Include
cross reference to "set/show debug observer".
* gdb.texinfo (Debugging Output): Document "set/show debug
observer".
2004-05-07 22:51:55 +00:00
Stephane Carrez
6a1b180db4
* gdb.texinfo (TUI Commands): Document tui reg commands.
2004-03-28 12:22:55 +00:00
Andrew Cagney
d0d5df6f7d
2004-03-26 Andrew Cagney <cagney@redhat.com>
...
* gdb.texinfo (TUI): Delete reference to --enable-tui. Mention
"gdbtui".
(Mode Options): Mention "gdbtui". Use "Text" not "Terminal".
(Contributors): Mention both Text and Terminal User Interface.
2004-03-26 16:15:57 +00:00
Daniel Jacobowitz
701b08bb0b
* gdb.texinfo (Debugging Output): Document values for "set debug
...
target".
2004-03-09 16:16:35 +00:00
Andrew Cagney
faae5abe9a
2004-02-28 Andrew Cagney <cagney@redhat.com>
...
* NEWS: Refer to GDB 6.1.
* README: Refer to GDB 6.1.
* PROBLEMS: Refer to GDB 6.1.
Index: doc/ChangeLog
2004-02-28 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Contributors): Mention GDB 6.1 release engineer.
2004-02-29 02:57:24 +00:00
Jeff Johnston
dd79a6cf0b
2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.texinfo (breakpoints): Add information about the
new "set breakpoint pending" and "show breakpoint pending"
commands.
2004-02-26 23:21:23 +00:00
Roland McGrath
649e03f6e4
2004-02-25 Roland McGrath <roland@redhat.com>
...
* gdb.texinfo (General Query Packets): Document qPart:... packets.
2004-02-25 19:35:30 +00:00
Andrew Cagney
2154891a10
2004-02-24 Andrew Cagney <cagney@redhat.com>
...
* annotate.texinfo: Wrap fdl.texi include in raise/lower sections.
* gdb.texinfo, gdbint.texinfo, stabs.texinfo: Ditto.
* fdl.texi: Import Version 1.2, November 2002.
2004-02-24 15:41:29 +00:00
Andrew Cagney
6c74ac8bb4
2004-02-17 Andrew Cagney <cagney@redhat.com>
...
* gdb.texinfo (Mode Options): Note that "mi1" is deprecated.
2004-02-17 14:54:32 +00:00
Elena Zannoni
49efadf5a0
2004-02-12 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.texinfo: Properly quote the name "C++".
* gdbint.texinfo: Ditto.
* stabs.texinfo: Ditto.
2004-02-12 17:46:40 +00:00
Michael Chastain
e4937fc1bb
2004-02-06 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.texinfo (Auxiliary Vector): Fix thinko with @value{GDBN}.
2004-02-06 15:48:25 +00:00
Roland McGrath
b383017de0
2004-02-04 Roland McGrath <roland@redhat.com>
...
* gdb.texinfo (Auxiliary Vector): New node (section).
(Data): Add it to the menu.
2004-02-04 23:24:43 +00:00
Jeff Johnston
2650777c07
2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.texinfo (Breakpoints): Add information about pending
breakpoint support.
2004-02-02 21:07:53 +00:00
Andrew Cagney
b450112530
Index: ChangeLog
...
2004-01-26 Andrew Cagney <cagney@redhat.com>
* remote.c (echo_check, quit_flag): Delete variables.
(cisco_kernel_mode): Delete variable.
(minitelnet_return, tty_input, escape_count): Delete variables.
(remote_cisco_mode): Delete variable.
(remote_cisco_open, remote_cisco_close): Delete function.
(remote_cisco_mourn, remote_cisco_wait): Delete function.
(init_remote_cisco_ops): Delete function.
(_initialize_remote): Do not install "remote cisco" code.
(read_frame): Delete cisco specific code.
(remote_info_process): Delete function.
(remote_wait): Delete cisco specific code.
(remote_cisco_section_offsets): Delete function.
(remote_cisco_objfile_relocate): Delete function.
(remote_async_wait): Delete cisco specific code.
(minitelnet, readtty, readsocket): Delete function.
Index: doc/ChangeLog
2004-01-26 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Overview): Delete references to the cisco protocol
including the "N" response.
2004-01-26 23:07:01 +00:00
Eli Zaretskii
3bbe969674
* gdb.texinfo (KOD): Document "show os". Add index entries for
...
"set/show os" and "info cisco" commands.
2004-01-24 11:37:29 +00:00
Nick Roberts
bc8ced35b3
(GDB/MI Stack Manipulation): Describe extension to -stack-list-locals.
...
(GDB/MI Variable Objects): Describe extension to -var-list-children.
2004-01-20 00:50:05 +00:00
Daniel Jacobowitz
b51970ac88
* gdb.texinfo: Update copyright year. Mention that set
...
follow-fork-mode is supported on GNU/Linux. Remove documentation
of "set follow-fork-mode ask".
2004-01-13 21:31:07 +00:00
Jason Molenda
c552b3bb47
2004-01-08 Jason Molenda <jmolenda@apple.com>
...
Eli Zaretskii <eliz@is.elta.co.il>
* gdb.texinfo: Update copyright.
(Objective-C): "methodName" typeo fixed. Add @code/@var markup
around names, as appropriate. Minor syntax cleanup of
_NSPrintForDebugger explanation. Two spaces after periods.
GDBN used instead of lit. "gdb". Index entries added for
print-object and _NSPrintForDebugger. @noindent added in one spot.
2004-01-08 22:47:00 +00:00
Jim Blandy
1d8b2f281d
* gdb.texinfo (The F request packet, The F reply packet): Renamed
...
from "The `F' request packet" and "The `F' reply packet", to make
texi2dvi happy.
(File-I/O remote protocol extension): Update menu entries, too.
2003-10-28 22:04:47 +00:00
Michael Chastain
36d86913b5
2003-10-26 Michael Chastain <mec@shout.net>
...
* gdb.texinfo (Thread Stops): Document the issue with
premature return from system calls in multi-threaded programs.
2003-10-27 13:59:08 +00:00
Kazuhiro Inaoka
f24c5e49d7
2003-10-23 Kei Sakamoto <sakamoto.kei@renesas.com>
...
* gdb.texinfo (Contributors to GDB): Replace "Renesas"
with "Hitachi" and "Mitsubishi".
2003-10-23 00:11:59 +00:00
Kazuhiro Inaoka
fb3e19c03f
2003-10-16 Kei Sakamot Sakamoto <sakamoto.kei@renesas.com>
...
* gdb.texinfo (M32R/D): Mention m32rsdi target.
2003-10-16 02:33:46 +00:00
Kevin Buettner
e4d5f7e1d9
* gdb.texinfo (Breakpoints related warnings): Insert into menu.
2003-10-15 17:55:02 +00:00
Kevin Buettner
1485d690a8
* gdb.texinfo (Breakpoint related warnings): New node.
...
* gdbint.texinfo (ADJUST_BREAKPOINT_ADDRESS): Document.
2003-10-14 20:23:29 +00:00
Daniel Jacobowitz
86d30acc85
* gdb.texinfo (Remote Protocol): Document v and vCont.
2003-10-13 16:11:57 +00:00
Kazuhiro Inaoka
172c2a4375
2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
...
* gdb.texinfo: Replace "Hitachi" and "Mitsubishi" with "Renesas".
* gdbint.texinfo: Ditto.
2003-10-10 07:08:53 +00:00
Andrew Cagney
71952f4c7e
2003-10-09 Andrew Cagney <cagney@redhat.com>
...
From 2003-09-18 David Anderson <davea@sgi.com>:
* gdb.texinfo (GDB/MI Symbol Query): Replace "comamnd" with
"command".
2003-10-10 02:13:07 +00:00
Andrew Cagney
12c266ea56
2003-10-02 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_REGISTER_RAW_SIZE): Rename
REGISTER_RAW_SIZE.
* gdbarch.h, gdbarch.c: Re-generate.
* aix-thread.c, alpha-tdep.h, arm-tdep.c, core-sol2.c: Update.
* cris-tdep.c, dve3900-rom.c, findvar.c, frame.c: Update.
* hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update.
* hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update.
* ia64-linux-nat.c, ia64-tdep.c, infcmd.c, infptrace.c: Update.
* infrun.c, irix5-nat.c, lynx-nat.c, mips-linux-tdep.c: Update.
* mips-nat.c, mips-tdep.c, mipsv4-nat.c, mn10300-tdep.c: Update.
* monitor.c, ns32k-tdep.c, ppc-linux-nat.c, regcache.c: Update.
* remote-e7000.c, remote-mips.c, remote-sim.c: Update.
* remote-vxmips.c, remote-vxsparc.c, remote.c: Update.
* rom68k-rom.c, rs6000-nat.c, rs6000-tdep.c, s390-tdep.c: Update.
* sh64-tdep.c, sparc-nat.c, sparc-tdep.c, stack.c: Update.
* target.c, tracepoint.c, v850-tdep.c, v850ice.c, valops.c: Update.
* vax-tdep.c, vax-tdep.h, x86-64-tdep.c, xstormy16-tdep.c: Update.
* config/m68k/tm-delta68.h, config/m68k/tm-vx68.h: Update.
* config/sparc/tm-sparc.h, config/sparc/tm-sparclynx.h: Update.
2003-10-02 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Rename
REGISTER_RAW_SIZE to DEPRECATED_REGISTER_RAW_SIZE.
* gdb.texinfo (Packets, Stop Reply Packets): Ditto.
* gdbint.texinfo (Target Architecture Definition): Rename
2003-10-02 Andrew Cagney <cagney@redhat.com>
* mi-main.c: Rename REGISTER_RAW_SIZE to
DEPRECATED_REGISTER_RAW_SIZE.
2003-10-02 20:28:31 +00:00
Andrew Cagney
25d29d7093
2003-08-09 Andrew Cagney <cagney@redhat.com>
...
Fix GDB PR cli/926.
* cli/cli-decode.c (add_setshow_uinteger_cmd): New function.
* command.h (add_setshow_uinteger_cmd): Declare.
* frame.c (set_backtrace_cmd): New function.
(show_backtrace_cmd): New function.
* frame.c (_initialize_frame): Replace "set/show
backtrace-below-main" with "set/show backtrace past-main". Add
command "set/show backtrace limit".
(backtrace_past_main): Rename "backtrace_below_main".
(backtrace_limit): New variable.
(get_prev_frame): Update. Check the backtrace_limit.
2003-08-09 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Backtrace): Replace "set/show backtrace-below-main"
with "set/show backtrace past-main" and "set/show backtrace
limit".
Index: doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.174
diff -u -r1.174 gdb.texinfo
--- doc/gdb.texinfo 8 Aug 2003 01:58:00 -0000 1.174
+++ doc/gdb.texinfo 9 Aug 2003 14:57:10 -0000
@@ -3922,27 +3922,40 @@
value, indicating that your program has stopped at the beginning of the
code for line @code{993} of @code{builtin.c}.
-@kindex set backtrace-below-main
-@kindex show backtrace-below-main
+@kindex set backtrace past-main
+@kindex show backtrace past-main
+@kindex set backtrace limit
+@kindex show backtrace limit
-Most programs have a standard entry point---a place where system libraries
-and startup code transition into user code. For C this is @code{main}.
-When @value{GDBN} finds the entry function in a backtrace it will terminate
-the backtrace, to avoid tracing into highly system-specific (and generally
-uninteresting) code. If you need to examine the startup code, then you can
-change this behavior.
+Most programs have a standard user entry point---a place where system
+libraries and startup code transition into user code. For C this is
+@code{main}. When @value{GDBN} finds the entry function in a backtrace
+it will terminate the backtrace, to avoid tracing into highly
+system-specific (and generally uninteresting) code.
+
+If you need to examine the startup code, or limit the number of levels
+in a backtrace, you can change this behavior:
@table @code
-@item set backtrace-below-main off
+@item set backtrace past-main
+@itemx set backtrace past-main on
+Backtraces will continue past the user entry point.
+
+@item set backtrace past-main off
Backtraces will stop when they encounter the user entry point. This is the
default.
-@item set backtrace-below-main
-@itemx set backtrace-below-main on
-Backtraces will continue past the user entry point to the top of the stack.
+@item show backtrace past-main
+Display the current user entry point backtrace policy.
+
+@item set backtrace limit @var{n}
+@itemx set backtrace limit 0
+@cindex backtrace limit
+Limit the backtrace to @var{n} levels. A value of zero means
+unlimited.
-@item show backtrace-below-main
-Display the current backtrace policy.
+@item show backtrace limit
+Display the current limit on backtrace levels.
@end table
@node Selection
2003-08-09 15:10:09 +00:00
Andrew Cagney
64fabec204
2003-08-07 Andrew Cagney <cagney@redhat.com>
...
Patch from Nick Roberts.
* gdb.texinfo (Using GDB under GNU Emacs): Fix/update key
bindings. Remove description of send-gdb-command.
2003-08-08 01:58:00 +00:00
Andrew Cagney
2fcf52f0db
Index: ChangeLog
...
2003-08-07 Andrew Cagney <cagney@redhat.com>
* interps.h (INTERP_MI2, INTERP_MI3): Define.
Index: doc/ChangeLog
2003-08-07 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Mode Options): Mention that "mi2" was included in
GDB 6.0.
Index: mi/ChangeLog
2003-08-07 Andrew Cagney <cagney@redhat.com>
* mi-interp.c (_initialize_mi_interp): Register "mi2" and "mi3".
Make "mi" select "mi2".
Index: testsuite/gdb.mi/ChangeLog
2003-08-07 Andrew Cagney <cagney@redhat.com>
* mi2-basics.exp: Copy base MI .exp file, set MIFLAGS to -i=mi2.
* mi2-break.exp, mi2-cli.exp, mi2-console.exp: Ditto.
* mi2-disassemble.exp, mi2-eval.exp, mi2-file.exp: Ditto.
* mi2-hack-cli.exp, mi2-pthreads.exp, mi2-read-memory.exp: Ditto.
* mi2-regs.exp, mi2-return.exp, mi2-simplerun.exp: Ditto.
* mi2-stack.exp, mi2-stepi.exp, mi2-syn-frame.exp: Ditto.
* mi2-until.exp, mi2-var-block.exp, mi2-var-child.exp: Ditto.
* mi2-var-cmd.exp, mi2-var-display.exp, mi2-watch.exp: Ditto.
2003-08-07 17:47:42 +00:00
Andrew Cagney
086432e254
2003-08-06 Andrew Cagney <cagney@redhat.com>
...
* gdb.texinfo (Mode Options): Mention that level three is the
highest available and that level 2 is deprecated.
(Annotations Overview): Mention annotation levels. Cross reference
to "Limitations of the Annotation Interface" in annotate.texi.
(TODO, Value Annotations, Frame Annotations): Delete section.
(Displays, Breakpoint Info): Delete.
2003-08-06 15:13:10 +00:00
Stephane Carrez
72ffddc928
* gdb.texinfo (TUI Keys): Document C-x o key to switch active window.
2003-07-26 07:38:54 +00:00
Daniel Jacobowitz
b1fe945553
* gdb.texinfo (Server): Mention pidof.
2003-07-24 18:55:04 +00:00
Daniel Jacobowitz
0fac0b4199
./
...
* cli/cli-logging.c: New file.
* cli-out.c (struct ui_out_data): Add original_stream.
(cli_redirect): New function.
(cli_ui_out_impl): Add cli_redirect.
(cli_out_new): Initialize original_stream.
* ui-out.c (default_ui_out_impl): Add NULL for redirect member.
(uo_redirect, ui_out_redirect): New.
* ui-out.h (struct ui_out_impl): Add redirect member.
(redirect_ftype): New.
(ui_out_redirect): Add prototype.
* Makefile.in: Add rules for cli-logging.c.
* NEWS: Mention "set logging".
mi/
* mi-out.c (mi_ui_out_impl): Add NULL for redirect member.
tui/
* tui-out.c (tui_ui_out_impl): Add NULL for redirect member.
doc/
* gdb.texinfo (Logging output): New chapter.
2003-06-28 16:19:07 +00:00
Joel Brobecker
4e562065db
* gdb.texinfo (Unsupported languages): New section.
...
(Languages): Add link to new section.
2003-06-24 21:59:37 +00:00
Andrew Cagney
f2c06f5281
2003-06-22 Andrew Cagney <cagney@redhat.com>
...
GDB 6.0 branch created.
* README: Update.
* PROBLEMS: Update. Empty.
* NEWS: Update.
Index: doc/ChangeLog
2003-06-22 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Contributors): Mention 6.0 release engineer.
2003-06-23 03:28:14 +00:00
Daniel Jacobowitz
f418dd93a8
* Makefile.in (SFILES_INCLUDED): Add agentexpr.texi.
...
* agentexpr.texi: Retitle section, and change it to an appendix.
Comment out texinfo initialization. Factor a @var{} into two
pieces to prevent makeinfo warnings.
* gdb.texinfo: Add Agent Expressions appendix.
2003-06-22 04:27:24 +00:00
Daniel Jacobowitz
07f31aa6dc
* gdb.texinfo (Remote Debugging): New section "Connecting to a
...
remote target". Document the "detach" and "disconnect" commands.
(Server, Netware, Debug Session): Reference "Connecting to a
remote target".
(GDB/MI Target Manipulation): Document "-target-disconnect".
2003-06-19 01:31:47 +00:00
Jim Blandy
e7a3abfc27
* gdb.texinfo (Separate Debug Files): Remove extra semicolon.
2003-06-09 21:12:19 +00:00
Adam Fedor
b37303eefd
* gdb.texinfo: Add Objective-C documentation.
2003-06-08 02:09:12 +00:00
Jim Blandy
df5215a60c
* gdb.texinfo (Dump/Restore Files): Update documentation for
...
'dump', 'append', and 'restore': note that format argument is
optional; simplify presentation of the command variants; and be
more precise about the formats.
2003-05-08 21:33:49 +00:00
Jim Blandy
5e7b2f395e
gdb/ChangeLog:
...
Rename commands 'maint list symtabs' and 'maint list psymtabs' to
'maint info symtabs' and 'maint info psymtabs'.
* symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs):
Renamed from maintenance_list_symtabs and maintenance_list_psymtabs.
* symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs):
Declarations updated.
* maint.c (maintenance_list_command): Delete.
(_initialize_maint_cmds): Update calls to add_cmd.
* gdbcmd.h (maintenancelistlist): Delete declaration.
* cli/cli-cmds.c (maintenancelistlist): Delete.
(init_cmd_lists): Don't initialize it.
* cli/cli-cmds.h (maintenancelistlist): Delete declaration.
gdb/doc/ChangeLog:
* gdb.texinfo (Symbols): Update documentation: 'maint list
symtabs' and 'maint list psymtabs' have been renamed 'maint info
symtabs' and 'maint info psymtabs'.
2003-05-07 21:42:48 +00:00
Andrew Cagney
00905d52fe
Index: testsuite/ChangeLog
...
2003-05-05 Andrew Cagney <cagney@redhat.com>
* gdb.base/maint.exp: Add tests for "maint print dummy-frames".
Index: doc/ChangeLog
2003-05-05 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Maintenance Commands): Document "maint print
dummy-frames".
2003-05-05 Andrew Cagney <cagney@redhat.com>
* dummy-frame.c: Include "command.h" and "gdbcmd.h".
(fprint_dummy_frames): New function.
(maintenance_print_dummy_frames): New function.
(_initialize_dummy_frame): Add command "maint print dummy-frames".
* frame.c (fprint_frame_id): Make global.
* frame.h (fprint_frame_id): Declare.
* Makefile.in (dummy-frame.o): Update dependencies.
2003-05-05 18:33:11 +00:00
Andrew Cagney
54ff590850
2003-05-04 Andrew Cagney <cagney@redhat.com>
...
* gdb.texinfo (GDB/MI Symbol Query): Use @{ and @}.
2003-05-04 16:44:25 +00:00
Joel Brobecker
32e7087da9
From Thierry Schneider <tpschneider1@yahoo.com>:
...
* gdb.texinfo (section GDB/MI Symbol Query): Add documentation
for new MI command.
2003-05-04 04:02:07 +00:00
Elena Zannoni
e33d66ec21
gdb:
...
2003-05-02 Elena Zannoni <ezannoni@redhat.com>
* charset.c (GDB_DEFAULT_TARGET_CHARSET,
GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file.
(host_charset_name, target_charset_name): New vars for use by
set/show commands.
(host_charset_enum, target_charset_enum): New enums for set/show
commands.
(set_charset_sfunc, set_host_charset_sfunc,
set_target_charset_sfunc): New functions.
(set_host_charset, set_target_charset): Make static.
(list_charsets, set_host_charset_command,
set_target_charset_command): Delete functions.
(show_charset_command): Rewrite as....
(show_charset): Hook this up with the set/show command mechanism.
(_initialize_charset): Change names of charsets to match the
set/show enums. Use host_charset_name and target_charset_name.
Use set/show mechanism for charset, host-charset, target-charset
commands. Do not make 'show host-charset' and 'show
target-charset' be aliases of 'show charset'.
* charset.h (set_host_charset, set_target_charset): Don't export,
they are not used outside the file.
gdb/testsuite:
2003-05-01 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/charset.exp: Update based on new behavior of set/show
charset commands.
gdb/doc:
2003-05-02 Elena Zannoni <ezannoni@redhat.com>
* gdb.texinfo (Character Sets): Update to reflect new behavior of
set/show charsets commands.
2003-05-02 14:23:39 +00:00
Jim Blandy
44ea7b70f9
gdb/ChangeLog:
...
2003-04-10 Jim Blandy <jimb@redhat.com>
* symmisc.c: #include "gdb_regex.h".
(maintenance_list_symtabs, maintenance_list_psymtabs): New
functions.
* maint.c (maintenance_list_command): New function.
(_initialize_maint_cmds): Register the above as commands.
* symtab.h (maintenance_list_symtabs,
maintenance_list_psymtabs): New declarations.
* cli/cli-cmds.c (maintenancelistlist): New variable.
(init_cmd_lists): Initialize it.
* cli/cli-cmds.h (maintenancelistlist): New declaration.
* gdbcmd.h (maintenancelistlist): New declaration.
* Makefile.in (symmisc.o): Update dependencies.
gdb/doc/ChangeLog:
2003-04-09 Jim Blandy <jimb@redhat.com>
* gdb.texinfo (Symbols): Document 'maint list symtabs' and 'maint
list psymtabs'.
2003-04-14 18:42:28 +00:00
Bob Rossi
1abaf70c94
Adding -file-list-exec-source-file command to MI
2003-04-02 22:10:35 +00:00
Andrew Cagney
922fbb7b53
Index: doc/ChangeLog
...
2003-03-27 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (GDB/MI Variable Objects): Replace @include with
chapter body. Use @smallexample instead of @example.
(Annotations): Ditto.
* Makefile.in (GDB_DOC_SOURCE_INCLUDES): Remove gdbmi.texinfo and
annotate.texi.
Index: mi/ChangeLog
2003-03-27 Andrew Cagney <cagney@redhat.com>
* gdbmi.texinfo: Delete file. Contents moved to
../doc/gdb.texinfo.
2003-03-27 15:17:35 +00:00
Andrew Cagney
9fe8321b99
2003-03-17 Andrew Cagney <cagney@redhat.com>
...
* gdb.texinfo (DATE): Delete. Remove date from titles. Mention
that GNU Press update the manual version number.
2003-03-17 14:46:35 +00:00
Corinna Vinschen
0ce1b11887
* gdb.texinfo: Add File-I/O documentation.
2003-03-10 17:11:39 +00:00
Andrew Cagney
7453dc06bc
2003-03-07 Andrew Cagney <cagney@redhat.com>
...
* gdb.texinfo (Debugging Output): Mention the "set/show debug
frame" command.
2003-03-07 23:43:26 +00:00
Daniel Jacobowitz
f12122454e
* gdb.texinfo (Configuring the current ABI): Document "set cp-abi"
...
and "show cp-abi".
2003-03-05 18:01:35 +00:00
Christopher Faylor
be44867042
* gdb.texinfo (Cygwin Native): Links to Non-debug DLL symbols.
...
(Non-debug DLL symbols): New node, describing the minimal symbols loaded from
DLLs without real debugging symbols.
2003-02-23 22:19:48 +00:00