This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Can back trace be stopped from always prints "char*" strings ?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Chris Johns <chrisj at rtems dot org>
- Cc: gdb at sourceware dot org
- Date: Wed, 12 Mar 2008 08:33:50 -0400
- Subject: Re: Can back trace be stopped from always prints "char*" strings ?
- References: <47D79ECF.7000900@rtems.org>
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