public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* gdbserver args
@ 2015-03-16  6:33 Russell Shaw
  2015-03-16 10:48 ` Russell Shaw
  2015-03-16 16:36 ` Mike Frysinger
  0 siblings, 2 replies; 3+ messages in thread
From: Russell Shaw @ 2015-03-16  6:33 UTC (permalink / raw)
  To: gdb

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
(gdb) p argc
$1 = 1


Why can't i get the arguments arg1 and arg2 ?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-16 16:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-16  6:33 gdbserver args Russell Shaw
2015-03-16 10:48 ` Russell Shaw
2015-03-16 16:36 ` Mike Frysinger

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).