This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to see the content of a buffer


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]