diff options
Diffstat (limited to 'gdb/testsuite/gdb.asm/asmsrc1.s')
-rw-r--r-- | gdb/testsuite/gdb.asm/asmsrc1.s | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.asm/asmsrc1.s b/gdb/testsuite/gdb.asm/asmsrc1.s index 8bd41ad..f14cd91 100644 --- a/gdb/testsuite/gdb.asm/asmsrc1.s +++ b/gdb/testsuite/gdb.asm/asmsrc1.s @@ -46,3 +46,18 @@ foo3: .global exit exit: gdbasm_exit0 + +comment "A static function" + +foostatic: + gdbasm_enter + gdbasm_leave + +comment "A global variable" + + .global globalvar +gdbasm_datavar globalvar 11 + +comment "A static variable" + +gdbasm_datavar staticvar 5 |