Re: kgdb errors with serial console

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jason Wessel
Date: Friday, October 8, 2010 - 6:17 am

On 10/08/2010 05:41 AM, Elvis Dowson wrote:

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.




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

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

Jason.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
kgdb errors with serial console, Elvis Dowson, (Thu Oct 7, 2:47 pm)
Re: kgdb errors with serial console, Jason Wessel, (Thu Oct 7, 3:37 pm)
Re: kgdb errors with serial console, Elvis Dowson, (Thu Oct 7, 3:55 pm)
Re: kgdb errors with serial console, Elvis Dowson, (Thu Oct 7, 4:07 pm)
Re: kgdb errors with serial console, Jason Wessel, (Thu Oct 7, 4:44 pm)
Re: kgdb errors with serial console, Elvis Dowson, (Fri Oct 8, 3:41 am)
Re: kgdb errors with serial console, Jason Wessel, (Fri Oct 8, 6:17 am)
Re: kgdb errors with serial console, Elvis Dowson, (Fri Oct 8, 2:36 pm)
Re: kgdb errors with serial console, Elvis Dowson, (Fri Oct 8, 3:07 pm)
Re: kgdb errors with serial console, Elvis Dowson, (Fri Oct 8, 3:33 pm)
Re: kgdb errors with serial console, Elvis Dowson, (Fri Oct 8, 5:05 pm)