linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Wessel <jason.wessel@windriver.com>
To: Elvis Dowson <elvis.dowson@mac.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux OMAP Mailing List <linux-omap@vger.kernel.org>
Subject: Re: kgdb errors with serial console
Date: Fri, 08 Oct 2010 08:17:46 -0500	[thread overview]
Message-ID: <4CAF19FA.7010206@windriver.com> (raw)
In-Reply-To: <917F9CCC-F3D3-4E23-B955-412F08CE8E2E@mac.com>

On 10/08/2010 05:41 AM, Elvis Dowson wrote:
> Hi Jason,
>                       I'm getting eclipse target time outs, I've attached link to the video here : http://drop.io/kgdbwe01
>   

Because you are using a serial link you certainly want to close any
related to extra data you don't need.   Not knowing a whole lot about
what the Eclipse plugin gdb does, it is hard to know if this was an
eclipse timeout or not.

If you add the following to your .gdbinit it will at least tell you what
happened at the end.

set remotelogfile /tmp/gdb_serial_log.txt

It would be good to know if eclipse timed out and it just detached from
the target, or if some command crashed gdb.  It is purely a guess, but
it is probably eclipse requesting lots of information and simply timing out.



> and then launched eclipse debugger. It loads the vmlinux file, and a bunch of junk characters keep appearing continuously on the telnet session. 
>
>   

The "junk" you speak of is simply the gdb serial traffic, it is answered
in the FAQ


http://git.kernel.org/?p=utils/kernel/kgdb/agent-proxy.git;a=blob;f=README.TXT
> After about a minute or so, Eclipse terminates the session saying that it timed out. You can see this in the video. I edited the video, in between to trim off the long wait, with the characters scrolling in the terminal session, to the point where it crashes.
>
>   

I would not expect the terminal session to crash.  If an oops is
printed, it means there is an internal kgdb problem.

Jason.

  reply	other threads:[~2010-10-08 13:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-07 21:47 kgdb errors with serial console Elvis Dowson
2010-10-07 22:37 ` Jason Wessel
2010-10-07 22:55   ` Elvis Dowson
2010-10-07 23:07   ` Elvis Dowson
2010-10-07 23:44     ` Jason Wessel
2010-10-08 10:41       ` Elvis Dowson
2010-10-08 13:17         ` Jason Wessel [this message]
2010-10-08 21:36           ` Elvis Dowson
2010-10-08 22:07           ` Elvis Dowson
2010-10-08 22:33           ` Elvis Dowson
2010-10-09  0:05           ` Elvis Dowson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CAF19FA.7010206@windriver.com \
    --to=jason.wessel@windriver.com \
    --cc=elvis.dowson@mac.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).