gdbserver args
Mike Frysinger
vapier@gentoo.org
Mon Mar 16 16:36:00 GMT 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/gdb/attachments/20150316/53ac6580/attachment.sig>
More information about the Gdb
mailing list