Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* AVR debugging - Can't read io register contents
@ 2015-11-30 13:25 Diogo Martins Silva
  2015-11-30 13:36 ` Tristan Gingold
  0 siblings, 1 reply; 2+ messages in thread
From: Diogo Martins Silva @ 2015-11-30 13:25 UTC (permalink / raw)
  To: gdb

Hello.

I'm debugging an AVR software using an AVR Dragon - Avarice - avr-gdb -
Eclipse Toolchain in Ubuntu 15.10, with current packages.

While trying to read some register address (1284p's EICRA register at
0x69), I get all zeros. If I printf the register, the correct value is
printed. I know to have successfully altered the register because the
behavior of the micro changes accordingly.

Funny thing is I can correctly read every other register.

How do I pinpoint this? I'm not knowledgeable of gdb, so I appreciate
your help.

Diogo 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-30 13:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-30 13:25 AVR debugging - Can't read io register contents Diogo Martins Silva
2015-11-30 13:36 ` Tristan Gingold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox