This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: No step button using insight w/ remote target.
On Mon, Nov 19, 2001 at 04:44:13PM -0600, Grant Edwards wrote:
> On Mon, Nov 19, 2001 at 01:05:19PM -0800, Keith Seitz wrote:
> > > (gdb) print inferior_ptid
> > > $1 = {pid = 42000, lwp = 0, tid = 0}
> >
> > Ok, so someone is resetting it somewhere... Can you find out who that is?
>
> It's being changed from {42000,0,0} to {0,0,0} in
> infrun.c:contect_switch() at the last line in the function.
Moving that assignment into the inside of the "then" part of
the "if (in_thread_list...)" makes things work, but I doubt
that's the right way to fix the problem.
--
Grant Edwards
grante@visi.com