diff options
Diffstat (limited to 'gdb/testsuite/gdb.python/py-disasm.c')
-rw-r--r-- | gdb/testsuite/gdb.python/py-disasm.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-disasm.c b/gdb/testsuite/gdb.python/py-disasm.c index ee0bb15..e5c4d2f 100644 --- a/gdb/testsuite/gdb.python/py-disasm.c +++ b/gdb/testsuite/gdb.python/py-disasm.c @@ -16,10 +16,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ int -main () +test () { asm ("nop"); asm ("nop"); /* Break here. */ asm ("nop"); return 0; } + +int +main () +{ + return test (); +} |