get output of target exe thru cross-gdb

Aman Wardak
2007-02-13T03:06:42Z

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