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
|
2007-12-22 06:44:28 +00:00
|
|
|
comment "mark: foo2 start"
|
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
|
|
|
|
2007-12-22 06:44:28 +00:00
|
|
|
comment "mark: call foo3"
|
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
|
|
|
|
2007-12-22 06:44:28 +00:00
|
|
|
comment "mark: foo2 leave"
|
2001-11-10 17:55:48 +00:00
|
|
|
gdbasm_leave
|
2002-10-22 01:43:37 +00:00
|
|
|
gdbasm_end foo2
|