Commit | Line | Data |
---|---|---|
76b098d1 | 1 | /* GDB legitimately expects a file name. */ |
8cced93d | 2 | .file 1 "weird.c" |
76b098d1 | 3 | @stabs |
8cced93d | 4 | .stabs "weird.c",0x64,0,0,0 |
76b098d1 PS |
5 | |
6 | #define N_LSYM 0x80 | |
7 | #define N_GSYM 0x20 | |
8 | ||
9 | #define N_BCOMM 0xe2 | |
10 | #define N_ECOMM 0xe4 | |
11 | #define BEGIN_COMMON(name) .stabs name,N_BCOMM,0,0,0 | |
12 | #define END_COMMON(name) .stabs name,N_ECOMM,0,0,0 | |
13 | ||
14 | #define VAR(name) \ | |
15 | .globl name; \ | |
16 | .data; \ | |
17 | .align 2; \ | |
18 | name:; \ | |
19 | .word 42 | |
20 | ||
21 | #define STAB(string,type,value) .stabs string,type,0,0,value | |
8cced93d | 22 | #include "weird.def" |
76b098d1 PS |
23 | |
24 | /* Stuff with backslashes needs to go here, since gcc with stabs treats | |
25 | them differently. */ | |
26 | ||
27 | STAB("sym92:\ !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~",N_LSYM,0) | |
28 | STAB("type92:t92=\ !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~",N_LSYM,0) | |
29 | STAB("attr92:G392=@\ !#$%&'()*+,-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~;1",N_GSYM, 0) |