Can back trace be stopped from always prints "char*" strings ?
Thiago Jung Bauermann
bauerman@br.ibm.com
Wed Mar 12 15:05:00 GMT 2008
On Wed, 2008-03-12 at 08:33 -0400, Daniel Jacobowitz wrote:
> 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.
I think the newly introduced "set print frame-arguments" would help
here. It went in after GDB 6.7 though.
--
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center
More information about the Gdb
mailing list