Comment 31 for bug 74691

Revision history for this message
Jonathan Kyle Mitchell (kmitch87-deactivatedaccount) wrote :

I think I may have stumbled on to something interesting playing around with gdb's settings.

When running inside the gdb command line, but the target program has not yet run, type `set debug target n' where `n' is any whole integer greater than or equal to one. Then proceed to run the program inside gdb with the `run' command.

For me, at least, this method does not produce the `Failed to load valid object from memory' error and instead produces screenfulls of debug information (like one would expect in the first place).

My machine I tried this on is running an up-to-date Debian etch install.

Cheers.