This is the mail archive of the
mailing list for the GDB project.
restore inferior missed in read_pc_pid()?
- From: Sergei Poselenov <sergei dot poselenov at auriga dot ru>
- To: gdb at sources dot redhat dot com
- Date: Fri, 26 Dec 2003 14:33:14 +0000
- Subject: restore inferior missed in read_pc_pid()?
I'm looking at read_pc_pid() :
/* Else use per-frame method on get_current_frame. */
else if (PC_REGNUM >= 0)
CORE_ADDR raw_val = read_register_pid (PC_REGNUM, ptid);
CORE_ADDR pc_val = ADDR_BITS_REMOVE (raw_val);
and can't understand why the inferior_ptid is not restored for this case?