From: Mike Frysinger <vapier@gentoo.org>
To: Russell Shaw <rjshaw@netspace.net.au>
Cc: gdb@sourceware.org
Subject: Re: gdbserver args
Date: Mon, 16 Mar 2015 16:36:00 -0000 [thread overview]
Message-ID: <20150316163636.GC877@vapier> (raw)
In-Reply-To: <55067953.4050403@netspace.net.au>
[-- Attachment #1: Type: text/plain, Size: 355 bytes --]
On 16 Mar 2015 17:33, Russell Shaw wrote:
> Hi,
> On a laptop (acer) i run:
>
> gdbserver :1234 myprog arg1 arg2
>
>
> On the main pc:
>
> (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
pass it args directly.
-mike
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2015-03-16 16:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-16 6:33 Russell Shaw
2015-03-16 10:48 ` Russell Shaw
2015-03-16 16:36 ` Mike Frysinger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150316163636.GC877@vapier \
--to=vapier@gentoo.org \
--cc=gdb@sourceware.org \
--cc=rjshaw@netspace.net.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).