From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80167 invoked by alias); 11 Mar 2016 21:13:04 -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 80153 invoked by uid 89); 11 Mar 2016 21:13:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=OnLine, On-Line, joel.sherrill@OARcorp.com, rtems 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; Fri, 11 Mar 2016 21:13:02 +0000 Received: from [192.168.1.164] (192.168.1.164) by OARmail.OARCORP.com (192.168.2.2) with Microsoft SMTP Server (TLS) id 8.3.389.2; Fri, 11 Mar 2016 15:12:52 -0600 To: "gdb@sourceware.org" , Chris Johns From: Joel Sherrill Subject: lm32 run vs gdb Message-ID: <56E334D4.4010908@oarcorp.com> Date: Fri, 11 Mar 2016 21:13:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00019.txt.bz2 Hi I think the command line arguments for the lm32 simulator are not getting parsed the same for "run" as when you do "tar sim" in gdb. Executables work with gdb that don't with run. lm32-rtems4.12-run --hw-file lm32_evr.conf \ --memory-region 0x08000000,0x4000000 ticker.exe In gdb, the tar sim command is: tar sim --hw-file lm32_evr.conf --memory-region 0x08000000,0x4000000 lm32_evr.conf is /lm32cpu /lm32uart/reg 0x80006000 0x100 /lm32uart > int int0 /lm32cpu /lm32timer/reg 0x80002000 0x80 /lm32timer > int int1 /lm32cpu Any ideas what's broken or where I should look? I can compress an executable if someone wants to take a shot at it. -- Joel Sherrill, Ph.D. Director of Research & Development joel.sherrill@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35806 Support Available (256) 722-9985