This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Checking if addess is on stack?
- From: Vladimir Prus <ghost at cs dot msu dot su>
- To: gdb at sources dot redhat dot com
- Date: Thu, 20 Apr 2006 12:49:53 +0400
- Subject: Checking if addess is on stack?
Hi,
in order to improve watchpoints handling in KDevelop, I need to figure out
if a given address is part of current frame's stack. Is there any command
to produce that information? I guess I can look at frame base address and
check if my address is "close" to that, but it's a bit unreliable.
For reference, the watchpoint changes for KDevelop are outlined at:
http://lists.kde.org/?l=kdevelop-devel&m=114552206721831&w=2
TIA,
Volodya