aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.stabs/wierd-xcoff.S
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.stabs/wierd-xcoff.S')
-rw-r--r--gdb/testsuite/gdb.stabs/wierd-xcoff.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.stabs/wierd-xcoff.S b/gdb/testsuite/gdb.stabs/wierd-xcoff.S
new file mode 100644
index 0000000..cdb5c13
--- /dev/null
+++ b/gdb/testsuite/gdb.stabs/wierd-xcoff.S
@@ -0,0 +1,12 @@
+#define N_LSYM 0x81
+#define N_GSYM 0x80
+
+#define VAR(name) \
+ .globl name; \
+ .csect .data[RW]; \
+ .align 1; \
+name:; \
+ .long 42; \
+ .csect [PR]
+#define STAB(string,type,value) .stabx string,value,type
+#include "wierd.def"