From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8888 invoked by alias); 2 Jul 2007 16:55:14 -0000 Received: (qmail 8843 invoked by uid 22791); 2 Jul 2007 16:55:12 -0000 X-Spam-Check-By: sourceware.org Received: from www.balabit.hu (HELO lists.balabit.hu) (212.92.18.33) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 02 Jul 2007 16:55:09 +0000 Received: from balabit.hu (unknown [10.80.0.254]) by lists.balabit.hu (Postfix) with ESMTP id E7C2CB54DD for ; Mon, 2 Jul 2007 18:55:06 +0200 (CEST) Subject: Re: printing mapped memory regions From: Balazs Scheidler To: Daniel Jacobowitz Cc: gdb@sourceware.org In-Reply-To: <20070702164705.GA19981@caradoc.them.org> References: <1183394699.31266.30.camel@bzorp.balabit> <20070702164705.GA19981@caradoc.them.org> Content-Type: text/plain Date: Mon, 02 Jul 2007 16:55:00 -0000 Message-Id: <1183395311.31266.33.camel@bzorp.balabit> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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: 2007-07/txt/msg00016.txt.bz2 On Mon, 2007-07-02 at 12:47 -0400, Daniel Jacobowitz wrote: > On Mon, Jul 02, 2007 at 06:44:59PM +0200, Balazs Scheidler wrote: > > Hi, > > > > Is it possible to query the list of mapped virtual memory regions of a > > running process/core file using gdb? > > No, not yet. > > > I would like something similar to what /proc//maps file provides on > > Linux, but unluckily that information is not available (grsec zeroes > > those values so nothing to find there). > > If there were, GDB would read /proc//maps to implement it. Hmm.. any other way? The core file supposedly contains all of this information doesn't it? -- Bazsi