[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-chat] Is this an avr-gdb bug?
From: |
Enoch H. Wexler |
Subject: |
[avr-chat] Is this an avr-gdb bug? |
Date: |
Sat, 08 Oct 2005 15:31:14 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20050924 |
Hi fellows,
I am using the FreeBSD ports of avr gdb 6.3 and avarice 2.3.
When asking gdb to print the vaue of any variable, gdb sends to avarice
a text address rather than a data address. See below. I built the latest
gdb snapshot but it's the same.
Any clues?
Thanks, Enoch.
(gdb) ptype Network
type = unsigned char
Correct:
~~~~~~~~
(gdb) x /b &Network
0x80010d <Network>: 0x02
avarice debug output:
GDB: Read 1 bytes from 0x80010D
jtagRead
command[R, 1]: 52 20 00 00 01 0D 20 20
response: 02 00 41
->GDB: 02
GDB: <m10d,1>
Incorrect:
~~~~~~
(gdb) p Network
$1 = 185 '\271`
GDB: Read 1 bytes from 0x10D
jtagRead
command[R, 1]: 52 A0 00 00 00 86 20 20
response: B9 8F 00 41
->GDB: b9
- [avr-chat] Is this an avr-gdb bug?,
Enoch H. Wexler <=