From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22887 invoked by alias); 3 Nov 2008 20:02:37 -0000 Received: (qmail 22778 invoked by uid 22791); 3 Nov 2008 20:02:36 -0000 X-Spam-Check-By: sourceware.org Received: from mx1a.swcp.com (HELO mx1a.swcp.com) (216.184.2.64) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 03 Nov 2008 20:01:52 +0000 Received: from ame7.swcp.com (ame7.swcp.com [216.184.2.70]) by mx1a.swcp.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id mA3K1jJf004682; Mon, 3 Nov 2008 13:01:45 -0700 Received: from swcp.com (nousagi.swcp.com [216.184.2.107] (may be forged)) by ame7.swcp.com (8.14.2/8.13.6) with SMTP id mA3K1gPB013375; Mon, 3 Nov 2008 13:01:43 -0700 (MST) (envelope-from ebo@sandien.com) Date: Mon, 03 Nov 2008 20:02:00 -0000 To: "Daniel Jacobowitz" , "EBo" Subject: Re: using gdb to do embedded unit/regression testing From: "EBo" X-Mailer: TWIG 2.7.7 Message-ID: In-Reply-To: <20081103192037.GA13409@caradoc.them.org> References: , X-Client-IP: 216.184.15.167 Cc: Reply-To: ebo@sandien.com X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-3.0 (ame7.swcp.com [216.184.2.128]); Mon, 03 Nov 2008 13:01:44 -0700 (MST) X-Virus-Status: Clean 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-11/txt/msg00018.txt.bz2 Daniel Jacobowitz said: > On Mon, Nov 03, 2008 at 12:10:51PM -0700, EBo wrote: > > ... If there is some other way to write diagnostic > > strings to stdout other than `print "STRING"` which does not > > require some call to malloc? If so please let me know. > > Try the "echo" and "printf" commands instead. These give you much > more control over output. Thanks! printf allows me to do exactly what I want! EBo --