1999-04-16 03:35:26 +02:00
|
|
|
.include "common.inc"
|
|
|
|
.include "arch.inc"
|
|
|
|
|
2005-12-09 12:02:09 +01:00
|
|
|
comment "Second file in assembly source debugging testcase."
|
1999-04-16 03:35:26 +02:00
|
|
|
|
|
|
|
.global foo2
|
2005-12-09 12:02:09 +01:00
|
|
|
gdbasm_declare foo2
|
2007-12-22 07:44:28 +01:00
|
|
|
comment "mark: foo2 start"
|
2001-11-10 18:55:48 +01:00
|
|
|
gdbasm_enter
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-12-09 12:02:09 +01:00
|
|
|
comment "Call someplace else (several times)."
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2007-12-22 07:44:28 +01:00
|
|
|
comment "mark: call foo3"
|
2001-11-10 18:55:48 +01:00
|
|
|
gdbasm_call foo3
|
2001-12-04 20:45:57 +01:00
|
|
|
gdbasm_call foo3
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-12-09 12:02:09 +01:00
|
|
|
comment "All done, return."
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2007-12-22 07:44:28 +01:00
|
|
|
comment "mark: foo2 leave"
|
2001-11-10 18:55:48 +01:00
|
|
|
gdbasm_leave
|
2002-10-22 03:43:37 +02:00
|
|
|
gdbasm_end foo2
|