diff options
author | Pierre Muller <muller@sourceware.org> | 2010-04-05 22:43:49 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2010-04-05 22:43:49 +0000 |
commit | ec8a089a3021e52b4e686dd75d84e6ef26511737 (patch) | |
tree | 7c347e89526868d1331a59624981b65f68486a4d /gdb/testsuite/gdb.stabs/xcoff.sed | |
parent | 2244ba2e4ab60c3d509b78893ade3a7efb6618cc (diff) | |
download | fsf-binutils-gdb-ec8a089a3021e52b4e686dd75d84e6ef26511737.zip fsf-binutils-gdb-ec8a089a3021e52b4e686dd75d84e6ef26511737.tar.gz fsf-binutils-gdb-ec8a089a3021e52b4e686dd75d84e6ef26511737.tar.bz2 |
* gdb/stabsread.c (define_symbol): Add support for char
and string constants.
* gdb/testsuite/gdb.stabs/aout.sed: Convert all backslash to double backslash
within one line, unless it is followed by a double quote.
* gdb/testsuite/gdb.stabs/hppa.sed: Idem.
* gdb/testsuite/gdb.stabs/weird.def: Add char and String constants
* gdb/testsuite/gdb.stabs/weird.exp: Check for correct parsing of
chhar and string constants.
* gdb/testsuite/gdb.stabs/xcoff.sed: Ignore escaped quote quotes
in .stabs to .stabx substitution.
Diffstat (limited to 'gdb/testsuite/gdb.stabs/xcoff.sed')
-rw-r--r-- | gdb/testsuite/gdb.stabs/xcoff.sed | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.stabs/xcoff.sed b/gdb/testsuite/gdb.stabs/xcoff.sed index 8a6b4ef..6dc8198 100644 --- a/gdb/testsuite/gdb.stabs/xcoff.sed +++ b/gdb/testsuite/gdb.stabs/xcoff.sed @@ -4,7 +4,7 @@ 1i\ .csect .data[RW] # .stabs string,type,0,0,value -> .stabx string,value,type,0 -s/^[ ]*\.stabs[ ]*\("[^"]*"\),[ ]*\([^,]*\),[ ]*0,0,[ ]*\(.*\)$/.stabx \1,\3,\2,0/ +s/^[ ]*\.stabs[ ]*("(\"|[^"])*"),[ ]*([^,]*),[ ]*0,0,[ ]*(.*)$/.stabx \1,\4,\3,0/ s/N_GSYM/128/ # This needs to be C_DECL, which is used for types, not C_LSYM, which is # ignored on the initial scan. |