This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gcore registers storing fix


Daniel Jacobowitz wrote:
On Mon, Nov 09, 2009 at 11:59:26AM -0300, Daniel Gutson wrote:
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.
What would you suggest? I could bound the check to the current frame.

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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]