diff options
author | Pierre Langlois <pierre.langlois@embecosm.com> | 2014-07-25 14:45:03 +0100 |
---|---|---|
committer | Pierre Langlois <pierre.langlois@embecosm.com> | 2014-07-25 15:03:29 +0100 |
commit | 7d0d9d2bee341b1e88c559c476f15fc24b6de346 (patch) | |
tree | f6781f9824890f6f6ccad55a60a2b8e257ca6ee8 /gdb/tui | |
parent | c3f814a14336b9d395f3abad739592929e2faaa0 (diff) | |
download | gdb-7d0d9d2bee341b1e88c559c476f15fc24b6de346.zip gdb-7d0d9d2bee341b1e88c559c476f15fc24b6de346.tar.gz gdb-7d0d9d2bee341b1e88c559c476f15fc24b6de346.tar.bz2 |
Clarify the address and pointer conversions on AVR.
This patch adds additional comments about the conversion of addresses to
pointers and vice-versa on AVR.
Special conversion needs to be done when dealing with an address in the
flash address space, where both code and read-only data can be stored.
Code and data pointers to flash are not addressed the same way:
A code pointer is 16 bit addressed. A data pointer is 8 bit addressed,
even if the data is in flash.
2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
* avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
comments.
(avr_pointer_to_address): Likewise.
Diffstat (limited to 'gdb/tui')
0 files changed, 0 insertions, 0 deletions