aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2005-05-01 16:02:56 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2005-05-01 16:02:56 +0000
commit36d3b95500e41eafdea62bb4bd6583a5a391ec43 (patch)
tree67a936b8bbe5facbbe3448a44cbf8a68f322154e /binutils
parent68b9939aecfb9a890549e820488812ae566b6aa9 (diff)
downloadgdb-36d3b95500e41eafdea62bb4bd6583a5a391ec43.zip
gdb-36d3b95500e41eafdea62bb4bd6583a5a391ec43.tar.gz
gdb-36d3b95500e41eafdea62bb4bd6583a5a391ec43.tar.bz2
* doc/binutils.texi (strip, objcopy): Clarify the description of
the "--strip-debug" option. Fix a typo.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/doc/binutils.texi7
2 files changed, 9 insertions, 3 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 13202d2..c0006fa 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-01 Maciej W. Rozycki <macro@linux-mips.org>
+
+ * doc/binutils.texi (strip, objcopy): Clarify the description of
+ the "--strip-debug" option. Fix a typo.
+
2005-04-29 H.J. Lu <hongjiu.lu@intel.com>
* bucomm.c: Undo the last change.
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index 33e3025..5fe6e52 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -1428,8 +1428,9 @@ Creates a .gnu_debuglink section which contains a reference to @var{path-to-file
and adds it to the output file.
@item --only-keep-debug
-Strip a file, removing any sections that would be stripped by
-@option{--strip-debug} and leaving the debugging sections.
+Strip a file, removing contents of any sections that would not be
+stripped by @option{--strip-debug} and leaving the debugging sections
+intact.
The intention is that this option will be used in conjunction with
@option{--add-gnu-debuglink} to create a two part executable. One a
@@ -1460,7 +1461,7 @@ optional. You could instead do this:
@item Run @code{objcopy --add-gnu-debuglink=foo.full foo}
@end enumerate
-ie the file pointed to by the @option{--add-gnu-debuglink} can be the
+i.e. the file pointed to by the @option{--add-gnu-debuglink} can be the
full executable. It does not have to be a file created by the
@option{--only-keep-debug} switch.