Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: James Nordby <jnordby@caspiannetworks.com>
Cc: gdb@sources.redhat.com
Subject: Re: Searching for pattern in memory from GDB?
Date: Mon, 08 Apr 2002 11:47:00 -0000	[thread overview]
Message-ID: <20020408144745.A687@nevyn.them.org> (raw)
In-Reply-To: <3CB1E451.CFCA2BE2@caspiannetworks.com>

On Mon, Apr 08, 2002 at 01:41:22PM -0500, James Nordby wrote:
> 
> Hi,
> 
> I'm trying to put together a fast, internal-circular-buffer-type tracing
> package.  I want to get able to extract the traces from either a running
> program or a core file, but our binaries are normally sent out stripped.
> I thought if I put a word or two with a particular pattern at the
> beginning
> of the trace buffer, I could look for that with gdb and use gdb to
> format
> the rest of the buffer.
> 
> Do you know of any way to say 'search for pattern in <BSS,heap> space'
> in gdb?
> 
> If not, can you think of any other way to find a buffer in a stripped
> binary?

Nope.  There's no command like this at the moment.  I'd appreciate it
if you filed an enhancement request in the GDB GNATS system about this:
  http://sources.redhat.com/gdb/bugs/

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2002-04-08 18:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-08 11:41 James Nordby
2002-04-08 11:47 ` Daniel Jacobowitz [this message]
2002-04-11 14:45 ` Michael Snyder
2002-04-08 12:12 Michael Elizabeth Chastain

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=20020408144745.A687@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=jnordby@caspiannetworks.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