Is there a command in gdb that will allow me to see if the memory page where my app crashed has Read/Write/Execute permissions?
Basically what I want is something like when I'm entering:
gdb:> addrinfo 0x12345678
And I get:
address 0x12345678 is in range ....
which is occupied by executable image (if any)...../my-lib.so
vm page permsissions: RWX
Thanks!