This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can back trace be stopped from always prints "char*" strings ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]