This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH] gcore registers storing fix
Daniel Jacobowitz wrote:
On Mon, Nov 09, 2009 at 11:59:26AM -0300, Daniel Gutson wrote:
What would you suggest? I could bound the check to the current frame.
You say in your comment, "The threads should be standing at a
known function, rather than ??". I'm not sure how we can know
that. The threads may have been stopped anywhere, and it's
always possible to find a library with no symbols.
How about we check that at least one thread is in "thread2"? That's
where gcore was used to create the core file. Except, there's already
a test for that in the file. So maybe we do not need a new test.
I'm guessing that what you want to test is the non-event
thread, ie. the one that is suspended while the other one
hits the breakpoint?