From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24508 invoked by alias); 21 Jan 2002 09:00:32 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24305 invoked from network); 21 Jan 2002 09:00:10 -0000 Received: from unknown (HELO zok.sgi.com) (204.94.215.101) by sources.redhat.com with SMTP; 21 Jan 2002 09:00:10 -0000 Received: from rock.csd.sgi.com (fddi-rock.csd.sgi.com [130.62.69.10]) by zok.sgi.com (8.11.4/8.11.4/linux-outbound_gateway-1.1) with ESMTP id g0L90Ao18613; Mon, 21 Jan 2002 01:00:10 -0800 Received: from piet1.csd.sgi.com (piet1.csd.sgi.com [130.62.73.47]) by rock.csd.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id BAA90892; Mon, 21 Jan 2002 01:00:09 -0800 (PST) Received: (from piet@localhost) by piet1.csd.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id BAA55168; Mon, 21 Jan 2002 01:00:08 -0800 (PST) Date: Mon, 21 Jan 2002 01:00:00 -0000 From: Piet/Pete Delaney To: gdb@sources.redhat.com Cc: Piet Delaney , obrien@freebsd.org, kgdb@vsnl.net, grundler@dsl2.external.hp.com, davidm@hpl.hp.com Subject: ia64-stub.c Message-ID: <20020121010007.C54701@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i X-SW-Source: 2002-01/txt/msg00229.txt.bz2 I've searched various gdb source directorys and with Google for a stub for communicating with ia64. I've monified a ia32 version of kdb stub that Andi Kleen sent me about half wroking with gdb on a ia64. The registeres after gr31 are giving me problems. I have to sort out linking problems with gdb on my system to dig into the problem. If could be that the GDB monitor.c code isn't working right due to the definitions of register sizes for things like the 1 bit prediction registers. It's difficult to be sure wihout modifying the gdb code so I can have it wait till I attach gdb to it prior to it's sending the 'g' packet. It's appears to be asking for memory locations relative to values in the 1st 32 general registers to find the other registers. I haven't seen anything that explains that behavior, so I likely have to checkout whats going on within gdb. I just thought I'd make sure I'm not duplicating any existing work that's available under the GNU license. I've looked for an exsiting ia64-stub.c and currently it looks like none are available. If not I would think it would be easy after the user space skdb.c works for ia64. -piet