From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95823 invoked by alias); 25 Sep 2017 15:42:34 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 93938 invoked by uid 89); 25 Sep 2017 15:42:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_05,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=H*x:14.0, H*UA:14.0, H*UA:Outlook, H*x:Outlook X-HELO: smtprelay.hostedemail.com Received: from smtprelay0140.hostedemail.com (HELO smtprelay.hostedemail.com) (216.40.44.140) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 25 Sep 2017 15:42:33 +0000 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay05.hostedemail.com (Postfix) with ESMTP id 7FF051802BE10; Mon, 25 Sep 2017 15:42:31 +0000 (UTC) X-Session-Marker: 6A62656E6973746F6E40756B322E6E6574 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,jon@beniston.com,:::,RULES_HIT:10:41:355:379:541:542:599:973:988:989:1155:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1539:1587:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2895:3138:3139:3140:3141:3142:3352:3622:3865:3867:3868:3871:3872:3873:3874:4362:5007:6119:6120:7903:8531:8828:9707:10004:10400:10848:11658:11914:12679:12760:13069:13071:13161:13229:13311:13357:13439:14180:14181:14721:21060:21080:21433:21627:30054,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: cloud20_15e4d8b005362 X-Filterd-Recvd-Size: 1648 Received: from LoftPC (cpc97974-croy24-2-0-cust112.19-2.cable.virginm.net [77.99.44.113]) (Authenticated sender: jbeniston@uk2.net) by omf11.hostedemail.com (Postfix) with ESMTPA; Mon, 25 Sep 2017 15:42:30 +0000 (UTC) From: "Jon Beniston" To: "'Simon Marchi'" Cc: References: <00f001d31a99$7080bd00$51823700$@beniston.com> In-Reply-To: Subject: RE: [PATCH] PR21985: set inferior-tty doesn't work for remote or sim Date: Mon, 25 Sep 2017 15:42:00 -0000 Message-ID: <003c01d33614$e58e4b30$b0aae190$@beniston.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2017-09/txt/msg00755.txt.bz2 Hi Simon, >I have never used the simulator nor remote fileio, so this is a good pretext > for me to learn about it. Would it be possible for you to provide some >small programs that I could toy with to test the patch (and how to run them, > if you feel really nice :)) ? For the remote target, you'd need some h/w to connect to. For the simulator target, you could try the lm32 target, as I know the sim supports it: lm32-elf-gcc hello.c -g -o test.exe lm32-elf-gdb test.exe tar sim load run "Hello World" For a remote target, it would be something like: lm32-elf-gdb test.exe tar rem :1024 load c "Hello World" I'll follow up with an updated patch that addresses your comments. Thanks, Jon