aboutsummaryrefslogtreecommitdiff
path: root/gdb/dink32-rom.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dink32-rom.c')
-rw-r--r--gdb/dink32-rom.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/dink32-rom.c b/gdb/dink32-rom.c
index 32e3279..f62e712 100644
--- a/gdb/dink32-rom.c
+++ b/gdb/dink32-rom.c
@@ -99,15 +99,13 @@ dink32_supply_register (char *regname, int regnamelen, char *val, int vallen)
static void
dink32_load (struct monitor_ops *monops, char *filename, int from_tty)
{
- extern int inferior_pid;
-
generic_load (filename, from_tty);
/* Finally, make the PC point at the start address */
if (exec_bfd)
write_pc (bfd_get_start_address (exec_bfd));
- inferior_pid = 0; /* No process now */
+ inferior_ptid = null_ptid; /* No process now */
}