This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: get output of target exe thru cross-gdb


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]