This is the mail archive of the
mailing list for the GDB project.
How to see the content of a buffer
- From: Stefano Sabatini <stefano dot sabatini-lala at poste dot it>
- To: gdb Mailing List <gdb at sources dot redhat dot com>
- Date: Tue, 15 Apr 2008 12:27:44 +0200
- Subject: How to see the content of a buffer
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.
Linux user number 337176 (see http://counter.li.org)