This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: clearing call stack when a new binary file is loaded
Is there any equivalent mi command to invalidate the frame cache?
Thanks,
Jiju
-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of Daniel Jacobowitz
Sent: 23 April 2008 12:46
To: Vladimir Prus
Cc: gdb@sources.redhat.com
Subject: Re: clearing call stack when a new binary file is loaded
On Wed, Apr 23, 2008 at 02:51:35PM +0400, Vladimir Prus wrote:
> Which version of GDB?
I expect it still does this. write_pc doesn't invalidate the frame
cache, so we should manually do so at the end of generic_load.
--
Daniel Jacobowitz
CodeSourcery