mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
0ce17860b0
hard-coding source line numbers into the test. * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for gdb_get_line_number to find.
22 lines
388 B
ArmAsm
22 lines
388 B
ArmAsm
.include "common.inc"
|
|
.include "arch.inc"
|
|
|
|
comment "Second file in assembly source debugging testcase."
|
|
|
|
.global foo2
|
|
gdbasm_declare foo2
|
|
comment "mark: foo2 start"
|
|
gdbasm_enter
|
|
|
|
comment "Call someplace else (several times)."
|
|
|
|
comment "mark: call foo3"
|
|
gdbasm_call foo3
|
|
gdbasm_call foo3
|
|
|
|
comment "All done, return."
|
|
|
|
comment "mark: foo2 leave"
|
|
gdbasm_leave
|
|
gdbasm_end foo2
|