lkml.org 
[lkml]   [2010]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kgdb errors with serial console
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.


\
 
 \ /
  Last update: 2010-10-08 15:21    [W:0.091 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site