1999-04-16 01:35:26 +00:00
|
|
|
.include "common.inc"
|
|
|
|
.include "arch.inc"
|
|
|
|
|
2005-12-09 11:02:09 +00:00
|
|
|
comment "Second file in assembly source debugging testcase."
|
1999-04-16 01:35:26 +00:00
|
|
|
|
|
|
|
.global foo2
|
2005-12-09 11:02:09 +00:00
|
|
|
gdbasm_declare foo2
|
2001-11-10 17:55:48 +00:00
|
|
|
gdbasm_enter
|
1999-04-16 01:35:26 +00:00
|
|
|
|
2005-12-09 11:02:09 +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
|
|
|
|
2005-12-09 11:02:09 +00:00
|
|
|
comment "All done, return."
|
1999-04-16 01:35:26 +00:00
|
|
|
|
2001-11-10 17:55:48 +00:00
|
|
|
gdbasm_leave
|
2002-10-22 01:43:37 +00:00
|
|
|
gdbasm_end foo2
|