gdb user defined function

Sun Jan 15 02:51:00 GMT 2012

i am trying to write a user-defined function in gdb.
while analyzing the core is it possible to see if a
pointer variable is accessible or not inside a gdb
user-defined function. for example.
(gdb) p *ptr
cannot access memory at address 0x35336
is there any way to find this inside a gdb function.
i need something as follows
define sub

More information about the Gdb mailing list