mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
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.
19 lines
301 B
ArmAsm
19 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
|