From patchwork Wed Dec 10 11:56:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karl Palsson X-Patchwork-Id: 419605 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FFED14003E for ; Wed, 10 Dec 2014 22:56:41 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id D2BAB28C117; Wed, 10 Dec 2014 12:54:50 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 7A8E22802B9 for ; Wed, 10 Dec 2014 12:54:44 +0100 (CET) X-policyd-weight: using cached result; rate: -8.5 Received: from palmtree.beeroclock.net (palmtree.beeroclock.net [178.79.160.154]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Wed, 10 Dec 2014 12:54:44 +0100 (CET) Received: by palmtree.beeroclock.net (Postfix, from userid 1000) id 3B748D092; Wed, 10 Dec 2014 11:56:28 +0000 (UTC) From: Karl Palsson To: openwrt-devel@lists.openwrt.org Date: Wed, 10 Dec 2014 11:56:16 +0000 Message-Id: <1418212576-21765-1-git-send-email-karlp@tweak.net.au> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1417602310-13915-1-git-send-email-karlp@tweak.net.au> References: <1417602310-13915-1-git-send-email-karlp@tweak.net.au> MIME-Version: 1.0 Cc: Karl Palsson Subject: [OpenWrt-Devel] =?utf-8?b?W1BBVENIXSBbUkVTRU5EXcKgc2NyaXB0czog?= =?utf-8?q?use_extended-remote_for_greater_compatibility?= X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" From: Karl Palsson Plain "remote" results in failure to connect using the gdb built with the toolchain. (On atheros target at least) extended-remote also allows "run" to restart the target process. Signed-off-by: Karl Palsson --- Resend for new patchwork instance. scripts/remote-gdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remote-gdb b/scripts/remote-gdb index 380a225..2c08f14 100755 --- a/scripts/remote-gdb +++ b/scripts/remote-gdb @@ -61,7 +61,7 @@ if( opendir SD, "$Bin/../staging_dir" ) my ($sysroot) = glob("$Bin/../staging_dir/target-${arch}_${libc}/root-*/"); print $fh "set sysroot $sysroot\n" if $sysroot; - my $cmd = "target remote"; + my $cmd = "target extended-remote"; -f $ARGV[0] and $cmd = "core-file"; print $fh "$cmd $ARGV[0]\n";