As Joerg Wunsch wrote:
> As Klaus Rudolph wrote:
> I didn't find the actual point where this happens, but I though it's
> important enough to file it as a bug:
>
> http://sourceware.org/bugzilla/show_bug.cgi?id=13519
I added some more analysis there. Yet, I don't know how/where to
fix it.
As a (temporary) hack, you might apply the following patch to your
AVR(!)-GDB source tree before compiling:
--- gdb/cli/cli-cmds.c~ 2010-07-27 22:14:24.000000000 +0200
+++ gdb/cli/cli-cmds.c 2011-12-19 14:42:14.000000000 +0100
@@ -1195,6 +1195,10 @@
high += low;
}
+// XXX hack to work around bug # 13519
+// http://sourceware.org/bugzilla/show_bug.cgi?id=13519
+ low &= 0x800000 - 1;
+ high &= 0x800000 - 1;
print_disassembly (gdbarch, name, low, high, flags);
}
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat