From: Stefano Sabatini <stefano.sabatini-lala@poste.it>
To: gdb Mailing List <gdb@sources.redhat.com>
Subject: How to see the content of a buffer
Date: Tue, 15 Apr 2008 12:22:00 -0000 [thread overview]
Message-ID: <20080415102744.GA29625@geppetto> (raw)
Hi all,
sorry if the question may appear naive,
I would like to print from gdb the content of a buffer, either using
the emacs interface or gdb I get the buffer truncated, that is I get
something of the kind:
$49 = 0xbfa6048f "OPTIONS * RTSP/1.0\r\nDate: Mon, 14 Apr 2008 13:53:26 GMT\r\nCSeq: 2\r\nSupported: method.announce\r\n\r\nANNOUNCE * RTSP/1.0\r\nDate: Mon, 14 Apr 2008 13:53:3"...
which command should I use to see the complete content of the buffer
(or to see say the buffer from char 0 to char N)?
Many thanks in advance.
Best regards.
--
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
next reply other threads:[~2008-04-15 10:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-15 12:22 Stefano Sabatini [this message]
2008-04-15 13:11 ` Andreas Schwab
2008-04-15 14:36 ` Stefano Sabatini
2008-04-15 13:11 ` Stefano Sabatini
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=20080415102744.GA29625@geppetto \
--to=stefano.sabatini-lala@poste.it \
--cc=gdb@sources.redhat.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