* Serial Debugging
@ 2002-11-26 19:35 Aman
2002-11-26 19:48 ` Chris Hallinan
0 siblings, 1 reply; 3+ messages in thread
From: Aman @ 2002-11-26 19:35 UTC (permalink / raw)
To: linuxppc embedded
Hi All
I am using PPC 440GP eval board. I wanted to do debug application using
serial. The serial device /dev/ttyS0 is used as console. I have connected a
null modem cable to the device /dev/ttyS1 on the eval kit and the linux
host. I gv the following command in the evalkit.
root@192.168.13.246:~# gdbserver /dev/ttyS1 hello
Process hello created; pid = 95
Remote debugging using /dev/ttyS1
on the giving the following command in ddd window in the linux host. I get
the following errors.
(gdb) target remote /dev/ttyS1
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Couldn't establish connection to remote target
Malformed response to offset query, timeout
Can anybody tell me , what I am missing out
Thanking you in advance
Regards
Aman
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Serial Debugging
2002-11-26 19:35 Serial Debugging Aman
@ 2002-11-26 19:48 ` Chris Hallinan
2002-11-27 6:55 ` Aman
0 siblings, 1 reply; 3+ messages in thread
From: Chris Hallinan @ 2002-11-26 19:48 UTC (permalink / raw)
To: Aman; +Cc: linuxppc embedded
Aman wrote:
>
> Hi All
>
> I am using PPC 440GP eval board. I wanted to do debug
> application using
> serial. The serial device /dev/ttyS0 is used as console.
> I have connected a
> null modem cable to the device /dev/ttyS1 on the eval kit
> and the linux
> host. I gv the following command in the evalkit.
>
> root@192.168.13.246:~# gdbserver /dev/ttyS1 hello
> Process hello created; pid = 95
> Remote debugging using /dev/ttyS1
>
> on the giving the following command in ddd window in the
> linux host. I get
> the following errors.
>
> (gdb) target remote /dev/ttyS1
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Couldn't establish connection to remote target
> Malformed response to offset query, timeout
>
>
> Can anybody tell me , what I am missing out
Is it possible you are using the native gdb, rather than the one
compiled for your cross-development environment? This is a common
error in this case.
Please post the output from gdb when you invoke your gdb from the
command line.
Chris Hallinan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Serial Debugging
2002-11-26 19:48 ` Chris Hallinan
@ 2002-11-27 6:55 ` Aman
0 siblings, 0 replies; 3+ messages in thread
From: Aman @ 2002-11-27 6:55 UTC (permalink / raw)
To: Chris Hallinan; +Cc: linuxppc embedded
Hi Chris
Below is the output of the command line gdb. I am using Hardhat Linux. I
gave the command "ppc_405-gdb"
GNU gdb 5.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as
"--host=i686-pc-linux-gnu --target=powerpc-hardhat-linux".
(gdb)
Thanking you in advance
Regards
Aman
----- Original Message -----
From: "Chris Hallinan" <clh@net1plus.com>
To: "Aman" <aman@mistralsoftware.com>
Cc: "linuxppc embedded" <linuxppc-embedded@lists.linuxppc.org>
Sent: Wednesday, November 27, 2002 1:18 AM
Subject: RE: Serial Debugging
>
> Aman wrote:
> >
> > Hi All
> >
> > I am using PPC 440GP eval board. I wanted to do debug
> > application using
> > serial. The serial device /dev/ttyS0 is used as console.
> > I have connected a
> > null modem cable to the device /dev/ttyS1 on the eval kit
> > and the linux
> > host. I gv the following command in the evalkit.
> >
> > root@192.168.13.246:~# gdbserver /dev/ttyS1 hello
> > Process hello created; pid = 95
> > Remote debugging using /dev/ttyS1
> >
> > on the giving the following command in ddd window in the
> > linux host. I get
> > the following errors.
> >
> > (gdb) target remote /dev/ttyS1
> > Ignoring packet error, continuing...
> > Ignoring packet error, continuing...
> > Ignoring packet error, continuing...
> > Couldn't establish connection to remote target
> > Malformed response to offset query, timeout
> >
> >
> > Can anybody tell me , what I am missing out
>
> Is it possible you are using the native gdb, rather than the one
> compiled for your cross-development environment? This is a common
> error in this case.
>
> Please post the output from gdb when you invoke your gdb from the
> command line.
>
> Chris Hallinan
>
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-11-27 6:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-26 19:35 Serial Debugging Aman
2002-11-26 19:48 ` Chris Hallinan
2002-11-27 6:55 ` Aman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).