This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: dynamic array's upper bound evaluated as address for AVR target
- From: Pierre-Marie de Rodat <derodat at adacore dot com>
- To: "Sivanupandi, Pitchumani" <Pitchumani dot Sivanupandi at atmel dot com>, Joel Brobecker <brobecker at adacore dot com>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>, Andrew Burgess <andrew dot burgess at embecosm dot com>, "tom at tromey dot com" <tom at tromey dot com>, "uweigand at de dot ibm dot com" <uweigand at de dot ibm dot com>
- Date: Wed, 14 Oct 2015 15:39:08 +0200
- Subject: Re: dynamic array's upper bound evaluated as address for AVR target
- Authentication-results: sourceware.org; auth=none
- References: <CAC140656783604CABA6AE60C2A6D5A4A2ED0DE4 at penmbx01> <561D18AD dot 6080701 at adacore dot com> <CAC140656783604CABA6AE60C2A6D5A4A2ED2398 at penmbx01> <561DFC25 dot 5020106 at adacore dot com> <CAC140656783604CABA6AE60C2A6D5A4A2ED2425 at penmbx01> <561E11A2 dot 5030206 at adacore dot com> <CAC140656783604CABA6AE60C2A6D5A4A2ED24E7 at penmbx01>
On 10/14/2015 12:15 PM, Sivanupandi, Pitchumani wrote:
AVR has different address spaces (Harvard architecture). Compiler
(avr-gcc) generates fictitious addresses to support it.
Also refer:
AVR Background in avr-tdep.c
https://sourceware.org/ml/gdb/2014-10/msg00142.html
That all makes sense, now, thank you. :-)
--
Pierre-Marie de Rodat