This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Don't try to report resumed thread it the thread list is empty.
A Wednesday 09 July 2008 13:52:28, Pedro Alves wrote:
> A Wednesday 09 July 2008 13:04:11, Vladimir Prus wrote:
> > I'm not sure which way we want to make it consistent. Outputiing
> > "thread-id" with a "I don't exist" value of thread id seems a little bit
> > distasteful. I guess I can modify regexp to make thread-id optional.
>
> I meant either output -thread-id="0" everywhere, or don't output -thread=id
> at all, nowhere.
To be clear, I don't care that much about this inconsistency, what
I really want to have all targets register at least a thread, so
modifying the regexp is also fine with me, FWIW. Although I thought
that changing the code in this case would be a less invasive change, than
relaxing the testsuite.
--
Pedro Alves