linux-mips
[Top] [All Lists]

Re: Problems debugging multithreaded program wirh gdbserver via ser ial

To: Yoni Rabinovitch <Yoni.Rabinovich@Teledata-Networks.com>
Subject: Re: Problems debugging multithreaded program wirh gdbserver via ser ial port
From: Daniel Jacobowitz <dan@debian.org>
Date: Mon, 8 Nov 2004 19:57:03 -0500
Cc: linux-mips@linux-mips.org
In-reply-to: <D6FAAE89E48C5B488B41BEBBDCD746CD09E7CF@tndcmail.Teledata.Local>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <D6FAAE89E48C5B488B41BEBBDCD746CD09E7CF@tndcmail.Teledata.Local>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.5.1+cvs20040105i
On Mon, Nov 08, 2004 at 05:53:40PM +0200, Yoni Rabinovitch wrote:
> Running with "set debug serial 1" gives me the following:
> 
> In the gdb session,I see lots of the following messages:
> [O][K][#][9][a][$]Packet instead of Ack, ignoring it
> 
> Simultaneously, in the gdbserver session (via minicom) I see:
> +$OK#9a

Um.... you're running with a serial port open on the same port you're
trying to debug on?  That can't work.  Use one for console and the
other for gdbserver, or come to some other arrangement if your board
only has one.

-- 
Daniel Jacobowitz

<Prev in Thread] Current Thread [Next in Thread>