From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1263 invoked by alias); 13 Apr 2007 16:40:35 -0000 Received: (qmail 1213 invoked by uid 22791); 13 Apr 2007 16:40:34 -0000 X-Spam-Check-By: sourceware.org Received: from nz-out-0506.google.com (HELO nz-out-0506.google.com) (64.233.162.239) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 13 Apr 2007 17:40:27 +0100 Received: by nz-out-0506.google.com with SMTP id m7so796047nzf for ; Fri, 13 Apr 2007 09:40:26 -0700 (PDT) Received: by 10.114.52.1 with SMTP id z1mr1014893waz.1176482426016; Fri, 13 Apr 2007 09:40:26 -0700 (PDT) Received: by 10.114.52.6 with HTTP; Fri, 13 Apr 2007 09:40:25 -0700 (PDT) Message-ID: Date: Fri, 13 Apr 2007 16:40:00 -0000 From: "Alex Gonzalez" To: "Alex Gonzalez" , gdb@sourceware.org Subject: Re: Invalid hex digit 59 - Linux MIPS kernel debugging In-Reply-To: <20070413150929.GA20853@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070413150929.GA20853@caradoc.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00093.txt.bz2 Thanks, I'll try that. If you don't mind me asking, why would gdb expect 64bits registers when the target abi is set to o32? On 4/13/07, Daniel Jacobowitz wrote: > On Fri, Apr 13, 2007 at 04:01:35PM +0100, Alex Gonzalez wrote: > > Hi, > > > > I am trying to debug the Linux MIPS kernel using gdb. > > > > I have the gdb stub in the kernel and gdb communicating through the > > serial interface, I seem to be able to set a breakpoint but gdb never > > hits it. It complains with a 'Reply contains invalid hex digit 59', > > which I guess refers to the semicolon character used in the response. > > > > I enclose the session output in case someone can give me some pointers. > > Try a CVS snapshot of GDB. What's probably going on is that your GDB > expects 64-bit registers, so it is confused to find a semicolon in the > middle of a register value. > > > -- > Daniel Jacobowitz > CodeSourcery >