From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21171 invoked by alias); 14 Oct 2015 13:39:12 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 21160 invoked by uid 89); 14 Oct 2015 13:39:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 14 Oct 2015 13:39:11 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id E6C96279F13D; Wed, 14 Oct 2015 15:39:08 +0200 (CEST) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y836uYr7FNJ5; Wed, 14 Oct 2015 15:39:08 +0200 (CEST) Received: from [10.10.1.112] (cacatoes.act-europe.fr [10.10.1.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id D1DA1279F13B; Wed, 14 Oct 2015 15:39:08 +0200 (CEST) Subject: Re: dynamic array's upper bound evaluated as address for AVR target To: "Sivanupandi, Pitchumani" , Joel Brobecker References: <561D18AD.6080701@adacore.com> <561DFC25.5020106@adacore.com> <561E11A2.5030206@adacore.com> Cc: "gdb@sourceware.org" , Andrew Burgess , "tom@tromey.com" , "uweigand@de.ibm.com" From: Pierre-Marie de Rodat Message-ID: <561E5AFC.6070600@adacore.com> Date: Wed, 14 Oct 2015 13:39:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00072.txt.bz2 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