* get output of target exe thru cross-gdb
@ 2007-02-13 3:33 Aman Wardak
2007-02-13 11:59 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Aman Wardak @ 2007-02-13 3:33 UTC (permalink / raw)
To: gdb
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>>
---
Thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: get output of target exe thru cross-gdb
2007-02-13 3:33 get output of target exe thru cross-gdb Aman Wardak
@ 2007-02-13 11:59 ` Daniel Jacobowitz
2007-02-13 16:06 ` Aman Wardak
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2007-02-13 11:59 UTC (permalink / raw)
To: Aman Wardak; +Cc: gdb
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: get output of target exe thru cross-gdb
2007-02-13 11:59 ` Daniel Jacobowitz
@ 2007-02-13 16:06 ` Aman Wardak
2007-02-13 16:13 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Aman Wardak @ 2007-02-13 16:06 UTC (permalink / raw)
To: Aman Wardak, 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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: get output of target exe thru cross-gdb
2007-02-13 16:06 ` Aman Wardak
@ 2007-02-13 16:13 ` Daniel Jacobowitz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2007-02-13 16:13 UTC (permalink / raw)
To: Aman Wardak; +Cc: gdb
On Tue, Feb 13, 2007 at 07:29:17AM -0800, Aman Wardak wrote:
> 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.
The test should probably be disabled when using gdbserver. I haven't
figured out what a good condition would be - is_remote target &&
(istarget *-*-linux* || istarget *-*-mingw32*) maybe, with other
targets added as gdbserver support is added for new targets?
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-02-13 15:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-13 3:33 get output of target exe thru cross-gdb Aman Wardak
2007-02-13 11:59 ` Daniel Jacobowitz
2007-02-13 16:06 ` Aman Wardak
2007-02-13 16:13 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox