diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-01-08 23:18:29 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-01-08 23:18:29 +0000 |
commit | f5818d79ddec0f5cd55bf625e2e8602b09113947 (patch) | |
tree | 2e150465428578c44c2d5ecc65f1927ee1a399cf /binutils/objcopy.1 | |
parent | 1a418120d70669361141f1de2bdb490a63df22e1 (diff) | |
download | gdb-f5818d79ddec0f5cd55bf625e2e8602b09113947.zip gdb-f5818d79ddec0f5cd55bf625e2e8602b09113947.tar.gz gdb-f5818d79ddec0f5cd55bf625e2e8602b09113947.tar.bz2 |
* objcopy.c: Include budbg.h.
(convert_debugging): New static variable.
(OPTION_DEBUGGING): Define.
(copy_options): Add "debugging".
(copy_usage): Mention --debugging.
(is_strip_section): Skip debugging sections if convert_debugging.
(setup_section, copy_section): Likewise.
(filter_symbols): Skip debugging symbols if convert_debugging.
(copy_object): If convert_debugging, read and write debugging
information.
(write_debugging_info): New static function.
(copy_main): Handle --debugging.
* Makefile.in (DEBUG_OBJS): New variable.
($(OBJCOPY_PROG)): Depend upon and link against $(DEBUG_OBJS).
($(STRIP_PROG)): Likewise.
(OBJDUMP_OBJS): Remove variable.
($(OBJDUMP_PROG)): Use objdump.o $(DEBUG_OBJS) rather than
$(OBJDUMP_OBJS).
* binutils.texi, objcopy.1: Document --debugging.
Diffstat (limited to 'binutils/objcopy.1')
-rw-r--r-- | binutils/objcopy.1 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/binutils/objcopy.1 b/binutils/objcopy.1 index 7694cf4..c2d5c5c 100644 --- a/binutils/objcopy.1 +++ b/binutils/objcopy.1 @@ -28,6 +28,7 @@ objcopy \- copy and translate object files .RB "[\|" \-X\fR\ |\ \fB\-\-discard\-locals\fR "\|]" .RB "[\|" \-b\ \fIbyte\fR\ |\ \fB\-\-byte=\fIbyte\fR "\|]" .RB "[\|" \-i\ \fIinterleave\fR\ |\ \fB\-\-interleave=\fIinterleave\fR "\|]" +.RB "[\|" \-\-debugging "\|]" .RB "[\|" \-\-gap\-fill=\fIval\fR "\|]" .RB "[\|" \-\-pad\-to=\fIaddress\fR "\|]" .RB "[\|" \-\-set\-start=\fIval\fR "\|]" @@ -155,6 +156,11 @@ Only copy one out of every \fIinterleave\fP bytes. Which one to copy is selected by the \fB\-b\fP or \fB\-\-byte\fP option. The default is 4. The interleave is ignored if neither \fB\-b\fP nor \fB\-\-byte\fP is given. .TP +.B \-\-debugging +Convert debugging information, if possible. This is not the default +because only certain debugging formats are supported, and the +conversion process can be time consuming. +.TP .B \-\-gap\-fill=\fIval Fill gaps between sections with \fIval\fP. This is done by increasing the size of the section with the lower address, and filling in the extra @@ -236,7 +242,7 @@ The GNU Binary Utilities\c \&, Roland H. Pesch (June 1993). .SH COPYING -Copyright (c) 1993,1994 Free Software Foundation, Inc. +Copyright (c) 1993, 94, 95, 1996 Free Software Foundation, Inc. .PP Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice |