X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fdink32-rom.c;h=f62e7129c36eb30bf34ceed08385b4f3e29e7fdd;hb=39f770628a4eaf018fec8d55684bf2ec16ada9cc;hp=32e3279e5c9b379ebd868139796cef26e6e064ad;hpb=b1af961c8433821f61dd1849cff9eb9a8bb974e8;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/dink32-rom.c b/gdb/dink32-rom.c index 32e3279e5c..f62e7129c3 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 */ }