[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] problems with debugging, wrong output in assembler wi

From: Klaus Rudolph
Subject: Re: [avr-gcc-list] problems with debugging, wrong output in assembler window from ddd
Date: Thu, 27 Jun 2013 20:44:59 +0200
User-agent: Thunderbird (X11/20090817)

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


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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]