Re: problems with debugging, wrong output in assembler window from ddd

Klaus Rudolph <[email protected]>
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.