From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31427 invoked by alias); 4 Mar 2008 08:16:56 -0000 Received: (qmail 31417 invoked by uid 22791); 4 Mar 2008 08:16:55 -0000 X-Spam-Check-By: sourceware.org Received: from qb-out-0506.google.com (HELO qb-out-0506.google.com) (72.14.204.229) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 04 Mar 2008 08:16:38 +0000 Received: by qb-out-0506.google.com with SMTP id e6so440384qbe.2 for ; Tue, 04 Mar 2008 00:16:36 -0800 (PST) Received: by 10.100.255.10 with SMTP id c10mr1891097ani.84.1204618569154; Tue, 04 Mar 2008 00:16:09 -0800 (PST) Received: by 10.100.125.5 with HTTP; Tue, 4 Mar 2008 00:15:42 -0800 (PST) Message-ID: Date: Tue, 04 Mar 2008 09:21:00 -0000 From: "Yakov Lerner" To: gdb@sourceware.org Subject: guessing where address belongs to MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-03/txt/msg00037.txt.bz2 I have large running app, and some address X, which is a valid pointer. I'd like to find out what object it belongs to, at least approximately. Is there command to have gdb guess which memory object this address belongs to (which function ... which stack frame .. which static object .. which head object )? Thanks Yakov From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30814 invoked by alias); 4 Mar 2008 08:16:50 -0000 Received: (qmail 30805 invoked by uid 22791); 4 Mar 2008 08:16:49 -0000 X-Spam-Check-By: sourceware.org Received: from qb-out-0506.google.com (HELO qb-out-0506.google.com) (72.14.204.234) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 04 Mar 2008 08:16:32 +0000 Received: by qb-out-0506.google.com with SMTP id a33so3003877qbd.0 for ; Tue, 04 Mar 2008 00:16:29 -0800 (PST) Received: by 10.100.171.10 with SMTP id t10mr1848205ane.104.1204618542156; Tue, 04 Mar 2008 00:15:42 -0800 (PST) Received: by 10.100.125.5 with HTTP; Tue, 4 Mar 2008 00:15:42 -0800 (PST) Message-ID: Date: Tue, 04 Mar 2008 08:16:00 -0000 From: "Yakov Lerner" To: gdb@sourceware.org Subject: guessing where address belongs to MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-03/txt/msg00036.txt.bz2 Message-ID: <20080304081600.s-mRyUKoRNYym1izCGz5x-KKlmFlxxH5wF-_vuMvAtk@z> I have large running app, and some address X, which is a valid pointer. I'd like to find out what object it belongs to, at least approximately. Is there command to have gdb guess which memory object this address belongs to (which function ... which stack frame .. which static object .. which head object )? Thanks Yakov