diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-06-28 15:03:27 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-06-28 15:03:27 +0000 |
commit | f492b6c11b56018ac91c477ac6b3cf46881b435d (patch) | |
tree | be401803455c6b2eb86543d7b10df064ec4df198 /gdb/testsuite/gdb.stabs | |
parent | 09a78a3d1249db7d0707f548f92f0e2d7fb9f55d (diff) | |
download | gdb-f492b6c11b56018ac91c477ac6b3cf46881b435d.zip gdb-f492b6c11b56018ac91c477ac6b3cf46881b435d.tar.gz gdb-f492b6c11b56018ac91c477ac6b3cf46881b435d.tar.bz2 |
* gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
{BEGIN,END}_COMMON for common block instead of STAB.
Diffstat (limited to 'gdb/testsuite/gdb.stabs')
-rw-r--r-- | gdb/testsuite/gdb.stabs/wierd-aout.S | 3 | ||||
-rw-r--r-- | gdb/testsuite/gdb.stabs/wierd-xcoff.S | 7 | ||||
-rw-r--r-- | gdb/testsuite/gdb.stabs/wierd.def | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.stabs/wierd-aout.S b/gdb/testsuite/gdb.stabs/wierd-aout.S index a16ff04..63857cf 100644 --- a/gdb/testsuite/gdb.stabs/wierd-aout.S +++ b/gdb/testsuite/gdb.stabs/wierd-aout.S @@ -6,8 +6,11 @@ Label0: #define N_LSYM 0x80 #define N_GSYM 0x20 + #define N_BCOMM 0xe2 #define N_ECOMM 0xe4 +#define BEGIN_COMMON(name) .stabs name, N_BCOMM, 0, 0, 0 +#define END_COMMON(name) .stabs name, N_ECOMM, 0, 0, 0 #define VAR(name) \ .globl name; \ diff --git a/gdb/testsuite/gdb.stabs/wierd-xcoff.S b/gdb/testsuite/gdb.stabs/wierd-xcoff.S index 0b65f6f..f697d76 100644 --- a/gdb/testsuite/gdb.stabs/wierd-xcoff.S +++ b/gdb/testsuite/gdb.stabs/wierd-xcoff.S @@ -1,7 +1,10 @@ #define N_GSYM 128 #define N_LSYM 129 -#define N_BCOMM 135 -#define N_ECOMM 137 + +/* If we try to use .stabx for common blocks, the AIX assembler (bogusly) + complains about the lack of a colon in the stabstring. */ +#define BEGIN_COMMON(name) .bc name +#define END_COMMON(name) .ec #define VAR(name) \ .globl name; \ diff --git a/gdb/testsuite/gdb.stabs/wierd.def b/gdb/testsuite/gdb.stabs/wierd.def index 093991b..495906a 100644 --- a/gdb/testsuite/gdb.stabs/wierd.def +++ b/gdb/testsuite/gdb.stabs/wierd.def @@ -323,11 +323,11 @@ VAR (_common0) VAR (common0) .long 24 .long 22 -STAB ("common0", N_BCOMM, 0) +BEGIN_COMMON ("common0") STAB ("common0var0:S1", N_GSYM, 0) STAB ("common0var1:S1", N_GSYM, 4) STAB ("common0var2:S1", N_GSYM, 8) -STAB ("common0", N_ECOMM, 0) +END_COMMON ("common0") STAB("attr94:G394=@^ !#$%&'()*+,-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~;1",N_GSYM, 0) STAB("attr95:G395=@_ !#$%&'()*+,-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~;1",N_GSYM, 0) |