attach u/i oddity
Tom Tromey
tromey@redhat.com
Wed Oct 19 20:03:00 GMT 2011
Pedro> Maybe what we need a `warning' so that the surprise is gone:
Pedro> "warning: assuming process is running the loaded executable `FOO'
Pedro> which is different from the executable the target reports the process "
Pedro> is running. Unload it with the `file' command to make gdb find and load
Pedro> the target reported executable automatically."
It seems like a decent idea to me.
I wrote a patch to change the behavior here once:
http://sourceware.org/ml/gdb-patches/2008-11/msg00279.html
The ensuing thread points out the different use cases where people
really want to do this.
Tom
More information about the Gdb
mailing list