Hi, thanks for the response.
> I don't know why GDB thinks it's just one byte long, but you can force a
> different number of
> bytes to be printed by using the @ postfix. I didn't check if it works,
but
@ is used to tell gdb to treat an address as an array, so yes, that would
work. Also print/x {unsigned int}0x160, or examine/1xh to print as a
16-bit value.
The problem is not that I can't see the correct value, but that gdb is
getting the type and/or width wrong. That's bad news. It means that none
of the debugging interfaces that use gdb will work correctly (ddd, emacs,
etc).
I also tried using the variable "timera" of type "timera_t" and gdb just
didn't know anything about it at all. Clearly something is messed up with
either the debugging information or gdb's interpreting of it. I hope it's
just me getting a flag wrong somewhere...
Tyler