Paul Brook
6e3bbd1ac6
2007-04-13 Paul Brook <paul@codesourcery.com>
...
* target-descriptions.c (tdesc_named_type): Add ieee_single and
ieee_double.
* doc/gdb.texinfo: Document ieee_single and ieee_double target types.
2007-04-13 15:07:15 +00:00
Daniel Jacobowitz
ea35711cf6
* mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,
...
remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h,
scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c,
ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete.
* Makefile.in: Remove references to deleted files.
* README: Do not mention deleted ROM monitor interfaces.
* defs.h (enum language): Delete language_scm.
* expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING.
(dump_subexp_body_standard): Likewise.
* parse.c (operator_length_standard): Likewise.
* expression.h (enum exp_opcode): Delete OP_EXPRSTRING.
* remote-mips.c: Do not include remote-utils.h.
* remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug
throughout.
* value.c: Do not include scm-lang.h.
(unpack_long): Delete scm_unpack call.
* config/h8300/h8300.mt, config/mips/embed.mt,
config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt,
config/sh/embed.mt, config/sh/linux.mt: Remove references to
deleted files.
* NEWS: Mention removed files.
* gdb.texinfo (Memory): Reference Remote Debugging chapter.
(Character Sets, Caching Data of Remote Targets): Likewise.
(Targets): Delete Remote node. Move its text...
(Debugging Remote Programs): ...to here. Delete description
of the "remote" command.
(Remote configuration): Delete description of "set remotedevice"
and "show remotedevice".
(Embedded Processors): Delete H8/300, H8/500, and SH nodes.
2007-04-13 14:17:47 +00:00
Bob Wilson
db2e3e2ee2
* gdb.texinfo (Contributors, Continuing and Stepping)
...
(Fortran Defaults, HPPA, TUI, TUI Commands, Configure Options)
(General Query Packets, File-I/O Remote Protocol Extension)
(Protocol Basics, The F Reply Packet, Write)
(Protocol-specific Representation of Datatypes, Memory Transfer):
Fix hyphenation, punctuation and grammar problems.
(Cygwin Native): Likewise. Also fix misuse of @pxref and use
'section' instead of 'subsection' in the text.
(Non-debug DLL Symbols): Avoid 'subsubsection' in the text.
(i386): Remove period from section name.
(Installing GDB, Requirements, Running Configure, Separate Objdir)
(Config Names, Configure Options): Use @file{configure}.
2007-04-11 18:52:01 +00:00
Steve Ellcey
58b38ee2f1
* configure.ac (build_warnings): Add -Wno-char-subscripts.
...
* configure: Regenerate.
* doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts.
2007-04-11 18:36:50 +00:00
Daniel Jacobowitz
8a3dae3ed0
* gdbint.texinfo (Writing Tests): Mention gdb_test_multiple
...
and tab expansion.
2007-04-11 11:11:12 +00:00
Daniel Jacobowitz
1a92f85678
* Makefile.in (SFILES): Remove hpacc-abi.c.
...
(COMMON_OBS): Remove hpacc-abi.o.
(ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE).
(hpacc-abi.o, hpread.o): Delete rules.
* somread.c: Delete extern declarations from hpread.c.
(som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs.
(som_symfile_finish): Do not call hpread_symfile_finish.
(som_symfile_init): Do not call hpread_symfile_init.
* config/pa/hppa64.mt (TDEPFILES): Remove hpread.o.
* config/pa/hppahpux.mt (TDEPFILES): Likewise.
* hpacc-abi.c, hpread.c: Deleted.
* gdbint.texinfo (SOM): Correct location of the SOM reader.
2007-04-10 11:58:15 +00:00
Bob Wilson
79a6e687bf
* gdb.texinfo: Consistently capitalize all significant words in
...
node names, chapter titles, section titles, and headings. Update
cross references to match.
(Starting and Stopping Trace Experiment): Make node name plural.
(Breakpoint related warnings): Hyphenate "Breakpoint-related".
2007-04-02 17:31:40 +00:00
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
Ulrich Weigand
5f4026606b
gdb/ChangeLog:
...
* config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove.
* config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
* config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
* config/powerpc/nm-ppc64-linux.h: Remove file.
* config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h.
* inferior.h (PTRACE_ARG3_TYPE): Do not define.
(call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3.
* infptrace.c (call_ptrace): Likewise.
* m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define.
(fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3
and PTRACE_XFER_TYPE by PTRACE_TYPE_RET.
(store_register): Likewise.
gdb/doc/ChangeLog:
* gdbint.texi (Native Conditionals): Remove PTRACE_ARG3_TYPE.
2007-03-30 01:18:17 +00:00
Ulrich Weigand
bac718a627
* config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT,
...
DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove.
* remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT,
DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT.
* sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint
sequence if target_shortname is "remote".
doc/ChangeLog:
* gdbint.texinfo (Target Conditionals): Remove mention of
DEPRECATED_REMOTE_BREAKPOINT, DEPRECATED_BIG_REMOTE_BREAKPOINT,
and DEPRECATED_LITTLE_REMOTE_BREAKPOINT.
2007-03-27 19:11:11 +00:00
Daniel Jacobowitz
9453113a8d
Add "make pdf" and "make install-pdf", from Brooks Moses
...
<brooks.moses@codesourcery.com>.
2007-03-27 18:09:36 +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
994337c364
*** empty log message ***
2007-02-18 08:03:18 +00:00
Nick Roberts
36ece8b31d
(GDB/MI Variable Objects): Describe meanings of
...
values for in_scope. Mention that only root variables can be
updated.
(GDB/MI Development and Front Ends): Explain new values may be
added to existing fields.
2007-02-12 23:53:02 +00:00
Nick Roberts
eb819d7017
*** empty log message ***
2007-02-12 23:51:46 +00:00
Daniel Jacobowitz
123dc83914
* Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
...
(xml-tdesc.o): Update.
* xml-support.c: Add a comment.
(gdb_xml_enums_boolean): New variable.
(gdb_xml_parse_attr_enum): Use strcasecmp.
* xml-support.h (gdb_xml_enums_boolean): Declare.
* xml-tdesc.c (struct tdesc_parsing_data): Record current_feature,
next_regnum, and current_union.
(tdesc_start_feature, tdesc_start_reg, tdesc_start_union)
(tdesc_end_union, tdesc_start_field, tdesc_start_vector)
(field_attributes, union_children, reg_attributes, union_attributes)
(vector_attributes, feature_attributes, feature_children): New.
(target_children): Make static. Add <feature>.
(tdesc_elements): Make static.
* target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p)
(struct tdesc_feature, tdesc_feature_p): New types.
(struct target_desc): Add features member.
(struct tdesc_arch_data, tdesc_data): New.
(target_find_description): Clarify error message. Warn about
ignored register descriptions.
(tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
(tdesc_named_type, tdesc_data_init, tdesc_data_alloc)
(tdesc_data_cleanup, tdesc_numbered_register)
(tdesc_numbered_register_choices, tdesc_find_register)
(tdesc_register_name, tdesc_register_type)
(tdesc_remote_register_number, tdesc_register_reggroup_p)
(set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type)
(set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers)
(tdesc_free_reg, tdesc_create_reg, tdesc_free_feature)
(tdesc_create_feature, tdesc_record_type): New.
(free_target_description): Free features.
(_initialize_target_descriptions): Initialize tdesc_data.
* arch-utils.c (default_remote_register_number): New.
* arch-utils.h (default_remote_register_number): New prototype.
* target-descriptions.h (set_tdesc_pseudo_register_name)
(set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p)
(tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup)
(tdesc_numbered_register, tdesc_numbered_register_choices)
(tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
(tdesc_named_type, tdesc_create_feature, tdesc_record_type)
(tdesc_create_reg): Declare.
* gdbarch.sh (remote_register_number): New entry.
* gdbarch.c, gdbarch.h: Regenerate.
* remote.c (init_remote_state): Use gdbarch_remote_register_number.
* features/gdb-target.dtd: Add feature, reg, vector, union, and field.
* arm-tdep.c (arm_register_aliases): New.
(arm_register_name_strings): Rename to...
(arm_register_names): ...this. Make const. Delete the old version.
(current_option, arm_register_byte): Delete.
(set_disassembly_style): Simplify. Do not adjust arm_register_names.
(value_of_arm_user_reg): New.
(arm_gdbarch_init): Verify any described registers. Call
tdesc_use_registers. Don't use arm_register_byte. Create aliases
for standard register names.
(_initialize_arm_tdep): Do not adjust arm_register_names.
* user-regs.c (struct user_reg): Add baton member.
(append_user_reg, user_reg_add_builtin, user_regs_init)
(user_reg_add, value_of_user_reg): Use a baton for user
register functions.
* std-regs.c: Update.
* user-regs.h (user_reg_read_ftype, user_reg_add_builtin)
(user_reg_add): Add baton argument.
* NEWS: Mention target description register support.
* features/arm-core.xml, features/arm-fpa.xml: New.
* eval.c (evaluate_subexp_standard): Allow ptype $register
when the program is not running.
* gdb.texinfo (-target-disconnect): Use @smallexample.
(Requirements): Add anchor for Expat. Update description.
(Target Descriptions): Mention Expat.
(Target Description Format): Document new elements. Use
@smallexample.
(Predefined Target Types, Standard Target Features): New sections.
* doc/gdbint.texinfo (Target Descriptions): New section.
* gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
2007-02-08 21:00:36 +00:00
Daniel Jacobowitz
108546a0ea
* Makefile.in (XMLFILES): New.
...
(COMMON_OBS): Add xml-builtin.o.
(xml-builtin.c, stamp-xml): New rules.
(xml-tdesc.o): Update.
* features/feature_to_c.sh: New file.
* xml-support.c (MAX_XINCLUDE_DEPTH): Define.
(struct gdb_xml_parser): Add dtd_name and is_xinclude.
(gdb_xml_start_element): Initialize scope after possibly reallocating
scopes. Move cleanup later. Handle the XInclude description
specially.
(gdb_xml_end_element): Only parse the body if there is a current element.
Call XML_DefaultCurrent if there is no element.
(gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New.
(struct xinclude_parsing_data, xinclude_start_include)
(xinclude_end_include, xml_xinclude_default)
(xml_xinclude_start_doctype, xml_xinclude_end_doctype)
(xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes)
(xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New.
* xml-support.h (xml_fetch_another, xml_process_xincludes)
(fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations.
* xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand
XInclude directives. Use the compiled in DTD.
(fetch_xml_from_file): Add baton argument. Treat it as a containing
directory name. Do not warn here.
(file_read_description_xml): Update call. Warn here instead. Pass
a dirname as baton.
(fetch_available_features_from_target): New.
(target_read_description_xml): Use it.
* features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd
to handle XInclude.
* features/xinclude.dtd: New file.
* gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
* gdb.texinfo (Target Description Format): Add section on XInclude.
2007-02-07 22:48:06 +00:00
Nick Roberts
a4eefcd852
(GDB/MI Miscellaneous Commands): Describe the new
...
command -enable-timings.
2007-02-02 23:11:34 +00:00
Nick Roberts
95a98c0117
*** empty log message ***
2007-02-02 23:09:00 +00:00
Eli Zaretskii
f4b3909f86
* gdbint.texinfo (Operation System ABI Variant Handling): Update
...
descriptions for new/deleted elements in gdb_osabi. Add missing
description for function generic_elf_osabi_sniff_abi_tag_sections.
2007-02-02 19:48:50 +00:00
Joel Brobecker
c7ba131ee0
* gdb.texinfo (Maintenance Commands): Add documentation for
...
the new "maint print target-stack" command.
2007-01-29 16:37:34 +00:00
Jan Kratochvil
3a60f64edd
* gdb.texinfo: Describe CHAR array vs. string identifcation rules.
2007-01-26 20:53:52 +00:00
Eli Zaretskii
c582f8b627
*** empty log message ***
2007-01-26 08:57:09 +00:00
Eli Zaretskii
e22ea45271
* gdb.texinfo (Compilation, Files, Bootstrapping, Bug Reporting):
...
Use @value{NGCC} instead of @value{GCC}.
2007-01-26 08:54:01 +00:00
Eli Zaretskii
d3e8051bdd
* agentexpr.texi: Fix typos.
...
* annotate.texinfo: Likewise.
* gdb.texinfo: Likewise.
* gdbint.texinfo: Likewise.
* observer.texi: Likewise.
* stabs.texinfo: Likewise.
2007-01-20 16:51:56 +00:00
Eli Zaretskii
86f0469973
* gdbint.texinfo (Support Libraries): Remove mmalloc
...
entry. Describe readline library.
2007-01-20 16:35:45 +00:00
Vladimir Prus
c8b2f53c0b
* gdb.texinfo (GDB/MI Variable Objects): Improve the
...
introduction. Specify -var-update more exactly.
2007-01-11 20:42:40 +00:00
Daniel Jacobowitz
23181151a2
XML feature description support.
...
* NEWS: Mention target descriptions, "set tdesc filename",
"unset tdesc filename", "show tdesc filename", and
qXfer:features:read.
* arch-utils.c (choose_architecture_for_target): New function.
(gdbarch_info_fill): Call it.
* target-descriptions.c (struct property): Make members non-const.
(struct target_desc): Add arch member.
(target_description_filename): New variable.
(target_find_description): Try via XML first.
(tdesc_architecture): New.
(free_target_description, make_cleanup_free_target_description): New.
(set_tdesc_property): Call xstrdup.
(set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist)
(tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd)
(set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd)
(show_tdesc_filename_cmd, _initialize_target_descriptions): New.
* target-descriptions.h (tdesc_architecture)
(make_cleanup_free_target_description, set_tdesc_architecture): New
prototypes.
* Makefile.in (SFILES): Add xml-tdesc.c.
(COMMON_OBS): Add xml-tdesc.o.
(target-descriptions.o): Update.
(xml-tdesc.o): New rule.
* xml-tdesc.c, xml-tdesc.h: New files.
* remote.c (PACKET_qXfer_features): New enum.
(remote_protocol_features): Add qXfer:features:read.
(remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES.
(_initialize_remote): Register qXfer:features:read.
* target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES.
* features/gdb-target.dtd: New file.
* linux-i386-low.c (the_low_target): Set arch_string.
* linux-x86-64-low.c (the_low_target): Likewise.
* linux-low.c (linux_arch_string): New.
(linux_target_ops): Add it.
* linux-low.h (struct linux_target_ops): Add arch_string.
* server.c (write_qxfer_response): Use const void * for DATA.
(get_features_xml): New.
(handle_query): Handle qXfer:features:read. Report it for qSupported.
* target.h (struct target_ops): Add arch_string method.
* gdb.texinfo (Target Descriptions): New section.
(General Query Packets): Add QPassSignals anchor. Mention
qXfer:features:read under qSupported. Expand mentions of
qXfer:memory-map:read and QPassSignals. Document
qXfer:features:read.
2007-01-09 22:55:10 +00:00
Daniel Jacobowitz
6aba47ca06
Copyright updates for 2007.
2007-01-09 17:59:20 +00:00
Daniel Jacobowitz
f822c95b59
* NEWS: Add "set sysroot" and "show sysroot".
...
* solib.c (solib_absolute_prefix): Delete. Replace
all uses with gdb_sysroot.
(_initialize_solib): Add "set sysroot" and "show sysroot".
Make "solib-absolute-prefix" an alias to it.
* gdb.texinfo (Commands to specify files): Describe
"set sysroot" and "show sysroot".
(Using the `gdbserver' program): Lowercase argument
to @var. Expand description of setting up GDB on the
host.
2007-01-08 18:56:30 +00:00
Joel Brobecker
8936fcda88
* gdb.texinfo (Set Catchpoints): Add documentation for the new
...
catch exception, catch exception unhandled, and catch assert
commands.
2007-01-05 08:33:57 +00:00
Daniel Jacobowitz
e776119fdc
* memory-map.c (struct_memory_map_parsing_data): Remove most
...
members. Make property_name an array.
(free_memory_map_parsing_data, memory_map_start_element)
(memory_map_end_element, memory_map_character_data): Delete.
(memory_map_start_memory, memory_map_end_memory)
(memory_map_start_property, memory_map_end_property): New functions.
(property_attributes, memory_children, memory_type_enum)
(memory_attributes, memory_map_children, memory_map_elements): New.
(parse_memory_map): Rewrite.
* xml-support.c (debug_xml): New.
(xml_get_required_attribute, xml_get_integer_attribute)
(xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser):
Delete.
(struct scope_level, struct gdb_xml_parser, gdb_xml_body_text)
(gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup)
(gdb_xml_start_element, gdb_xml_start_element_wrapper)
(gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup)
(gdb_xml_create_parser_and_cleanup, gdb_xml_parse)
(gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest)
(gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support):
New.
* xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler)
(enum gdb_xml_attribute_flag, struct gdb_xml_attribute)
(enum gdb_xml_element_flag, struct gdb_xml_element)
(gdb_xml_element_start_handler, gdb_xml_element_end_handler)
(struct gdb_xml_enum): New.
(gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug)
(gdb_xml_error, gdb_xml_parse_attr_ulongest)
(gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes.
(xml_get_required_attribute, xml_get_integer_attribute)
(xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes.
* Makefile.in (xml_support_h, xml-support.o): Update.
* gdb.texinfo (Debugging Output): Document "set debug xml"
and "show debug xml".
2007-01-04 22:11:44 +00:00
Daniel Jacobowitz
aa79a185c9
* configure.ac (build_warnings): Use -Wall and
...
-Wdeclaration-after-statement.
* configure: Regenerated.
* gdbint.texinfo (Compiler Warnings): Update for -Wall use.
2007-01-04 19:42:10 +00:00
Joel Brobecker
7f89374103
* gdbint.texinfo (Start of New Year Procedure): Add missing item.
2007-01-01 14:04:18 +00:00
Vladimir Prus
a1b5960f51
2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
...
* gdb.texinfo (GDB/MI Variable Objects): Wrap historical
note in @ignore, to be removed later if nobody complains.
2006-12-08 12:58:36 +00:00
Nick Roberts
22d8a47037
(GDB/MI Variable Objects): Describe -c option
...
of -var-delete.
2006-12-04 03:53:19 +00:00
Nick Roberts
9f470e6e42
*** empty log message ***
2006-12-04 03:51:39 +00:00
Vladimir Prus
765dc01564
2006-11-22 Vladimir Prus <vladimir@codesourcery.com>
...
* breakpoint.c: Include "memattr.h".
(automatic_hardware_breakpoints): New.
(show_automatic_hardware_breakpoints): New.
(insert_bp_location): Automatically use
hardware breakpoints.
(_initialize_breakpoint): Register the "auto-hw"
variable.
* Makefile.in (breakpoint.o): Update dependencies.
2006-11-22 10:43:34 +00:00
Vladimir Prus
4b5752d02f
gdb/
...
* memattr.h (enum mem_access_mode): New value
MEM_NONE.
* memattr.c (unknown_mem_attrib): New.
(inaccessible_by_default): New.
(show_inaccessible_by_default): New.
(lookup_mem_region): Check inaccessible_by_default.
(dummy_cmd): New.
(mem_set_cmdlist, mem_show_cmdlist): New.
(_initialize_mem): Register new "set" and "show"
commands.
* target.c (memory_xfer_partial): If memory type
is MEM_NONE, return an error.
Clip to region size when calling to_xfer_partial.
If upper limit of memory range is 0, don't clip
anything.
gdb/doc/
* gdb.texinfo (Memory Access Checking): New.
2006-11-21 16:50:16 +00:00
Daniel Jacobowitz
89be209149
gdb/
...
* remote.c (PACKET_QPassSignals): New.
(last_pass_packet, remote_pass_signals): New.
(remote_protocol_features): Add QPassSignals.
(remote_query_supported): Correct an infinite loop.
(remote_open_1): Reset last_pass_packet.
(remote_resume): Call remote_pass_signals.
(_initialize_remote): Register "set remote pass-signals".
gdb/doc/
* gdb.texinfo (Remote configuration): Mention
"pass-signals-packet".
(General Query Packets): Document QPassSignals. Fix
a typo.
gdb/gdbserver/
* linux-low.c (linux_wait_for_event): Reformat. Use the
pass_signals array.
* remote-utils.c (decode_address_to_semicolon): New.
* server.c (pass_signals, handle_general_set): New.
(handle_query): Mention QPassSignals for qSupported.
(main): Call handle_general_set.
* server.h (pass_signals, decode_address_to_semicolon): New.
2006-11-16 15:08:25 +00:00