From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107324 invoked by alias); 16 Mar 2015 16:36:40 -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 107312 invoked by uid 89); 16 Mar 2015 16:36:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 16 Mar 2015 16:36:38 +0000 Received: from vapier (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 3F2FC3407A4; Mon, 16 Mar 2015 16:36:36 +0000 (UTC) Date: Mon, 16 Mar 2015 16:36:00 -0000 From: Mike Frysinger To: Russell Shaw Cc: gdb@sourceware.org Subject: Re: gdbserver args Message-ID: <20150316163636.GC877@vapier> Mail-Followup-To: Russell Shaw , gdb@sourceware.org References: <55067953.4050403@netspace.net.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="o9w4P0ZCTVHZJ0iX" Content-Disposition: inline In-Reply-To: <55067953.4050403@netspace.net.au> X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00055.txt.bz2 --o9w4P0ZCTVHZJ0iX Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 350 On 16 Mar 2015 17:33, Russell Shaw wrote: > Hi, > On a laptop (acer) i run: >=20 > gdbserver :1234 myprog arg1 arg2 >=20 >=20 > On the main pc: >=20 > (gdb) file myprog > (gdb) target extended-remote acer:1234 > (gdb) b main > (gdb) r you probably want to use continue here instead of run. if you use run, you= can=20 pass it args directly. -mike --o9w4P0ZCTVHZJ0iX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVBwaUAAoJEEFjO5/oN/WB800QANz81upyHIQBZhVBIQOu73CT En2wH6RTAUfHWUqSKskGYHnbQfeDCSDG8/Y+PCRgxIANxBrEROp7OW7reCNvlcgZ aRI43NLBJjfcejZWlbT4DaSFGrJAdP/Gav0QHgT0cTlHRdEdGhmdu6YR5PNaSHzU 2hQuL+6wRJt7NMUaIa5EgMTM8uRK59vgyTzb6SHE8a+J14J3CTJZEmWlHcLTfK9H gZtyjZvtGgyrh9TF+5Ikr53vPfnchP4DEMT21H1AT9kSNovrdKaCHjLfXr9Plzin 854EPlE0IDoSq+RSOvGhi03m1+LJBZgUQ5lE0G6vJZ+N1mFQfIoapCYUTV2Mdleb ajCDWO2MaMbLCennytNYEYh0eeZgKr434SLizRerIkTSFi2nKY9USd0j/dikm/o6 rHzjR4KWpJ2CweGtyaZREq3p394nMFWOIYMdEwQsh62LwVRwg5BH8T+RTUvEdW4C UOWNy6UmKJ0gr0y8Yw0ud0GW2J6v0PreoZ+y/87fpTOz0Lbc73N23TR78PQ7ky5W g4uNTrMYGqtverAoy+IKNt3K6ibsFuG3qyFHjf/riddsTM5g0c8O6fY+O4Jv4f/n fvhnenp12M5zdJ3b2lCUPJ7FF4NLqXunPf4bE9alC9hPgzDrGgnW8OQXG7AOIsZP melxAqvBhHdLZTx22xq5 =/iJM -----END PGP SIGNATURE----- --o9w4P0ZCTVHZJ0iX--