Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: santoshp <santosh.pradhan@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Is there any mechanism in GDB to print memory allocation pattern in a core dump file
Date: Fri, 25 May 2012 14:27:00 -0000	[thread overview]
Message-ID: <877gw072un.fsf@fleche.redhat.com> (raw)
In-Reply-To: <33897108.post@talk.nabble.com> (santoshp's message of "Wed, 23	May 2012 10:18:30 -0700 (PDT)")

>>>>> "Santosh" == santoshp  <santosh.pradhan@gmail.com> writes:

Santosh> The application is a C++ application running on Linux (RHEL 5.7
Santosh> x86_64). It uses a private memory allocator (variation of
Santosh> ptmalloc). The gdb-heap link says it works for python objects
Santosh> and work for c++ is under process. Can I use the gdb-heap ?

Probably not as-is.  gdb-heap relies on glibc.

You could probably port it to your allocator, though.

Tom


      reply	other threads:[~2012-05-25 14:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-23 12:33 santoshp
2012-05-23 15:13 ` Tom Tromey
2012-05-23 17:18   ` santoshp
2012-05-25 14:27     ` Tom Tromey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gw072un.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=santosh.pradhan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox