get output of target exe thru cross-gdb

Aman Wardak aman.wardak@gmail.com
Tue Feb 13 16:06:00 GMT 2007


I asked because testsuite/gdb.base/fileio.exp expects it as such.  So
I guess this test was not written with the cross environment in mind.

Does anyone run the testsuite in a cross environment?

-Aman

On 2/12/07, Daniel Jacobowitz <drow@false.org> wrote:
> On Mon, Feb 12, 2007 at 07:06:35PM -0800, Aman Wardak wrote:
> > How do I get the output of and executable on the target system thru
> > gdb to the host system?
> >
> > i.e....
> > target:
> >  gdbserver :2345 ./helloworld
> >
> > host:
> >  gdb ./helloworld
> >  target remote targetip:2345
> >  continue
> >  <<I want to see the output of helloworld here>>
>
> There's no support for this in gdbserver, unfortunately.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>



More information about the Gdb mailing list