Hi Philipp,
Do you have a network connection to the target.
If so then use this
target$ gdbserver :4000 myapp
and then on the debug host after staerting gdb..
gdb$ target remote 192.168.1.100:4000
If you do not have a network then consider using the second console as
the gdb connection leaving
your first serial port for all the normal standard I/O
Regards
Phil Wilshire
On 09/10/2010 05:29 AM, Philipp Brejcha wrote:
Hi everyone,
we would like to debug a uClinux user application with GDB
Therefore we start a gdbserver on our Target, a GDB in a Terminal,
establish a connection via a UART and debug the application.
But to do so, we a second UART cable / interface to see the console
output, which we would prefer to use otherwise.
Do you know how we could remap the in and output (printf(), scanf())
via the GDB / gdbserver?
Its no problem, if we do not see the rest of the console output. All
we would like to see is the printf() of the user application.
Is there an argument to start the gdbserver with this ability to send
and show the in and output in the GDB terminal?
We are also grateful for Google catchwords, helping to get closer to
our goal.
Thanks in advance,
Philipp, Roman
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev