This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB 6.6, remote, more threads
- From: Roland Puntaier <Roland dot Puntaier at br-automation dot com>
- To: gdb at sourceware dot org
- Date: Mon, 24 Sep 2007 19:20:09 +0200
- Subject: Re: GDB 6.6, remote, more threads
2007/09/24 19:10:59, Daniel Jacobowitz <drow@false.org> wrote:
> On Mon, Sep 24, 2007 at 07:04:13PM +0200, Roland Puntaier wrote:
> > 2007/09/24 18:50:54, Daniel Jacobowitz <drow@false.org> wrote:
> > > Try "set debug infrun 1" to see what's going on. What target is
this?
> >
> > Target is VxWorks.
>
> VxWorks does not, as far as I know, ship with a GDB stub which
> supports vCont; you may need to talk with whoever wrote the GDB stub
> you're using (or maybe you did, and this is a useless comment...).
Yes, I did.
>
> > infrun: infwait_normal_state
> > infrun: TARGET_WAITKIND_STOPPED
> > infrun: stop_pc = 0x383695b
> > infrun: context switch
> > infrun: trap expected
>
> Trap expected. Why? Probably caused by something that happened to
> thread 4f before the start of your example, since the trap_expected
> flag is thread-specific. Anyway, GDB thinks it was in the middle
> of something for this thread.
I see, I'll try to understand why Gdb got this 'trap_expected' flag.
Thanks for the hint, Daniel.
Regards, Roland.