public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gdb: Remove d10v from overlay documentation
@ 2022-05-06  9:52 Craig Blackmore
  0 siblings, 0 replies; only message in thread
From: Craig Blackmore @ 2022-05-06  9:52 UTC (permalink / raw)
  To: gdb-patches

d10v support was removed years ago but the Overlay Sample Program in the
documentation still refers to it. Remove these references and use m32r
in the example instead.
---
 gdb/doc/gdb.texinfo | 31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index fe81687a66c..a4dd6c9a16b 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -15989,8 +15989,8 @@ architecture, and target memory layout, this manual cannot provide
 portable sample code demonstrating @value{GDBN}'s overlay support.
 
 However, the @value{GDBN} source distribution does contain an overlaid
-program, with linker scripts for a few systems, as part of its test
-suite.  The program consists of the following files from
+program, with a linker script for the @code{m32r-elf} target, as part of
+its test suite.  The program consists of the following files from
 @file{gdb/testsuite/gdb.base}:
 
 @table @file
@@ -16003,29 +16003,28 @@ A simple overlay manager, used by @file{overlays.c}.
 @itemx baz.c
 @itemx grbx.c
 Overlay modules, loaded and used by @file{overlays.c}.
-@item d10v.ld
-@itemx m32r.ld
-Linker scripts for linking the test program on the @code{d10v-elf}
-and @code{m32r-elf} targets.
+@item m32r.ld
+Linker script for linking the test program on the @code{m32r-elf}
+target.
 @end table
 
-You can build the test program using the @code{d10v-elf} GCC
+You can build the test program using the @code{m32r-elf} GCC
 cross-compiler like this:
 
 @smallexample
-$ d10v-elf-gcc -g -c overlays.c
-$ d10v-elf-gcc -g -c ovlymgr.c
-$ d10v-elf-gcc -g -c foo.c
-$ d10v-elf-gcc -g -c bar.c
-$ d10v-elf-gcc -g -c baz.c
-$ d10v-elf-gcc -g -c grbx.c
-$ d10v-elf-gcc -g overlays.o ovlymgr.o foo.o bar.o \
-                  baz.o grbx.o -Wl,-Td10v.ld -o overlays
+$ m32r-elf-gcc -g -c overlays.c
+$ m32r-elf-gcc -g -c ovlymgr.c
+$ m32r-elf-gcc -g -c foo.c
+$ m32r-elf-gcc -g -c bar.c
+$ m32r-elf-gcc -g -c baz.c
+$ m32r-elf-gcc -g -c grbx.c
+$ m32r-elf-gcc -g overlays.o ovlymgr.o foo.o bar.o \
+                  baz.o grbx.o -Wl,-Tm32r.ld -o overlays
 @end smallexample
 
 The build process is identical for any other architecture, except that
 you must substitute the appropriate compiler and linker script for the
-target system for @code{d10v-elf-gcc} and @code{d10v.ld}.
+target system for @code{m32r-elf-gcc} and @code{m32r.ld}.
 
 
 @node Languages
-- 
2.17.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-06  9:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06  9:52 [PATCH] gdb: Remove d10v from overlay documentation Craig Blackmore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).