diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-09-15 22:17:29 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-09-15 22:17:29 +0000 |
commit | 8cced93dd736be1e1936cdb1a2de5e778febfaf0 (patch) | |
tree | f6846d595fb8397af4c50a40fad66137850c3caa /gdb/testsuite/gdb.stabs/weird-aout.S | |
parent | 0542a638d799252feb41e7c59153488bd8684333 (diff) | |
download | gdb-8cced93dd736be1e1936cdb1a2de5e778febfaf0.zip gdb-8cced93dd736be1e1936cdb1a2de5e778febfaf0.tar.gz gdb-8cced93dd736be1e1936cdb1a2de5e778febfaf0.tar.bz2 |
Change wierd to weird
Diffstat (limited to 'gdb/testsuite/gdb.stabs/weird-aout.S')
-rw-r--r-- | gdb/testsuite/gdb.stabs/weird-aout.S | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.stabs/weird-aout.S b/gdb/testsuite/gdb.stabs/weird-aout.S new file mode 100644 index 0000000..ddc44fd --- /dev/null +++ b/gdb/testsuite/gdb.stabs/weird-aout.S @@ -0,0 +1,30 @@ +/* GDB legitimately expects a file name. */ +/* The sun3 assembler bogusly requires that the value of this stab be a + label. Placate it. */ + .stabs "weird.c",0x64,0,0,Label0 +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; \ +.data; \ + .align 2; \ +name:; \ + .long 42 + +#define STAB(string,type,value) .stabs string,type,0,0,value +#include "weird.def" + +/* Stuff with backslashes needs to go here, since the aix assembler treats + them differently. */ + +STAB("sym92:\\ !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~",N_LSYM,0) +STAB("type92:t92=\\ !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~",N_LSYM,0) +STAB("attr92:G392=@\\ !#$%&'()*+,-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~;1",N_GSYM, 0) |