GDB Overflows when entering a function
-
Hi everybody!
I am having a problem when trying to debug a function: when the debugger stops in a breakpoint inside the function, no local variables information is shown, the debug controls (Step Over, Step Into, and so) don't work and after several seconds a window with the message "The gdb process terminated unexpectedly (code 3)" appears.
If I set the breakpoint in the caller function, then everything works fine, until I step into the called function, when the debugger hangs up once again.The "Debugger Log" window, shows the following:
@>~"../../../../src/gdb-7.5.1/gdb/utils.c:1081: internal-error: virtual memory exhausted: can't allocate 2147450881 bytes.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.\nQuit this debugging session? "
~"(y or n) [answered Y; input not from terminal]\n"
~"../../../../src/gdb-7.5.1/gdb/utils.c:1081: internal-error: virtual memory exhausted: can't allocate 2147450881 bytes.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.\nCreate a core file of GDB? "
~"(y or n) [answered Y; input not from terminal]\n"@So, it seems that the GDB debugger somehow overflows.
There is any workaround to prevent this?I am working under Windows 7, using Qt 5.2.1 (I have downloaded the package "Qt 5.2.1 for Android (Windows 32-bit)"
Thanks in advance,
LoPiTaL