A problem internal to GDB has been detected, further debugging may prove unreliable.
I did some looking around and I couldn't see any reasonable answer to why
this would happen. I also just noticed that for the Debug Configurations under Eclipse, the debugger settings tab doesn't have "Enable Reverse Debugging at startup" option listed for the C/C++ Remote Application debugging type. Is this option just not available to me
with my environment?
This could mean many things but one area I know is troublesome is python support. Sometimes there are issues between fundamental
types,
can you check if the error happens when gdb is running some pythonic stuff.
Could you explain how to do this? I don't use Python so I'm not sure if I'm
doing a valid test. I tried to debug a Python script with GDB through Eclipse and I wasn't successful. I then went through the command line and was able to remotely run a simple Python script (print "Hello, Python" once per second) through GDB. If I issued a "record" command through GDB first, then when I tried to debug the Python script I'd immediately get a segmentation fault.
Is there something specific you'd like me to try? If you think the Python
support may be the issue, is there something I should be verifying is present or is at a certain version? Disable python support in gdb and compile it e.g.
I rebuilt gdb. I used the --configure option to verify that my previous gdb did have the "--with-python" option present and that my newly built gdb did not have that option anymore. I no longer can produce the " internal-error: virtual memory exhausted" error, but whenever I try to record I still get the "Process record: failed to record execution log" when I run the application. If it helps, here's the configuration output from GDB:
This GDB was configured as follows: configure --host=x86_64-linux --target=arm-poky-linux-gnueabi --with-auto-load-dir=$debugdir:$datadir/auto-load --with-auto-load-safe-path=$debugdir:$datadir/auto-load --with-expat --with-gdb-datadir=~/poky/poky-build/tmp/sysroots/x86_64-linux/usr/share/gdb-arm926ejste-poky-linux-gnueabi/gdb (relocatable) --with-jit-reader-dir=~/poky/poky-build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gdb (relocatable) --without-libunwind-ia64 --without-lzma --with-separate-debug-dir=~/poky/poky-build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/debug (relocatable) --with-zlib --without-babeltrace
Any additional suggestions would be appreciated.
Can you build an application with out splitting the debug info. May be have toolchain on target and then compile a program natively and see if that works