summaryrefslogtreecommitdiff
path: root/sis.c
diff options
context:
space:
mode:
Diffstat (limited to 'sis.c')
-rw-r--r--sis.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sis.c b/sis.c
index 34d199d..ff351f8 100644
--- a/sis.c
+++ b/sis.c
@@ -288,7 +288,10 @@ main (argc, argv)
}
if (gdb)
- gdb_remote (port);
+ {
+ sregs->pc = last_load_addr;
+ gdb_remote (port);
+ }
while (cont)
{