From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 706 invoked by alias); 20 Apr 2006 08:50:13 -0000 Received: (qmail 694 invoked by uid 22791); 20 Apr 2006 08:50:12 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 20 Apr 2006 08:50:08 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FWUrU-0002Bb-4m for gdb@sources.redhat.com; Thu, 20 Apr 2006 10:50:04 +0200 Received: from zigzag.lvk.cs.msu.su ([158.250.17.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Apr 2006 10:50:04 +0200 Received: from ghost by zigzag.lvk.cs.msu.su with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Apr 2006 10:50:04 +0200 To: gdb@sources.redhat.com From: Vladimir Prus Subject: Checking if addess is on stack? Date: Thu, 20 Apr 2006 10:27:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.8.2 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00266.txt.bz2 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