diff options
author | Eli Zaretskii <eliz@gnu.org> | 2002-01-20 11:59:38 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2002-01-20 11:59:38 +0000 |
commit | 56248298dc57e763e4e8afbd90926bc19e25b3ac (patch) | |
tree | a1823c8b5f5d888f2d6b602f17851594e50a417f /gdb | |
parent | 798c8bc6fa7340be04a89a9fb93c9ae3401b9501 (diff) | |
download | binutils-56248298dc57e763e4e8afbd90926bc19e25b3ac.zip binutils-56248298dc57e763e4e8afbd90926bc19e25b3ac.tar.gz binutils-56248298dc57e763e4e8afbd90926bc19e25b3ac.tar.bz2 |
(DJGPP Native): Fix overfull hboxes in examples. From Brian Youmans
<3diff@gnu.org>
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/doc/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 23 |
2 files changed, 14 insertions, 11 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index ae7b3e9..c6dee70 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,6 +1,8 @@ 2002-01-20 Eli Zaretskii <eliz@is.elta.co.il> * gdb.texinfo: Beautify copyright years; fix a typo. + (DJGPP Native): Fix overfull hboxes in examples. From Brian Youmans + <3diff@gnu.org> 2002-01-19 Andrew Cagney <ac131313@redhat.com> diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 1a6c271..bc9b191 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -11469,8 +11469,8 @@ example, here's a convenient way to display information about the debugged program's data segment: @smallexample -(@value{GDBP}) info dos ldt $ds -0x13f: base=0x11970000 limit=0x0009ffff 32-Bit Data (Read/Write, Exp-up) +@exdent @code{(@value{GDBP}) info dos ldt $ds} +@exdent @code{0x13f: base=0x11970000 limit=0x0009ffff 32-Bit Data (Read/Write, Exp-up)} @end smallexample @noindent @@ -11497,6 +11497,7 @@ Directory table. An argument given to the @kbd{info dos pte} command means display entries from a single Page Table, the one pointed to by the specified entry in the Page Directory. +@cindex direct memory access (DMA) on MS-DOS These commands are useful when your program uses @dfn{DMA} (Direct Memory Access), which needs physical addresses to program the DMA controller. @@ -11504,18 +11505,18 @@ controller. These commands are supported only with some DPMI servers. @cindex physical address from linear address -@item info dos address-pte +@item info dos address-pte @var{addr} This command displays the Page Table entry for a specified linear -address. The argument linear address should already have the +address. The argument linear address @var{addr} should already have the appropriate segment's base address added to it, because this command accepts addresses which may belong to @emph{any} segment. For example, here's how to display the Page Table entry for the page where the variable @code{i} is stored: -@smallexample -(@value{GDBP}) info dos address-pte __djgpp_base_address + (char *)&i -Page Table entry for address 0x11a00d30: -Base=0x02698000 Dirty Acc. Not-Cached Write-Back Usr Read-Write +0xd30 +@smallexample +@exdent @code{(@value{GDBP}) info dos address-pte __djgpp_base_address + (char *)&i} +@exdent @code{Page Table entry for address 0x11a00d30:} +@exdent @code{Base=0x02698000 Dirty Acc. Not-Cached Write-Back Usr Read-Write +0xd30} @end smallexample @noindent @@ -11534,9 +11535,9 @@ Here's another example, it displays the Page Table entry for the transfer buffer: @smallexample -(@value{GDBP}) info dos address-pte *((unsigned *)&_go32_info_block + 3) -Page Table entry for address 0x29110: -Base=0x00029000 Dirty Acc. Not-Cached Write-Back Usr Read-Write +0x110 +@exdent @code{(@value{GDBP}) info dos address-pte *((unsigned *)&_go32_info_block + 3)} +@exdent @code{Page Table entry for address 0x29110:} +@exdent @code{Base=0x00029000 Dirty Acc. Not-Cached Write-Back Usr Read-Write +0x110} @end smallexample @noindent |