aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
AgeCommit message (Collapse)AuthorFilesLines
2007-05-22gdb/:Maciej W. Rozycki2-0/+15
* ser-unix.c (show_serial_hwflow): New function. (hardwire_raw): Add hardware flow control support. (_initialize_ser_hardwire): Add "set/show remoteflow". * Makefile.in (ser-unix.o): Depend on $(gdbcmd_h). * NEWS: Document the new command. gdb/doc/: * gdb.texinfo (Remote Configuration): Document "set/show remoteflow".
2007-05-16 * NEWS: Mention removed "set mips stack-arg-size" and "set mipsDaniel Jacobowitz2-27/+5
saved-gpreg-size". * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants. (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string) (mips_stack_argsize_string, mips_stack_argsize): Delete. (mips_abi_regsize): Simplify. (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) (mips_n32n64_return_value, mips_o32_push_dummy_call) (mips_o32_return_value, mips_o64_push_dummy_call) (mips_o64_return_value): Propogate constant register sizes. Use the ABI register size instead of mips_stack_argsize. (mips_dump_tdep): Don't print mips_stack_argsize. (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size settings. * gdb.texinfo (MIPS): Remove documentation for set mips saved-gpreg-size, show mips saved-gpreg-size, and set mips stack-arg-size.
2007-05-14 * all-cfg.texi (GDBTUI): New.Bob Wilson3-115/+104
* gdb.texinfo (Mode Options): Use GDBTUI variable. (TUI, TUI Overview, TUI Keys, TUI Single Key Mode, TUI Commands) (TUI Configuration): Edit to improve clarity and fix problems of both style and content.
2007-05-11doc/ChangeLog:Ulrich Weigand2-0/+11
* observer.texi (GDB Observers): New observer "new_objfile". ChangeLog: * observer.sh: Add "struct objfile" forward declaration. * target.h (deprecated_target_new_objfile_hook): Remove. * symfile.c (deprecated_target_new_objfile_hook): Remove. (clear_symtab_users): Call observer_notify_new_objfile. (symbol_file_add_with_addrs_or_offsets): Likewise. * rs6000-nat.c: Include "observer.h". (vmap_ldinfo): Call observer_notify_new_objfile. (xcoff_relocate_core): Likewise. * remote.c (remote_new_objfile_chain): Remove. (remote_new_objfile): Do not call remote_new_objfile_chain. (_initialize_remote): Use observer_attach_new_objfile. * tui/tui-hooks.c (tui_target_new_objfile_chain): Remove. (tui_new_objfile_hook): Do not call tui_target_new_objfile_chain. (_initialize_tui_hooks): Use observer_attach_new_objfile. * aix-thread.c: Include "observer.h". (target_new_objfile_chain): Remove. (new_objfile): Do not call target_new_objfile_chain. (_initialize_aix_thread): Use observer_attach_new_objfile. * hpux-thread.c: Include "observer.h" (target_new_objfile_chain): Remove. (hpux_thread_new_objfile): Make static. Do not call target_new_objfile_chain. (_initialize_hpux_thread): Use observer_attach_new_objfile. * linux-thread-db.c: Include "observer.h". (target_new_objfile_chain): Remove. (thread_db_new_objfile): Do not call target_new_objfile_chain. (_initialize_thread_db): Use observer_attach_new_objfile. * sol-thread.c: Include "observer.h". (target_new_objfile_chain): Remove. (sol_thread_new_objfile): Make static. Do not call target_new_objfile_chain. (_initialize_sol_thread): Use observer_attach_new_objfile. * Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o, rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on $(observer_h).
2007-05-08ChangeLog:Ulrich Weigand2-6/+4
* config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define. * config/mips/nm-irix5.h (USE_PROC_FS): Do not define. * config/nm-linux.h (USE_PROC_FS): Do not undefine. doc/ChangeLog: * gdbint.texinfo (Native Conditionals): Remove USE_PROC_FS.
2007-04-14 * varobj.h (varobj_set_frozen): NewVladimir Prus2-4/+58
(varobj_get_frozen): New. (varobj_update): New parameter explicit. * varobj.c (struct varobj): New fields frozen and not_fetched. (varobj_set_frozen, varobj_get_frozen): New. (install_new_value): Don't fetch values for frozen variable object, or children thereof. Allow a frozen variable object to have non-fetched value. (varobj_update): Allow updating child variables. Don't traverse frozen children. (new_variable): Initialize the frozen field. (c_value_of_variable): Return NULL for frozen variable without any value yet. * mi/mi-cmd-var.c (varobj_update_one): New parameter 'explicit'. (mi_cmd_var_create): Output the 'frozen' field, as soon as testsuite is adjusted to expect that field. (mi_cmd_var_set_frozen): New. (mi_cmd_var_update): Pass the 'explicit' parameter to varobj_update_one. * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'. * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare.
2007-04-132007-04-13 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+6
* 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 * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,Daniel Jacobowitz2-318/+17
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-11 * gdb.texinfo (Contributors, Continuing and Stepping)Bob Wilson2-63/+80
(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 * configure.ac (build_warnings): Add -Wno-char-subscripts.Steve Ellcey1-0/+1
* configure: Regenerate. * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts.
2007-04-11 * gdbint.texinfo (Writing Tests): Mention gdb_test_multipleDaniel Jacobowitz2-1/+13
and tab expansion.
2007-04-10 * Makefile.in (SFILES): Remove hpacc-abi.c.Daniel Jacobowitz2-1/+5
(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-02 * gdb.texinfo: Consistently capitalize all significant words inBob Wilson2-379/+388
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-03-30gdb/Pedro Alves2-39/+4
* 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 * MAINTAINERS: Remove d10v entry.Daniel Jacobowitz3-41/+9
* 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 * Makefile.in (SFILES): Remove nlmread.c.Daniel Jacobowitz3-91/+13
(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-30gdb/ChangeLog:Ulrich Weigand2-5/+4
* 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-27 * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT,Ulrich Weigand2-12/+6
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-27Add "make pdf" and "make install-pdf", from Brooks MosesDaniel Jacobowitz3-2/+43
<brooks.moses@codesourcery.com>.
2007-03-26 * gdb.texinfo (Omissions from Ada, Additions to Ada): Wrap long lines.Bob Wilson2-20/+26
2007-03-26 * gdb.texinfo (Invoking GDB): Use @value{GDBP}.Bob Wilson2-21/+30
(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 * gdb.texinfo (Help): Fix formatting of examples.Bob Wilson2-10/+17
(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 * gdb.texinfo (Variables, C): Update cross reference to GCC docs.Bob Wilson2-4/+9
2007-03-26 * gdb.texinfo (Top): Move TUI and Annotations menu entries to matchBob Wilson2-20/+11
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 * gdb.texinfo (File Options): Add missing parenthesis.Bob Wilson2-4/+9
(Breakpoints, Special Fortran commands, PowerPC): Fix typos.
2007-02-26 * gdb.texinfo (Monitor commands for gdbserver): New subsection.Daniel Jacobowitz2-0/+27
* 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 * arm-tdep.c (arm_scan_prologue): Do not record FPA register savesDaniel Jacobowitz2-0/+14
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-18(Top): Put Appendix A after numbered sections.Nick Roberts1-10/+15
(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*** empty log message ***Nick Roberts1-0/+9
2007-02-12(GDB/MI Variable Objects): Describe meanings ofNick Roberts1-10/+37
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*** empty log message ***Nick Roberts1-0/+8
2007-02-08 * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)Daniel Jacobowitz3-20/+368
(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-07 * Makefile.in (XMLFILES): New.Daniel Jacobowitz2-0/+31
(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-02(GDB/MI Miscellaneous Commands): Describe the newNick Roberts1-0/+44
command -enable-timings.
2007-02-02*** empty log message ***Nick Roberts1-0/+5
2007-02-02 * gdbint.texinfo (Operation System ABI Variant Handling): UpdateEli Zaretskii2-23/+64
descriptions for new/deleted elements in gdb_osabi. Add missing description for function generic_elf_osabi_sniff_abi_tag_sections.
2007-01-29 * gdb.texinfo (Maintenance Commands): Add documentation forJoel Brobecker2-0/+18
the new "maint print target-stack" command.
2007-01-26 * gdb.texinfo: Describe CHAR array vs. string identifcation rules.Jan Kratochvil2-0/+25
2007-01-26*** empty log message ***Eli Zaretskii1-0/+5
2007-01-26 * gdb.texinfo (Compilation, Files, Bootstrapping, Bug Reporting):Eli Zaretskii1-4/+4
Use @value{NGCC} instead of @value{GCC}.
2007-01-20 * agentexpr.texi: Fix typos.Eli Zaretskii7-75/+84
* annotate.texinfo: Likewise. * gdb.texinfo: Likewise. * gdbint.texinfo: Likewise. * observer.texi: Likewise. * stabs.texinfo: Likewise.
2007-01-20 * gdbint.texinfo (Support Libraries): Remove mmallocEli Zaretskii2-2/+8
entry. Describe readline library.
2007-01-11 * gdb.texinfo (GDB/MI Variable Objects): Improve theVladimir Prus1-26/+53
introduction. Specify -var-update more exactly.
2007-01-09XML feature description support.Daniel Jacobowitz2-2/+161
* NEWS: Mention target descriptions, "set tdesc filename", "unset tdesc filename", "show tdesc filename", and qXfer:features:read. * arch-utils.c (choose_architecture_for_target): New function. (gdbarch_info_fill): Call it. * target-descriptions.c (struct property): Make members non-const. (struct target_desc): Add arch member. (target_description_filename): New variable. (target_find_description): Try via XML first. (tdesc_architecture): New. (free_target_description, make_cleanup_free_target_description): New. (set_tdesc_property): Call xstrdup. (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist) (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd) (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd) (show_tdesc_filename_cmd, _initialize_target_descriptions): New. * target-descriptions.h (tdesc_architecture) (make_cleanup_free_target_description, set_tdesc_architecture): New prototypes. * Makefile.in (SFILES): Add xml-tdesc.c. (COMMON_OBS): Add xml-tdesc.o. (target-descriptions.o): Update. (xml-tdesc.o): New rule. * xml-tdesc.c, xml-tdesc.h: New files. * remote.c (PACKET_qXfer_features): New enum. (remote_protocol_features): Add qXfer:features:read. (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES. (_initialize_remote): Register qXfer:features:read. * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES. * features/gdb-target.dtd: New file. * linux-i386-low.c (the_low_target): Set arch_string. * linux-x86-64-low.c (the_low_target): Likewise. * linux-low.c (linux_arch_string): New. (linux_target_ops): Add it. * linux-low.h (struct linux_target_ops): Add arch_string. * server.c (write_qxfer_response): Use const void * for DATA. (get_features_xml): New. (handle_query): Handle qXfer:features:read. Report it for qSupported. * target.h (struct target_ops): Add arch_string method. * gdb.texinfo (Target Descriptions): New section. (General Query Packets): Add QPassSignals anchor. Mention qXfer:features:read under qSupported. Expand mentions of qXfer:memory-map:read and QPassSignals. Document qXfer:features:read.
2007-01-09Copyright updates for 2007.Daniel Jacobowitz1-2/+2
2007-01-08 * NEWS: Add "set sysroot" and "show sysroot".Daniel Jacobowitz2-29/+58
* solib.c (solib_absolute_prefix): Delete. Replace all uses with gdb_sysroot. (_initialize_solib): Add "set sysroot" and "show sysroot". Make "solib-absolute-prefix" an alias to it. * gdb.texinfo (Commands to specify files): Describe "set sysroot" and "show sysroot". (Using the `gdbserver' program): Lowercase argument to @var. Expand description of setting up GDB on the host.
2007-01-05 * gdb.texinfo (Set Catchpoints): Add documentation for the newJoel Brobecker2-0/+20
catch exception, catch exception unhandled, and catch assert commands.
2007-01-04 * memory-map.c (struct_memory_map_parsing_data): Remove mostDaniel Jacobowitz2-0/+10
members. Make property_name an array. (free_memory_map_parsing_data, memory_map_start_element) (memory_map_end_element, memory_map_character_data): Delete. (memory_map_start_memory, memory_map_end_memory) (memory_map_start_property, memory_map_end_property): New functions. (property_attributes, memory_children, memory_type_enum) (memory_attributes, memory_map_children, memory_map_elements): New. (parse_memory_map): Rewrite. * xml-support.c (debug_xml): New. (xml_get_required_attribute, xml_get_integer_attribute) (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser): Delete. (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text) (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup) (gdb_xml_start_element, gdb_xml_start_element_wrapper) (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup) (gdb_xml_create_parser_and_cleanup, gdb_xml_parse) (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest) (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support): New. * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler) (enum gdb_xml_attribute_flag, struct gdb_xml_attribute) (enum gdb_xml_element_flag, struct gdb_xml_element) (gdb_xml_element_start_handler, gdb_xml_element_end_handler) (struct gdb_xml_enum): New. (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug) (gdb_xml_error, gdb_xml_parse_attr_ulongest) (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes. (xml_get_required_attribute, xml_get_integer_attribute) (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes. * Makefile.in (xml_support_h, xml-support.o): Update. * gdb.texinfo (Debugging Output): Document "set debug xml" and "show debug xml".
2007-01-04 * configure.ac (build_warnings): Use -Wall andDaniel Jacobowitz2-54/+29
-Wdeclaration-after-statement. * configure: Regenerated. * gdbint.texinfo (Compiler Warnings): Update for -Wall use.
2007-01-01 * gdbint.texinfo (Start of New Year Procedure): Add missing item.Joel Brobecker2-0/+8