Commit | Line | Data |
---|---|---|
c906108c SS |
1 | .include "common.inc" |
2 | .include "arch.inc" | |
3 | ||
5f2c56f7 | 4 | comment "Second file in assembly source debugging testcase." |
c906108c SS |
5 | |
6 | .global foo2 | |
5f2c56f7 | 7 | gdbasm_declare foo2 |
0ce17860 | 8 | comment "mark: foo2 start" |
45b074e1 | 9 | gdbasm_enter |
c906108c | 10 | |
5f2c56f7 | 11 | comment "Call someplace else (several times)." |
c906108c | 12 | |
0ce17860 | 13 | comment "mark: call foo3" |
45b074e1 | 14 | gdbasm_call foo3 |
ca9efc90 | 15 | gdbasm_call foo3 |
c906108c | 16 | |
5f2c56f7 | 17 | comment "All done, return." |
c906108c | 18 | |
0ce17860 | 19 | comment "mark: foo2 leave" |
45b074e1 | 20 | gdbasm_leave |
8b1d7e37 | 21 | gdbasm_end foo2 |