From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13136 invoked by alias); 12 Mar 2008 12:34:30 -0000 Received: (qmail 13110 invoked by uid 22791); 12 Mar 2008 12:34:22 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 12 Mar 2008 12:33:54 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id EE9A4983A1; Wed, 12 Mar 2008 12:33:51 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id CD1C998140; Wed, 12 Mar 2008 12:33:51 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JZQ9W-0002M2-Ac; Wed, 12 Mar 2008 08:33:50 -0400 Date: Wed, 12 Mar 2008 14:00:00 -0000 From: Daniel Jacobowitz To: Chris Johns Cc: gdb@sourceware.org Subject: Re: Can back trace be stopped from always prints "char*" strings ? Message-ID: <20080312123350.GA8997@caradoc.them.org> Mail-Followup-To: Chris Johns , gdb@sourceware.org References: <47D79ECF.7000900@rtems.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47D79ECF.7000900@rtems.org> User-Agent: Mutt/1.5.17 (2007-12-11) 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-03/txt/msg00128.txt.bz2 On Wed, Mar 12, 2008 at 08:13:51PM +1100, Chris Johns wrote: > Is there a way to stop the bt accessing the char* data and just printing > the pointer value ? I don't think there is. You might want to look at "set mem inaccessible-by-default" and the "mem" command; that's good for preventing stray memory reads. -- Daniel Jacobowitz CodeSourcery