manpagez: man pages & more
info gdb
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

8.14.2 Memory Access Checking

No value for GDBN can be instructed to refuse accesses to memory that is not explicitly described. This can be useful if accessing such regions has undesired effects for a specific target, or to provide better error checking. The following commands control this behaviour.

set mem inaccessible-by-default [on|off]

If on is specified, make No value for GDBN treat memory not explicitly described by the memory ranges as non-existent and refuse accesses to such memory. The checks are only performed if there's at least one memory range defined. If off is specified, make No value for GDBN treat the memory not explicitly described by the memory ranges as RAM. The default value is off.

show mem inaccessible-by-default

Show the current handling of accesses to unknown memory.


© manpagez.com 2000-2024
Individual documents may contain additional copyright information.