Debugging Dynamic Memory Usage Errors Using HP WDB (766161-001, March 2014)
Breakpoint 2, test_null_check () at null-check.c:19
19 printf("Out of memory scenario simulated\n");
(gdb) bt
#0 test_null_check () at null-check.c:19
#1 0x2c70 in main () at null-check.c:25
#2 0x70ee3478 in _start+0xc0 () from /usr/lib/libc.2
(gdb) c
Continuing.
Out of memory scenario simulated
Program exited normally.
Memory-Debugging Features of WDB 25