8b1d7e37a4
numbers. Allow "foo2|selected stack frame". * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end. * gdb.asm/asmsrc2.s: Likewise. * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update comments. * gdb.asm/mips.inc: New file.
18 lines
301 B
ArmAsm
18 lines
301 B
ArmAsm
.include "common.inc"
|
|
.include "arch.inc"
|
|
|
|
comment "Second file in assembly source debugging testcase."
|
|
|
|
.global foo2
|
|
gdbasm_declare foo2
|
|
gdbasm_enter
|
|
|
|
comment "Call someplace else (several times)."
|
|
|
|
gdbasm_call foo3
|
|
gdbasm_call foo3
|
|
|
|
comment "All done, return."
|
|
|
|
gdbasm_leave
|
|
gdbasm_end foo2
|