Hi Joerg,

> I think this is a bug with recent GDB versions. Some things
> have been changed inside GDB, and as a consequence, it now
> interprets any non-0 address input as RAM addresses for the
> AVR target.

I run into the same trouble a long time ago and you send me a patch
already :-)


Wrong address offset is still an very old bug and still "available" in
gdb7.6:

http://sourceware.org/bugzilla/show_bug.cgi?id=13519

So the old patch from you is still the "solution":
+// 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);
 }


The patch is still working with gdb7.6. For the moment the workaround
fulfill my needs.


Thanks
 Klaus




_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to