diff options
author | Nick Clifton <nickc@redhat.com> | 2001-09-14 11:32:25 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-09-14 11:32:25 +0000 |
commit | d132876a03877efa59ef0714d56cd53ae338b1e6 (patch) | |
tree | 9acbac537e2d34ffa3afce2dd9d7e6ac41f582c7 /binutils/doc | |
parent | 2613489e4e5d9f05074e5ab9d30ea4ee7b228492 (diff) | |
download | gdb-d132876a03877efa59ef0714d56cd53ae338b1e6.zip gdb-d132876a03877efa59ef0714d56cd53ae338b1e6.tar.gz gdb-d132876a03877efa59ef0714d56cd53ae338b1e6.tar.bz2 |
Add new command line option '--encoding' to strings
Diffstat (limited to 'binutils/doc')
-rw-r--r-- | binutils/doc/binutils.texi | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index ecb767c..6b6f19e 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -1853,9 +1853,12 @@ ar(1), objdump(1), readelf(1), and the Info entries for @file{binutils}. @smallexample @c man begin SYNOPSIS strings -strings [@option{-afov}] [@option{-}@var{min-len}] [@option{-n} @var{min-len}] [@option{-t} @var{radix}] [@option{-}] - [@option{--all}] [@option{--print-file-name}] [@option{--bytes=}@var{min-len}] - [@option{--radix=}@var{radix}] [@option{--target=}@var{bfdname}] +strings [@option{-afov}] [@option{-}@var{min-len}] + [@option{-n} @var{min-len}] [@option{--bytes=}@var{min-len}] + [@option{-t} @var{radix}] [@option{--radix=}@var{radix}] + [@option{-e} @var{encoding}] [@option{--encoding=}@var{encoding}] + [@option{-}] [@option{--all}] [@option{--print-file-name}] + [@option{--target=}@var{bfdname}] [@option{--help}] [@option{--version}] @var{file}@dots{} @c man end @end smallexample @@ -1907,6 +1910,15 @@ Print the offset within the file before each string. The single character argument specifies the radix of the offset---@samp{o} for octal, @samp{x} for hexadecimal, or @samp{d} for decimal. +@item -e @var{encoding} +@itemx --encoding=@var{encoding} +Select the character encoding of the strings that are to be found. +Possible values for @var{encoding} are: @samp{s} = single-byte +characters (ASCII, ISO 8859, etc., default), @samp{b} = 16-bit +Bigendian, @samp{l} = 16-bit Littleendian, @samp{B} = 32-bit Bigendian, +@samp{L} = 32-bit Littleendian. Useful for finding wide character +strings. + @item --target=@var{bfdname} @cindex object code format Specify an object code format other than your system's default format. |