From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5667 invoked by alias); 15 Apr 2008 11:44:21 -0000 Received: (qmail 5652 invoked by uid 22791); 15 Apr 2008 11:44:19 -0000 X-Spam-Check-By: sourceware.org Received: from cantor.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 15 Apr 2008 11:43:59 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 1F1D440A48 for ; Tue, 15 Apr 2008 13:43:57 +0200 (CEST) From: Andreas Schwab To: gdb Mailing List Subject: Re: How to see the content of a buffer References: <20080415102744.GA29625@geppetto> X-Yow: I guess it was all a DREAM.. or an episode of HAWAII FIVE-O... Date: Tue, 15 Apr 2008 13:11:00 -0000 In-Reply-To: <20080415102744.GA29625@geppetto> (Stefano Sabatini's message of "Tue, 15 Apr 2008 12:27:44 +0200") Message-ID: User-Agent: Gnus/5.110008 (No Gnus v0.8) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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/msg00126.txt.bz2 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. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."