how to pass arguments from gdb to gdbserver
i want to debug a program which run on xscale board.
i run xscale-gdbserver on the target board,
and run xscale-gdb on the host.
i want to pass arguments to the program by from xscale-gdb to
xscale-gdbserver, i use the command: set args to pass the argument, but i
find the argument dosent pass to program
Re: how to pass arguments from gdb to gdbserver
i have know how to do it now
"freegnu" <freegnu@163.com> 写入消息新闻:egf4l0$7qs$1@news.yaako.com...[color=blue]
> i want to debug a program which run on xscale board.
> i run xscale-gdbserver on the target board,
> and run xscale-gdb on the host.
> i want to pass arguments to the program by from xscale-gdb to
> xscale-gdbserver, i use the command: set args to pass the argument, but i
> find the argument dosent pass to program
>[/color]
Re: how to pass arguments from gdb to gdbserver
freegnu wrote:[color=blue]
> i have know how to do it now
>
> "freegnu" <freegnu@163.com> 写入消息新闻:egf4l0$7qs$1@news.yaako.com...[color=green]
> > i want to debug a program which run on xscale board.
> > i run xscale-gdbserver on the target board,
> > and run xscale-gdb on the host.
> > i want to pass arguments to the program by from xscale-gdb to
> > xscale-gdbserver, i use the command: set args to pass the argument, buti
> > find the argument dosent pass to program
> >[/color][/color]
Hi,
It is good that you have got the solution to your problem.
But I think it will be better if after getting solution you let the
others know about it. After all if you expect others to help you...you
should also do the same.
Thanks,
Re: how to pass arguments from gdb to gdbserver
it only to type the command
gdbserver IP:PORT command args
"bansal" <bansal.dk@gmail.com>
??????:1160475209.548402.109620@i42g2000cwa.googlegroups.com...
freegnu wrote:[color=blue]
> i have know how to do it now
>
> "freegnu" <freegnu@163.com> 写入消息新闻:egf4l0$7qs$1@news.yaako.com...[color=green]
> > i want to debug a program which run on xscale board.
> > i run xscale-gdbserver on the target board,
> > and run xscale-gdb on the host.
> > i want to pass arguments to the program by from xscale-gdb to
> > xscale-gdbserver, i use the command: set args to pass the argument, but
> > i
> > find the argument dosent pass to program
> >[/color][/color]
Hi,
It is good that you have got the solution to your problem.
But I think it will be better if after getting solution you let the
others know about it. After all if you expect others to help you...you
should also do the same.
Thanks,