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. -- Unable to debug under 2.6.22 on i386: Failed to read a valid object file image from memory https://bugs.launchpad.net/bugs/74691 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
