From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10144 invoked by alias); 15 Apr 2008 12:23:24 -0000 Received: (qmail 10133 invoked by uid 22791); 15 Apr 2008 12:23:23 -0000 X-Spam-Check-By: sourceware.org Received: from relay-pt1.poste.it (HELO relay-pt1.poste.it) (62.241.4.164) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 15 Apr 2008 12:22:58 +0000 Received: from geppetto.reilabs.com (212.123.91.176) by relay-pt1.poste.it (7.3.122) (authenticated as stefano.sabatini-lala@poste.it) id 4803F04900006A98; Tue, 15 Apr 2008 14:22:21 +0200 Received: from stefano by geppetto.reilabs.com with local (Exim 4.67) (envelope-from ) id 1JlkBr-0002Ih-EO; Tue, 15 Apr 2008 14:23:11 +0200 Date: Tue, 15 Apr 2008 14:36:00 -0000 From: Stefano Sabatini To: gdb@sourceware.org, gdb Mailing List Subject: Re: How to see the content of a buffer Message-ID: <20080415122311.GA2689@geppetto> Mail-Followup-To: gdb@sourceware.org, gdb Mailing List References: <20080415102744.GA29625@geppetto> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux geppetto 2.6.22-3-486 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/msg00128.txt.bz2 On date Tuesday 2008-04-15 13:43:56 +0200, Andreas Schwab wrote: > Stefano Sabatini writes: > > > 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)? > > (gdb) help set print elements > Set limit on string chars or array elements to print. > "set print elements 0" causes there to be no limit. Thanks Andreas, it worked fine, I also checked the x command too (x/200c data) which is also useful for other purposes. Many regards. -- Stefano Sabatini Linux user number 337176 (see http://counter.li.org) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9440 invoked by alias); 15 Apr 2008 12:22:58 -0000 Received: (qmail 9431 invoked by uid 22791); 15 Apr 2008 12:22:57 -0000 X-Spam-Check-By: sourceware.org Received: from relay-pt1.poste.it (HELO relay-pt1.poste.it) (62.241.4.164) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 15 Apr 2008 12:22:23 +0000 Received: from geppetto.reilabs.com (212.123.91.176) by relay-pt1.poste.it (7.3.122) (authenticated as stefano.sabatini-lala@poste.it) id 4803F04900006A98; Tue, 15 Apr 2008 14:22:21 +0200 Received: from stefano by geppetto.reilabs.com with local (Exim 4.67) (envelope-from ) id 1JlkBr-0002Ih-EO; Tue, 15 Apr 2008 14:23:11 +0200 Date: Tue, 15 Apr 2008 13:11:00 -0000 From: Stefano Sabatini To: gdb@sourceware.org, gdb Mailing List Subject: Re: How to see the content of a buffer Message-ID: <20080415122311.GA2689@geppetto> Mail-Followup-To: gdb@sourceware.org, gdb Mailing List References: <20080415102744.GA29625@geppetto> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux geppetto 2.6.22-3-486 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/msg00127.txt.bz2 Message-ID: <20080415131100.JX5tdocPwoTE9zZqxlWhEiiSpr8CnhO0t4DPgi5d6ts@z> On date Tuesday 2008-04-15 13:43:56 +0200, Andreas Schwab wrote: > Stefano Sabatini writes: > > > 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)? > > (gdb) help set print elements > Set limit on string chars or array elements to print. > "set print elements 0" causes there to be no limit. Thanks Andreas, it worked fine, I also checked the x command too (x/200c data) which is also useful for other purposes. Many regards. -- Stefano Sabatini Linux user number 337176 (see http://counter.li.org)