[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 2.0.0.23 (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
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] problems with debugging, wrong output in assembler window from ddd, Klaus Rudolph, 2013/06/25
- Re: [avr-gcc-list] problems with debugging, wrong output in assembler window from ddd, Erik Christiansen, 2013/06/25
- Re: [avr-gcc-list] problems with debugging, wrong output in assembler window from ddd, Klaus Rudolph, 2013/06/25
- Re: [avr-gcc-list] problems with debugging, wrong output in assembler window from ddd, Joerg Wunsch, 2013/06/26
- Re: [avr-gcc-list] problems with debugging, wrong output in assembler window from ddd,
Klaus Rudolph <=