Re: get output of target exe thru cross-gdb

Aman Wardak
2007-02-13T15:29:26Z

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
>