Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] Exception on GDB "-stack-list-frames"

On Fri, Dec 21, 2007 at 08:27:13PM +0000, John Dallaway wrote:
> Hi Daniel
> 
> Thank you for your reply. Updating to GDB 6.7 is not a viable option for
> me at present. I must workaround the issue. Do you understand why these
> error messages arise and under what conditions an MI command might need
> to be repeated? My experimentation suggests that switching to a new
> thread using "-thread-select" and then switching back to the original
> thread is sufficient to trigger the error on a subsequent
> "-stack-list-frames" command.

GDB maintains a persistent cache of frames, but only one at a time.
The error occurred while populating the cache, but not while
displaying it.  So any command which walks the stack is subject to
this problem.

-- 
Daniel Jacobowitz
CodeSourcery


Back to the top