Follow-up Comment #2, bug #36672 (project grub):
Strange. I recompiled trunk GRUB from scratch with a freshly installed gcc
4.7.1 (Arch), built a minimal image, ran it in QEMU connected to GDB and I
still see the same wrongly-generated code. How did you test?
While we are at it, the load_all_modules macro in the gdb_grub script does not
work unless "$this->mod" is changed to "$this". Even with a fixed script,
however, GDB is unusably slow and fragile when connecting to GRUB's own stub
through QEMU's serial emulation. I do not know whose fault is that.
And well, even if it is purely a compiler issue, it would be nice to add a
testcase or two (or perhaps a test in ./configure) to check if trampolines are
b0rken.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36672>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub