From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29666 invoked by alias); 5 Apr 2015 01:32:35 -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 29654 invoked by uid 89); 5 Apr 2015 01:32:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: OARmail.OARCORP.com Received: from oarmail.oarcorp.com (HELO OARmail.OARCORP.com) (67.63.146.244) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 05 Apr 2015 01:32:34 +0000 Received: from [192.168.0.6] (207.98.215.166) by OARmail.OARCORP.com (192.168.2.2) with Microsoft SMTP Server (TLS) id 8.3.342.0; Sat, 4 Apr 2015 20:32:30 -0500 User-Agent: K-9 Mail for Android In-Reply-To: <20150405011520.GA16816@vapier> References: <551DC087.7040103@oarcorp.com> <20150403014149.GJ22171@vapier> <551EF633.9030309@oarcorp.com> <20150403232113.GO22171@vapier> <551F2996.10003@oarcorp.com> <20150404025706.GP22171@vapier> <551FEBE8.7080801@oarcorp.com> <20150404210848.GQ22171@vapier> <55208159.4090504@oarcorp.com> <20150405011520.GA16816@vapier> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Subject: Re: lm32 simulator configuration file question From: Joel Sherrill Date: Sun, 05 Apr 2015 01:32:00 -0000 To: Mike Frysinger CC: "gdb@sourceware.org" Message-ID: <0D043000-66CE-41AE-A66A-6EC12FF8896E@oarcorp.com> X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00017.txt.bz2 On April 4, 2015 8:20:24 PM CDT, Mike Frysinger wrote: >On 04 Apr 2015 19:27, Joel Sherrill wrote: >> Once we get by this one, I noticed that the lm32timer only >> lets you instance it once. The real board has two timers. >> Is there an example of a device which can be instanced >> multiple times? > >i glanced at the lm32timer device code and it looks correct to me -- >there is no >global state (it's all attached to the instance via HW_ZALLOC (me, >...), and all >accesses go through the passed in "me" hw). > >why do you think it only lets you instantiate it once ? When I configure two timers, it looks like the second address registration attempt is ignored based on the trace and faulting code. I can have timer 0 or 1 but not both. Two interrupt attaches seem to be honored. I will finish putting together a kit for you tomorrow. The RTEMS tester framework uses the gdb/mi so I can automate runs of the rtems test suite. It was looking pretty good using gdb but something is wrong with run. Enjoy your Saturday night and Easter Sunday. I will get the kit to you before I fly out Monday. >-mike --joel