Commit Graph

963 Commits

Author SHA1 Message Date
Andrew Cagney ba8c93377d * gdbint.texinfo (Coding): Add section ``Per-architecture module
data''.
2002-06-09 17:15:40 +00:00
Mark Kettenis 1029b7fa6a * osabi.h (gdb_osabi): Add GDB_OSABI_GO32 and GDB_OSABI_NETWARE.
* osabi.c (gdb_osabi_names): Add "DJGPP" and "NetWare".
2002-06-09 15:11:47 +00:00
Andrew Cagney 16737d732a * gdbint.texinfo (Releasing GDB): Fix typos in @itemize @bullet
lists.
2002-06-09 02:11:12 +00:00
Andrew Cagney 3010767930 * gdbint.texinfo (Releasing GDB): Revise the section ``Cut the
Branch''.
2002-06-08 17:50:59 +00:00
Andrew Cagney 3352e23e7a * gdbint.texinfo (Target Architecture Definition): Add section
``Converting an existing Target Architecture to Multi-arch''.
2002-06-01 20:14:16 +00:00
Andrew Cagney cbb09e6a75 * gdbint.texinfo (Releasing GDB): Rename ``Obsoleting any code''
to ``Obsoleting code''.  Revise.
2002-05-31 01:36:16 +00:00
Jason Thorpe 70f80edf7c * Makefile.in (SFILES): Add osabi.c.
(COMMON_OBS): Add osabi.o.
(osabi.o): New dependency list.
* osabi.c: New file.
* osabi.h: New file.
* doc/gdbint.texinfo: Document new generic OS ABI framework.

* Makefile.in (alpha_tdep_h): Define and use instead of
alpha-tdep.h.
* alpha-tdep.c (alpha_abi_names, process_note_abi_tag_sections,
get_elfosabi, alpha_abi_handler_list, alpha_gdbarch_register_os_abi):
Remove.
(alpha_gdbarch_init, alpha_dump_tdep): Use generic OS ABI framework.
* alpha-tdep.h: Include osabi.h.
(alpha_abi): Remove.
(gdbarch_tdep): Use generic OS ABI framework.
* alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Use
gdbarch_register_osabi.
* alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise.
* alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise.
* alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise.

* Makefile.in (sh_tdep_h): Add osabi.h.
* sh-tdep.h (sh_osabi): Remove.
(gdbarch_tdep): Use generic OS ABI framework.
* sh-tdep.c (sh_osabi_names, process_note_abi_tag_sections,
sh_osabi_handler_list, sh_gdbarch_register_os_abi): Remove.
(sh_gdbarch_init, sh_dump_tdep): Use generic OS ABI framework.
* shnbsd-tdep.c (_initialize_shnbsd_tdep): Use gdbarch_register_osabi.

* Makefile.in (arm_tdep_h): Define and use instead of arm-tdep.h.
* arm-linux-tdep.c (_initialize_arm_linux_tdep): Use
gdbarch_register_osabi.
* arm-tdep.c (arm_abi_names, process_note_abi_tag_sections,
arm_abi_handler_list, arm_gdbarch_register_os_abi): Remove.
(get_elfosabi): Rename to...
(arm_elf_osabi_sniffer): ...this.  Adjust to use generic OS
ABI framework support routines.
(arm_gdbarch_init): Use generic OS ABI framework.
(arm_dump_tdep): Likewise.
(_initialize_arm_tdep): Likewise.
* arm-tdep.h: Include osabi.h.
(arm_abi): Remove.
(gdbarch_tdep): Remove arm_abi and abi_name members.  Add
osabi member.
(arm_gdbarch_register_os_abi): Remove prototype.
* armnbsd-tdep.c (arm_netbsd_aout_osabi_sniffer): New function.
(_initialize_arm_netbsd_tdep): Use gdbarch_register_osabi.

* Makefile.in (mips-tdep.o): Add osabi.h to dependency list.
* mips-tdep.c: Include osabi.h.
(gdbarch_tdep, mips_gdbarch_init, mips_dump_tdep): Use generic
OS ABI framework.
2002-05-21 15:36:03 +00:00
Jim Blandy e2e0bcd116 * gdb.texinfo (C Preprocessor Macros): New chapter.
Include it in the main menu.
(Contributors): Credit Jim Blandy with macro support.
(Compilation): Explain how to get macro information into the
executable.
(Expressions): Note that preprocessor macros are expanded.
2002-05-17 18:00:03 +00:00
Daniel Jacobowitz 9db8d71ff0 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
* ser-tcp.c: Include <netinet/udp.h>.  Rename tcp_open
        and tcp_close to net_open and net_close.
        (net_open): Accept "udp:" and "tcp:" specifications.  Connect
        using UDP if requested.  Don't try to disable Nagle on UDP
        sockets.
        * remote.c (remote_serial_open): New function.  Warn about UDP.
        (remote_open_1, remote_async_open_1, remote_cisco_open): Call it.

2002-05-14  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.texinfo (Debug Session): Document new `udp:' and `tcp:'
        options for `target remote'.
2002-05-14 04:26:25 +00:00
Andrew Cagney 6d53172289 * config/m88k/tm-m88k.h: Update copyright.
(m88k_target_write_pc): Declare
(TARGET_WRITE_PC): Redefine using m88k_target_write_pc.
(M88K_NNPC_REGNUM): Rename NNPC_REGNUM.
(SHIFT_INST_REGS): Update definition.
* m88k-tdep.c (m88k_target_write_pc): New function.  Implement
using old definition of TARGET_WRITE_PC.
* regcache.c (generic_target_write_pc): Delete code handling
NNPC_REGNUM.
* gdbarch.sh (NNPC_REGNUM): Delete.
* gdbarch.h, gdbarch.c: Regenerate.

* gdbint.texinfo (Target Architecture Definition): Delete
documentation on NNPC_REGNUM.
2002-05-13 17:20:59 +00:00
Andrew Cagney 13d0122493 * arch-utils.h (legacy_register_to_value): Declare.
(legacy_value_to_register): Declare.
(legacy_convert_register_p): Declare.
* arch-utils.c (legacy_register_to_value): New function.
(legacy_value_to_register): New function.
(legacy_convert_register_p): New function.

* gdbarch.sh (REGISTER_TO_VALUE): Define.
(VALUE_TO_REGISTER): Define.
(CONVERT_REGISTER_P): Define.
* gdbarch.h, gdbarch.c: Regenerate.

* valops.c (value_assign): Use CONVERT_REGISTER_P and
VALUE_TO_REGISTER.
* findvar.c (value_from_register): Use REGISTER_TO_VALUE and
CONVERT_REGISTER_P.

* gdbint.texinfo (Target Architecture Definition): Document
REGISTER_TO_VALUE and VALUE_TO_REGISTER and CONVERT_REGISTER_P.
(Target Architecture Definition): Revise section `Using Different
Register and Memory Data Representations'.  Add section `Raw and
Virtual Register Representations'.
2002-05-12 03:09:12 +00:00
Andrew Cagney b2e75d7899 * arch-utils.h (generic_register_size): Declare.
(generic_register_raw_size, generic_register_virtual_size): Delete
declarations.
* arch-utils.c (generic_register_raw_size): Delete.
(generic_register_size): New function.
(generic_register_virtual_size): Delete.

* gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Make
default generic_register_size.
* gdbarch.h, gdbarch.c: Re-generate.

* d10v-tdep.c (d10v_gdbarch_init): Use generic_register_size for
register_virtual_size.
* x86-64-tdep.c (x86_64_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.

* gdbint.texinfo (Target Architecture Definition): Mention
defaults for REGISTER_VIRTUAL_SIZE and REGISTER_RAW_SIZE.
(Target Architecture Definition): Mention same.  Add references to
web pages.
2002-05-12 02:16:05 +00:00
Michael Snyder 2c8682ee45 2002-05-08 Michael Snyder <msnyder@redhat.com>
* stabs.texinfo (Attributes): Document new "vector" attribute.
2002-05-09 18:12:00 +00:00
Andrew Cagney 0816590b14 * gdbint.texinfo (Releasing GDB): Revise `Create a Release'. 2002-05-04 19:57:22 +00:00
Andrew Cagney 2653173e85 * gdb.texinfo: Delete obsolete references to a29k. 2002-05-04 16:00:30 +00:00
Andrew Cagney d7bd68ca3c * arch-utils.h: Update copyright.
* gdbarch.sh (PC_IN_SIGTRAMP): Add.
* gdbarch.h, gdbarch.c: Re-generate.

* inferior.h (IN_SIGTRAMP): Delete definition.
* arch-utils.c (legacy_pc_in_sigtramp): New function.
* arch-utils.h (legacy_pc_in_sigtramp): Declare.

* mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP.
(mips_dump_tdep): Do not print value of IN_SIGTRAMP.
* hppa-tdep.c (pc_in_interrupt_handler):  Use PC_IN_SIGTRAMP.
(find_proc_framesize): Ditto.
* alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto.
(alpha_init_extra_frame_info): Ditto.
* infrun.c (handle_inferior_event): Ditto.
(handle_inferior_event): Ditto.
(check_sigtramp2): Ditto.
* blockframe.c (create_new_frame): Ditto.
(get_prev_frame): Ditto.
* ppc-linux-tdep.c: Update comments.
* i386-linux-tdep.c: Update comments.
* breakpoint.c (bpstat_what): Update comment.

* gdbint.texinfo (Target Architecture Definition): Replace
IN_SIGTRAMP with PC_IN_SIGTRAMP.
2002-04-24 16:28:16 +00:00
David S. Miller 21d83aa55a 2002-04-24 David S. Miller <davem@redhat.com>
* i960-tdep.c (register_in_window_p): New function.
	(i960_find_saved_register): Use it instead of
	REGISTER_IN_WINDOW_P.
	* config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete.

2002-04-24  David S. Miller  <davem@redhat.com>

	* gdbint.texinfo (REGISTER_IN_WINDOW): Delete definition.
2002-04-24 13:48:39 +00:00
David S. Miller 7673a6cc14 2002-04-21 David S. Miller <davem@redhat.com>
* gdbint.texinfo (SKIP_PROLOGUE_FRAMELESS_P): Delete definition.
2002-04-22 01:39:54 +00:00
Andrew Cagney d49d1e0a2f * frame.c (find_saved_register): Delete #ifdef
HAVE_REGISTER_WINDOWS code.
* config/sparc/tm-sparc.h: Update comments.
* config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro.
* gdbint.texinfo (Target Architecture Definition): Delete
definition of HAVE_REGISTER_WINDOWS.
2002-04-21 15:52:35 +00:00
Eli Zaretskii 4be3147047 (Releasing GDB, Coding): Fix typos. 2002-04-19 19:33:57 +00:00
Don Howard 5ca0cb286a 2002-04-15 Don Howard <dhoward@redhat.com>
From Eli Zaretskii <eliz@is.elta.co.il>
	* gdb.texinfo (show max-user-call-depth): Correct formatting.
	Provide a better explaination of this feature.
2002-04-15 17:23:54 +00:00
Andrew Cagney f208ba17b9 * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro.
* blockframe.c (FRAME_CHAIN_COMBINE): Delete macro.
(get_prev_frame): Do not call FRAME_CHAIN_COMBINE.
* gdbint.texinfo (Target Architecture Definition): Remove
FRAME_CHAIN_COMBINE.
2002-04-14 13:38:07 +00:00
Michael Chastain d5ba91def6 2002-04-12 Michael Chastain <mec@shout.net>
* gdbint.texinfo (Obsolete Conditionals): Remove reference to
	REG_STACK_SEGMENT.
2002-04-13 15:56:42 +00:00
Don Howard 20f01a4665 2002-04-12 Don Howard <dhoward@redhat.com>
* cli/cli-cmds.c (init_cli_cmds): Add new user settable value:
	max_user_call_depth.
	(init_cmd_lists): Initialize the new value;
	* cli/cli-script.c (execute_user_command): Limit the call depth of
	user defined commands.  This avoids a core-dump when user commands
	are infinitly recursive.
2002-04-12 22:31:23 +00:00
Michael Chastain 268182205b 2002-04-09 Michael Chastain <mec@shout.net>
* gdbint.texinfo (Obsolete Conditionals): Remove references to
	PYRAMID_* macros.
2002-04-10 05:11:35 +00:00
Andrew Cagney 129188f6b2 * README (Reporting Bugs in GDB): Document the bug web page as the
prefered way of submitting bugs.
Fix PR gdb/402.

* gdb.texinfo (Bug Reporting): Document that the web is the
prefered way of submitting bug reports.
(Bug Reporting): Delete the s-mail address as the last resort.
2002-04-07 19:09:58 +00:00
Andrew Cagney 8227c0ffb1 * h8500-tdep.c (h8500_write_fp): Delete function.
* dwarf2cfi.c (cfi_write_fp): Document as not used.
* mips-tdep.c (mips_gdbarch_init): Do not set write_fp.
* ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp.
* rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp.
* s390-tdep.c (s390_gdbarch_init): Do not set write_fp.
(s390_write_fp):
* sh-tdep.c (sh_gdbarch_init): Do not set write_fp.
* x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp.
* d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp.
(d10v_write_fp): Delete function.
* inferior.h (write_fp, generic_target_write_fp): Delete
declarations.
* regcache.c (generic_target_write_fp): Delete function.
(write_fp): Delete function.
* gdbarch.sh (TARGET_WRITE_FP): Delete.
* gdbarch.h, gdbarch.c: Regenerate.
* config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro.
* config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro.
(sparc64_write_fp): Delete declaration.
* config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro.
(h8500_write_fp): Delete declaration.
2002-04-06 00:02:52 +00:00
Michael Snyder 16d9dec687 2002-03-27 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo: Document new commands dump, append, and restore.
2002-03-29 01:19:37 +00:00
Andrew Cagney 9ae8b82c04 * gdbint.texinfo (Releasing GDB): Revise the section `Before the
Branch'.
2002-03-27 21:16:33 +00:00
Andrew Cagney 474c824023 s/@example/@smallexample/ 2002-03-19 02:49:53 +00:00
Andrew Cagney fb0ff88f8f * gdbint.texinfo (Releasing GDB): Add section ``Versions and
Branches''.
2002-03-18 16:14:04 +00:00
Andrew Cagney 9bb0a4d8df * gdbint.texinfo (Releasing GDB): Add the section``Branch Commit
Policy''.
2002-03-18 16:09:32 +00:00
Fred Fish 937f164bda 2002-03-04 Fred Fish <fnf@redhat.com>
* gdbint.texinfo: Fix a bunch of typos (alsways, mirrorred,
	expresson, suports, dependant, trhe, perhaphs, situtations,
	explictily, taged, oportunity, unfortunatly).
2002-03-04 20:38:10 +00:00
Andrew Cagney a7b40f0783 * Makefile.in (gdb.info): Add explicit path to gdb.texinfo.
Remove reference to 3.12.
2002-02-25 04:32:58 +00:00
Andrew Cagney aab4e0ec4b * gdbint.texinfo: Include fdl.texi.
(Top): Add GNU Free Documentation License.
* Makefile.in (SFILES_INCLUDED): Add gpl.texi.
(gdbint.dvi, gdbint.pdf, gdbint.info): Add dependency on fdl.texi.
(gdbint_toc.html): Add dependency on gdb-cfg.texi and fdl.texi.
(gdbint.info): Add srcdir to include path.
* gdb.texinfo: Include gpl.texi.
(Top): Add Copying.
* gpl.texi: New file.
2002-02-24 17:18:25 +00:00
Andrew Cagney 47b95330e3 s/cygnus.com/.../ 2002-02-23 20:59:55 +00:00
Pierre Muller 78c47bea59 2002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.texinfo: Document Cygwin native specific commands.
2002-02-20 16:09:04 +00:00
Daniel Jacobowitz 56460a6114 2002-02-15 Daniel Jacobowitz <drow@mvista.com>
* gdb.texinfo: Document gdbserver ``--attach'' command.
2002-02-15 19:06:33 +00:00
Michael Snyder def71bfa3c 2002-02-07 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (overlays): Change @var(_ovly_debug_event)
	to @code(_ovly_debug_event).
2002-02-08 00:39:45 +00:00
Andrew Cagney c928edc06b * gdb.texinfo (How Overlays Work): Shrink the overlay diagram. 2002-02-07 23:58:41 +00:00
Michael Snyder 81d4647008 2002-02-06 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (overlays): Mention new magic symbol
	'_ovly_debug_event', which allows GDB to keep better track
	of overlays.
2002-02-06 18:29:38 +00:00
Richard Earnshaw 5e74b15c0d * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
* gdbarch.c gdbarch.h: Regenerate.
* arch-utils.c (default_print_float_info): New function.
* arch-utils.h (default_print_float_info): Prototype it.
* infcmd.c (float_info): Call PRINT_FLOAT_INFO.
* doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
(PRINT_FLOAT_INFO): Document it.

* arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
* config/arm/tm-arm.h (FLOAT_INFO): Delete.
(PRINT_FLOAT_INFO): Define.
2002-02-06 13:00:49 +00:00
Eli Zaretskii 6ca652b0db * gdb.texinfo (Memory Region Attributes): Fix the wording.
Suggested by Dmitry Sivachenko.

	* (<many nodes>): Fix the spelling and punctuation of "i.e.".
2002-02-03 12:06:05 +00:00
Michael Snyder 15110bc31b 2002-02-01 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (set trust-readonly): Change value{gdbn} to value{GDBN}.
2002-02-01 18:41:51 +00:00
Michael Snyder ac28236684 2002-01-30 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo: (remote protocol): Gramatical fix-up.
2002-02-01 17:29:55 +00:00
Michael Snyder 6763aef967 2002-01-30 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (set trust-readonly-sections): Document.
2002-02-01 17:21:28 +00:00
Andrew Cagney 8642bc8fb0 Revise and update ``Releasing GDB''. 2002-01-29 16:32:02 +00:00
Andrew Cagney afe64c1a68 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
(target_byte_order): Initialize to BFD_ENDIAN_BIG.
(initialize_current_architecture): Update target_byte_order using
information from BFD.
* config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
* config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
* config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.

Update doco.
2002-01-29 03:51:19 +00:00
Eli Zaretskii 59649f2e83 * gdb.texinfo: Fix typos and markup. From Dmitry Sivachenko
<mitya@cavia.pp.ru>.
2002-01-27 09:34:24 +00:00
Andrew Cagney 3d6e1b5afe Remove libgdb.texinfo 2002-01-23 21:08:19 +00:00
Andrew Cagney 6c0e9fb3d2 Eliminate texinfo 3.12 hacks. 2002-01-22 17:15:57 +00:00
Andrew Cagney e0ce93ac9c Remove->Remote 2002-01-22 16:58:30 +00:00
Andrew Cagney be298bcc5f Use texi2dvi instead of TEX/TEXINDEX. 2002-01-22 16:37:08 +00:00
Andrew Cagney 8e04817fcd Move remote protocol specification to an appendix. 2002-01-22 16:25:57 +00:00
Andrew Cagney 6b2f586db6 Add menu entries for ``Remote Debugging''. 2002-01-21 23:27:40 +00:00
Andrew Cagney 6f05cf9ffa * gdb.texinfo (Remote): Move the sub-section ``The GDB remote
serial protocol'' from here.
(Remote Debugging): To here.  New chapter.
2002-01-21 18:56:05 +00:00
Andrew Cagney 3fd3d7d29c Assume TARGET_BYTE_ORDER_SELECTABLE{,_P} is always true. 2002-01-20 19:26:50 +00:00
Andrew Cagney 7fd6052758 Remove assumption that there is a host. 2002-01-20 18:19:30 +00:00
Andrew Cagney c2f05ac92e Eliminate IEEE_FLOAT. 2002-01-20 18:05:54 +00:00
Eli Zaretskii 56248298dc (DJGPP Native): Fix overfull hboxes in examples. From Brian Youmans
<3diff@gnu.org>
2002-01-20 11:59:38 +00:00
Eli Zaretskii 798c8bc6fa Fix a typo. 2002-01-20 11:45:22 +00:00
Eli Zaretskii 8a037dd706 Fix last change. 2002-01-20 11:21:25 +00:00
Eli Zaretskii 231b2aadea * gdb.texinfo: Beautify copyright years; fix a typo. 2002-01-20 11:18:28 +00:00
Andrew Cagney 826000345c Eliminate MALLOC_INCOMPATIBLE. 2002-01-20 04:23:29 +00:00
Andrew Cagney 7708fa0111 Remove XDEPFILES from GDB. 2002-01-18 04:51:10 +00:00
Andrew Cagney eb12ee304f Add an appendix for maintenance commands. 2002-01-17 23:06:47 +00:00
Andrew Cagney c9ccaa9289 Remove links from @node 2002-01-17 22:56:48 +00:00
Eli Zaretskii 6826cf005f * gdb.texinfo: @include fdl.texi. Fixes for overfull hboxes and
for monstrous @multitable (from Brian Youmans).

	* fdl.texi: New file.

	* Makefile.in (SFILES_INCLUDED): Add fdl.texi.
2002-01-17 08:54:12 +00:00
Andrew Cagney 7064928b62 Doh. s/kdb/kbd/ 2002-01-15 19:06:22 +00:00
Andrew Cagney 8973da3a1a * gdbint.texinfo (Releasing GDB): New chapter. 2002-01-15 19:01:20 +00:00
Andrew Cagney 7d86b5d55d * gdb.texinfo (Embedded Processors, Calling program functions):
Obsolete references to a29k.
2002-01-15 01:38:45 +00:00
Andrew Cagney cc1cb004a9 Review cleanups() section. Add examples. 2002-01-15 01:29:24 +00:00
Michael Snyder 79f1224722 2002-01-11 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (Choosing files): Change @samp to @file.
2002-01-11 20:24:14 +00:00
Michael Snyder 198377909c 2002-01-05 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (--pid): Document new command line option (attach).
2002-01-10 23:03:35 +00:00
Eli Zaretskii 2c0069bbef * gdb.texinfo (Tracepoints): Clarify that tracepoints need support
in the stub.
2002-01-07 09:28:44 +00:00
Andrew Cagney d7449b42d3 s/BIG_ENDIAN/BFD_ENDIAN_BIG/ 2002-01-05 04:30:46 +00:00
Andrew Cagney f23631e444 s/value_ptr/struct value */ 2002-01-04 05:20:09 +00:00
Eli Zaretskii 72c9928d4d (Free Software): Fix wording of the new section. 2002-01-02 06:15:47 +00:00
Eli Zaretskii 42584a72f9 Fix a typo in the last change. 2001-12-31 19:33:46 +00:00
Eli Zaretskii 2666264b6e Fix last change. 2001-12-31 19:17:30 +00:00
Eli Zaretskii 959acfd1b4 * gdb.texinfo (Free Software): New section ``Free Software Needs
Free Documentation''.
2001-12-31 19:06:39 +00:00
Eli Zaretskii 2a6585f062 Fix the application of GFDL in the Copyright notice. 2001-12-30 06:25:16 +00:00
Michael Snyder 6600abedd6 2001-12-29 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (maint info sections): Fix typo.
2001-12-30 03:52:20 +00:00
Michael Snyder fe95c7871a 2001-12-26 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (maint info sections): Document.
2001-12-27 19:37:12 +00:00
Michael Snyder f668071643 2001-12-26 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (info proc): Comment out documentation for
        'info proc' sub-options that are currently not implemented.
2001-12-27 18:41:40 +00:00
Jim Blandy c3d3ce5b89 * gdbint.texinfo (TARGET_CHAR_SIGNED): Document. 2001-12-20 21:16:31 +00:00
Andrew Cagney 778eb05eac LITTLE_ENDIAN -> BFD_ENDIAN_LITTLE 2001-12-15 16:53:24 +00:00
Andrew Cagney 2607059cba Delete HOST_BYTE_ORDER. 2001-12-02 02:57:18 +00:00
Jim Blandy df0cd8c5a7 * gdb.texinfo (Overlays): New chapter, documenting GDB's
overlay support.  Add to top-level menu.
2001-11-30 23:03:09 +00:00
Tom Tromey 88118b3abf * gdb.texinfo (Command Syntax): Document C-o binding. 2001-11-27 04:14:37 +00:00
Christopher Faylor 96565e9166 * gdb.texinfo (Options): Eliminate attempt to explain .gdbinit/gdb.ini use
since it is described in the referenced section.  From Eli Zaretskii
<eliz@is.elta.co.il>
* gdb.texinfo (Command Files): Reword to make gdb.ini requirement clearer when
using DJGPP.
2001-11-26 20:34:56 +00:00
Fred Fish 93c2c7505f Fix obvious typo (Bourn -> Bourne) 2001-11-24 21:47:51 +00:00
Christopher Faylor 2a3d564525 * win32-nat.c (_initialize_check_for_gdb_ini): New function.
* config/i386/xm-cygwin.h: Remove obsolete handling of __CYGWIN32__.
(GDBINIT_FILENAME): Remove.
2001-11-24 18:21:27 +00:00
Tom Tromey aa26fa3a7e * gdb.texinfo (Invoking GDB): Document --args.
(Mode Options): Likewise.
2001-11-22 00:21:45 +00:00
Jim Blandy 4f8ada0682 * gdbint.texinfo (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT):
Delete documentation; this macro has been removed from the
sources.
2001-11-21 22:26:48 +00:00
Jim Blandy 3fe0dc10b4 * gdbint.texinfo (COERCE_FLOAT_TO_DOUBLE): Clarify. 2001-11-13 18:52:53 +00:00
Corinna Vinschen 9e5abb068c * gdb.texinfo (gdbarch_in_function_epilogue_p): Add documentation. 2001-11-06 11:01:22 +00:00
Michael Snyder 1c5dfdad97 2001-11-05 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (info functions): Document use of backslash to
	quote regexp chars in function names such as "operator*()".
2001-11-05 23:26:09 +00:00
Fred Fish 990f9fe3aa Approved by kev@cygnus.com
ChangeLog entry:

	2001-11-01  Fred Fish  <fnf@redhat.com>

	* coff-solib.c (coff_solib_add): Add new readsyms arg.
	* irix5-nat.c (solib_add): Ditto.
	* osfsolib.c (solib_add): Ditto.
	* pa64solib.c (pa64_solib_add): Ditto.
	* pa64solib.c (add_to_solist): Ditto.
	* pa64solib.c (read_dld_descriptor): Ditto.
	* solib.c (solib_add): Ditto.
	* somsolib.c (som_solib_add): Ditto.
	* win32-nat.c (child_solib_add): Ditto.
	* xcoffsolib.c (solib_add): Ditto.

	* coff-solib.h (coff_solib_add): Add new readsyms arg to prototype.
	* pa64solib.c (add_to_solist): Ditto.
	* pa64solib.c (read_dld_descriptor): Ditto.
	* pa64solib.h (pa64_solib_add): Ditto.
	* solib.h (solib_add): Ditto.
	* somsolib.h (som_solib_add): Ditto.
	* config/i386/tm-cygwin.h (child_solib_add): Ditto.

	* coff-solib.c (coff_solib_add):  If readsyms is zero don't read
	symbols but do any other needed work for shared libs.
	* irix5-nat.c: Ditto.
	* osfsolib.c (solib_add): Ditto.
	* solib.c (solib_add): Ditto.
	* win32-nat.c (child_solib_add): Ditto.
	* xcoffsolib.c (solib_add): Ditto.

	* irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to
	solib_add to force reading of shared library symbols.
	* osfsolib.c (sharedlibrary_command;): Ditto.
	* pa64solib.c (pa64_solib_sharedlibrary_command): Ditto.
	* solib.c (sharedlibrary_command): Ditto.
	* somsolib.c (som_solib_sharedlibrary_command): Ditto.
	* xcoffsolib.c (sharedlibrary_command): Ditto.

	* coff-solib.c (coff_solib_create_inferior_hook): Call solib_add
	unconditionally with auto_solib_add.
	* irix5-nat.c (solib_create_inferior_hook): Ditto.
	* osfsolib.c (solib_create_inferior_hook): Ditto.
	* solib.c (solib_create_inferior_hook): Ditto.
	* solib-osf.c (osf_solib_create_inferior_hook): Ditto.
	* solib-svr4.c (enable_break): Ditto.
	* solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.

	* corelow.c (solib_add_stub): Add auto_solib_add to args passed
	via SOLIB_ADD.
	* sol-thread.c (sol_thread_attach): Ditto.
	* config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto.

	* infcmd.c (attach_command): Remove auto_solib_add decl.
	Call SOLIB_ADD directly with auto_solib_add.
	* infrun.c (handle_inferior_event): Ditto.

	* coff-solib.h (SOLIB_ADD): Add readsyms arg.
	* pa64solib.h (SOLIB_ADD): Ditto.
	* solib.h (SOLIB_ADD): Ditto.
	* somsolib.h (SOLIB_ADD): Ditto.
	* config/i386/tm-cygwin.h (SOLIB_ADD): Ditto.

	* fork-child.c (clone_and_follow_inferior): Remove unused
	auto_solib_add decl.

	* pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms.
	(read_dld_descriptor): Ditto.
	(pa64_solib_add): Call read_dld_descriptor with	readsyms.
	(pa64_solib_in_dynamic_linker): Ditto.

	* corelow.c (symfile.h): Need this for auto_solib_add declaration.
	* sol-thread.c (symfile.h): Ditto.

Approved by eliz@is.elta.co.il
doc/ChangeLog entry:

	2001-11-01  Fred Fish  <fnf@redhat.com>

	* gdbint.texinfo (SOLIB_ADD): Document additional new
	"readsyms" arg.
2001-11-01 16:17:08 +00:00
Don Howard 070b1dd3c2 Fixed formatting error. 2001-11-01 05:11:19 +00:00
Don Howard b433d00bbc 2001-10-30 Don Howard <dhoward@redhat.com>
* gdb.texinfo: (Command Files) Added documentation for the
	behavior of gdb with input redirected from a file.
2001-10-31 19:20:43 +00:00
Fred Fish b7209cb4ed Changes approved by kev@cygnus.com, ezannoni@cygnus.com, eliz@is.elta.co.il.
Changelog:

	2001-10-27  Fred Fish  <fnf@redhat.com>

	* symfile.c (auto_solib_add): Update comment to note that
	this variable is now just used as a boolean to control shlib
	autoloading, and clarify when it is used.
	* symfile.h (auto_solib_add): Ditto.

	* symfile.c (auto_solib_limit): New variable that holds the
	autoloading threshold instead of overloading auto_solib_add.
	* symfile.h (auto_solib_limit): Ditto.

	* irix5-nat.c (_initialize_solib): Change auto-solib-add
	variable from var_zinteger to var_boolean and update help.
	* osfsolib.c (_initialize_solib): Ditto.
	* pa64solib.c (_initialize_pa64_solib): Ditto.
	* solib.c (_initialize_solib): Ditto.
	* somsolib.c (_initialize_som_solib): Ditto.
	* xcoffsolib.c (_initialize_solib): Ditto.

	* pa64solib.c (pa64_solib_total_st_size): Update comment to
	note that the new auto_solib_limit variable is used instead
	of overloading auto_solib_add variable.
	(_initialize_pa64_solib): Ditto.
	* somsolib.c (som_solib_total_st_size): Ditto.
	(_initialize_som_solib): Ditto.

	* pa64solib.c (_initialize_pa64_solib): Add new set/show
	commands for auto-solib-limit variable.
	* somsolib.c (_initialize_som_solib): Ditto

	* pa64solib.c (add_to_solist): Check that auto_solib_add is
	set and use auto_solib_limit as the threshold size instead
	of auto_solib_add.
	* somsolib.c (som_solib_add): Ditto, and also change warning
	text about size threshold exceeded.

  doc/ChangeLog:

	2001-10-28  Fred Fish  <fnf@redhat.com>

	* gdb.texinfo (auto-solib-add): Change docs to match
	implementation change.
	(auto-solib-limit): Add docs for new variable.
2001-10-30 04:05:36 +00:00
Andrew Cagney 1aa20aa88f * value.h (value_as_address): Rename value_as_pointer.
* eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c,
jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c,
values.c: Update.
2001-10-16 01:58:07 +00:00
Andrew Cagney fc0c74b114 Add INTEGER_TO_ADDRESS to hadle nasty harvard architectures that do
funnies to integer to address conversions.
2001-10-15 18:18:30 +00:00
Jim Blandy f4846649b3 * Makefile.in (MAKEHTMLFLAGS): Remove -glossary; the most recent
version of texi2html (1.64) doesn't support this flag any more.
2001-10-12 21:10:07 +00:00
Jim Blandy e94a679a11 Remove incomplete section on overlays, committed by accident. 2001-09-12 19:49:52 +00:00
Mark Kettenis a9dc4918b3 * gdbint.texinfo (Host Definition): Remove description of
MEM_FNS_DECLARED.
2001-09-08 10:53:45 +00:00
Mark Kettenis d28379df76 * gdbint.texinfo (Host Definition): Remove description of R_OK. 2001-09-08 10:43:27 +00:00
Mark Kettenis f277788bc6 * gdbint.texinfo (Host Definition): Remove description of
HAVE_SIGSETMASK.
2001-09-08 10:28:20 +00:00
Elena Zannoni 7ccaa899b1 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Add
        explanation of TARGET_PRINT_INSN macro.
2001-09-06 12:01:36 +00:00
Jim Blandy 17d9d55883 * gdb.texinfo (`add-symbol-file'): Correct synopsis.
Explain what it means to load relocatable files.
2001-08-31 01:24:24 +00:00
Jim Blandy 72cde065d6 *** empty log message *** 2001-08-30 23:57:06 +00:00
Jim Blandy 496e6bc304 * gdbint.texinfo: Bring the HTML `top' menu into sync with the
info `top' menu.
2001-08-28 22:49:55 +00:00
Christopher Faylor 9e678452d7 * gdbint.texinfo: Add a cautionary note about macro use. 2001-08-15 14:47:53 +00:00
Corinna Vinschen a2bea4c366 * gdb.texinfo: Explain omitting the hostname in the
`target remote' command.
2001-08-02 10:52:07 +00:00
Daniel Jacobowitz 1129bf27e5 * gdbint.texinfo: Remove extraneous START-INFO-DIR-ENTRY
and END-INFO-DIR-ENTRY.
2001-07-31 17:30:56 +00:00
Stephane Carrez 732b300251 * gdb.texinfo (TUI Configuration): Rename tui configuration variables. 2001-07-28 19:35:20 +00:00
Andrew Cagney 89437448ae * gdbint.texinfo (libgdb): Rewrite. 2001-07-26 18:38:29 +00:00
Eli Zaretskii 9a1c15c5b4 Makefile.in (gdbgui.dvi, gdb-gui, gdbgui.info): Targets deleted. 2001-07-26 07:29:24 +00:00
Eli Zaretskii 45c54937db Removed. 2001-07-26 07:26:01 +00:00
Stephane Carrez c4555f8227 * gdb.texinfo (TUI): New chapter, document the TUI.
(Mode Options): Document the -tui option.
2001-07-24 18:48:15 +00:00
Mark Kettenis 2f45a6e05b * gdbint.texinfo (Host Definition): Remove description of
NEED_POSIX_SETPGID.
2001-07-24 10:35:42 +00:00
Eli Zaretskii 9f20bf26f8 Add new DJGPP-specific commands and document them in the manual.
Make the function which reads memory regions be more defensive
about buggy DPMI providers.
2001-07-23 16:10:24 +00:00
John R. Moore be9c6c3593 Three misspellings. 2001-07-20 01:14:05 +00:00
Andrew Cagney dfa249fb26 * Makefile.in (refcard.dvi): Rewrite to avoid problems with empty
`test` expressions on bash.  Problem reported by Colin Walters.
2001-07-14 16:14:10 +00:00
Andrew Cagney c72e73889f * gdbint.texinfo (User Interface): Update ui-out documentation to
refelect recent UI/MI updates.
2001-07-07 16:20:57 +00:00
Andrew Cagney 94bbb2c00d Mention mi0 and mi1 as --interpreter options. 2001-07-06 04:07:29 +00:00
Andrew Cagney af6c57eaf6 * gdbint.texinfo (Target Architecture Definition): GDBARCH is a C
structure and not macros.
(Host Definition): Document that much of this chapter is obsolete.
(Target Architecture Definition): Update list of files that make
up a target architecture.
(Coding): Update.
2001-07-04 20:52:14 +00:00
Andrew Cagney 83aa8bc680 * gdbint.texinfo (Target Architecture Definition): Update
EXTRACT_STRUCT_VALUE_ADDRESS and EXTRACT_STRUCT_VALUE_ADDRESS_P.
The latter has been changed to a true predicate.
2001-06-29 16:21:45 +00:00
Eli Zaretskii cb51c4e04d * annotate.texi: Add @noindent where needed. From Dmitry
Sivachenko <dima@Chg.RU>.
	* gdb.texinfo: Indexing fix.  From Dmitry Sivachenko.
2001-06-17 07:00:34 +00:00
Andrew Cagney 656db9b087 Fix typo. 2001-06-16 19:42:35 +00:00
Andrew Cagney df2396a1a3 Fix doco on ``!'' and ``R'' packets. 2001-06-14 22:10:46 +00:00
Michael Snyder 0f1f2b0a26 2001-06-13 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (Protocol): Add doc for new packet "qSymbol:".
2001-06-14 19:17:00 +00:00
Eli Zaretskii 24f931295e * gdb.texinfo (Signals): Clarify the default setting of signal
handling.
2001-06-13 08:40:23 +00:00
Andrew Cagney a5d7c4910b Remove stray @item's. 2001-05-14 20:24:23 +00:00
Andrew Cagney 05a54c4ffa * Makefile.in (GDBvn.texi): Set GDBVN from ../version.in. 2001-05-14 16:18:50 +00:00
Eli Zaretskii dab11f21ed * gdbint.texinfo (Clean Design and Portable Implementation):
Renamed from "Clean Design".
	(Clean Design and Portable Implementation): Document portable
	methods of handling file names, and the associated macros.
2001-05-10 10:29:37 +00:00
Eli Zaretskii 4a98ee0ed1 Fix a typo. 2001-05-03 10:24:19 +00:00
Eli Zaretskii f5c37c66ad * gdb.texinfo (Tracepoint Actions): Mention the "info scope"
command and provide a cross-reference to its description.
	(Symbols): Note that "info scope" is useful for trace experiments.
2001-04-02 08:58:19 +00:00
Eli Zaretskii b37052ae3b * gdb.texinfo (Symbols): Document "info scope".
(Tracepoints): New chapter.
	(Contributors): Update for v5.1.
	<All nodes>: Change "C++" to "C@t{++}".
2001-04-01 09:15:21 +00:00
Eli Zaretskii 0ee5478628 * gdbint.texinfo (User Interface): A new section about ui_out
functions, based on text written by Fernando Nasser.
2001-04-01 09:07:08 +00:00
Eli Zaretskii c534679c58 Change Permissions to GFDL. Update Copyright. 2001-04-01 09:04:44 +00:00
Eli Zaretskii e9c75b65b1 * gdbint.texinfo: Change Permissions to GFDL. Update Copyright.
* gdbgui.texinfo: Change Permissions to GFDL.  Update Copyright.
	Replace "GDB" with "@value{GDBN}".  Fix markup.

	* annotate.texi: Change Permissions to GFDL.  Update Copyright.

	* gdb.texinfo: Change Permissions to GFDL.  Update Copyright.

	* gdbmi.texinfo: Update copyright.  Change Permissions to GFDL.
2001-03-26 11:51:50 +00:00
Eli Zaretskii 3d67e040a5 * gdb.texinfo (Output Formats): Mention "info symbol" and provide
a cross-reference to its description.
	(Symbols): Document "info symbol".
2001-03-26 11:35:03 +00:00
Eli Zaretskii 9742079a31 * gdbint.texinfo (Algorithms): New section "Watchpoints" and new
subsection "x86 Watchpoints".
	(Target Architecture Definition): Document
	I386_USE_GENERIC_WATCHPOINTS and TARGET_HAS_HARDWARE_WATCHPOINTS.
	(Native Debugging): Document I386_USE_GENERIC_WATCHPOINTS.
2001-03-21 11:39:23 +00:00
Andrew Cagney b0ed35899a Change SOFTWARE_SINGLE_STEP_P into SOFTWARE_SINGLE_STEP_P(). 2001-03-20 18:16:28 +00:00
Kevin Buettner b6ba6518e9 Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
Eli Zaretskii 5ece1a18c0 * gdb.texinfo (Signals): Document "ignore", "noignore", and "all". 2001-02-21 16:17:50 +00:00
Eli Zaretskii 17cc6a06fb * gdb.texinfo (Environment): Document that `path' does not change
the value of PATH in GDB's own environment (it did in the past,
	but that was changed on March 15, 1994).  Reported by Doug Evans
	<dje@transmeta.com>.
2001-02-11 13:37:32 +00:00
Eli Zaretskii 56caf160f3 * gdbint.texinfo: Fix up @itemize lists so that @item is alone on
its line.  Fix markup of commands.  Add an index and index entries.
2001-02-11 05:48:30 +00:00