This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
GDB caching question
- From: "Yadav, Vikas" <Vikas dot Yadav at netapp dot com>
- To: <gdb at sources dot redhat dot com>
- Date: Thu, 26 Jun 2003 12:42:18 -0700
- Subject: GDB caching question
When I set $fp or $pc varibles in gdb for i386, it sometime does not work. Does anyone else have done
something like this. In my case if I do a backgrace following by modification to $fp and $pc to change my stack, it does not work. However If I don't do a "backtrace" first, it works. I suspect some kind of caching of register value is cause of this behaviour.
Any insight here ?
-Vikas