1999-04-16 01:35:26 +00:00
|
|
|
.include "common.inc"
|
|
|
|
.include "arch.inc"
|
|
|
|
|
|
|
|
comment "Second file in assembly source debugging testcase."
|
|
|
|
|
|
|
|
.global foo2
|
2002-10-22 01:43:37 +00:00
|
|
|
gdbasm_declare foo2
|
2001-11-10 17:55:48 +00:00
|
|
|
gdbasm_enter
|
1999-04-16 01:35:26 +00:00
|
|
|
|
2001-12-04 19:45:57 +00:00
|
|
|
comment "Call someplace else (several times)."
|
1999-04-16 01:35:26 +00:00
|
|
|
|
2001-11-10 17:55:48 +00:00
|
|
|
gdbasm_call foo3
|
2001-12-04 19:45:57 +00:00
|
|
|
gdbasm_call foo3
|
1999-04-16 01:35:26 +00:00
|
|
|
|
|
|
|
comment "All done, return."
|
|
|
|
|
2001-11-10 17:55:48 +00:00
|
|
|
gdbasm_leave
|
2002-10-22 01:43:37 +00:00
|
|
|
gdbasm_end foo2
|