From owner-freebsd-current Thu Feb 5 21:30:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA01512 for current-outgoing; Thu, 5 Feb 1998 21:30:29 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA01506 for ; Thu, 5 Feb 1998 21:30:22 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id PAA07058; Fri, 6 Feb 1998 15:59:00 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id PAA19954; Fri, 6 Feb 1998 15:59:00 +1030 (CST) (envelope-from grog) Message-ID: <19980206155859.02035@freebie.lemis.com> Date: Fri, 6 Feb 1998 15:58:59 +1030 From: Greg Lehey To: Amancio Hasty , freebsd-current@FreeBSD.ORG Cc: Julian Elischer Subject: Re: Remote gdb ? References: <199802060426.UAA03850@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <199802060426.UAA03850@rah.star-gate.com>; from Amancio Hasty on Thu, Feb 05, 1998 at 08:26:13PM -0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe current" On Thu, 5 February 1998 at 20:26:13 -0800, Amancio Hasty wrote: > > Does anyone know what can cause "Reply contains invalid hex digit 116" ? At a guess, it's an overrun. I haven't been able to get remote gdb to work reliably above 9600 bps. In fact, I haven't been able to get it to work reliably at all, but at least at 9600 bps I don't have any transmission errors :-) Of course, I don't believe it's a hex digit at all. I'd guess it's decimal (0x74 hex, or 't'). Is it repeatable? From what you show below, it appears to be intermittent. Greg > > Tnks, > Amancio > > (kgdb) set remotebaud 38400 > (kgdb) target remote /dev/cuaa0 > Remote debugging using /dev/cuaa0 > Debugger (msg=0xf01f33eb "manual escape to debugger") > at ../../i386/i386/db_interface.c:319 > 319 } > (kgdb) frame > #0 Debugger (msg=0xf01f33eb "manual escape to debugger") > at ../../i386/i386/db_interface.c:319 > 319 } > (kgdb) cont > Continuing. > > Program received signal SIGTRAP, Trace/breakpoint trap. > Debugger (msg=0xf0117874 "panic") at ../../i386/i386/db_interface.c:317 > 317 in_Debugger = 0; > (kgdb) frame > #0 Debugger (Ignoring packet error, continuing... > msg=Reply contains invalid hex digit 116 > ) at ../../i386/i386/db_interface.c:317 > 317 in_Debugger = 0; > (kgdb) > {root} stty -f /dev/cuaa0 > speed 38400 baud; > lflags: -icanon -isig -iexten -echo > iflags: -icrnl -ixon -ixany -imaxbel -brkint > oflags: -opost -onlcr -oxtabs > cflags: cs8 -parenb clocal > min time > 0 20