From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29360 invoked by alias); 15 Apr 2008 10:27:23 -0000 Received: (qmail 29352 invoked by uid 22791); 15 Apr 2008 10:27:23 -0000 X-Spam-Check-By: sourceware.org Received: from relay-pt3.poste.it (HELO relay-pt3.poste.it) (62.241.4.129) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 15 Apr 2008 10:26:57 +0000 Received: from geppetto.reilabs.com (212.123.91.176) by relay-pt3.poste.it (7.3.122) (authenticated as stefano.sabatini-lala@poste.it) id 4803E23E0000523B for gdb@sources.redhat.com; Tue, 15 Apr 2008 12:26:54 +0200 Received: from stefano by geppetto.reilabs.com with local (Exim 4.67) (envelope-from ) id 1JliO8-0007rk-Vz for gdb@sources.redhat.com; Tue, 15 Apr 2008 12:27:44 +0200 Date: Tue, 15 Apr 2008 12:22:00 -0000 From: Stefano Sabatini To: gdb Mailing List Subject: How to see the content of a buffer Message-ID: <20080415102744.GA29625@geppetto> Mail-Followup-To: gdb Mailing List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00125.txt.bz2 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)