From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19832 invoked by alias); 28 Feb 2006 15:46:05 -0000 Received: (qmail 19435 invoked by uid 22791); 28 Feb 2006 15:46:03 -0000 X-Spam-Check-By: sourceware.org Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.207) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 28 Feb 2006 15:46:01 +0000 Received: by zproxy.gmail.com with SMTP id n1so248031nzf for ; Tue, 28 Feb 2006 07:45:59 -0800 (PST) Received: by 10.36.128.20 with SMTP id a20mr287591nzd; Tue, 28 Feb 2006 07:45:57 -0800 (PST) Received: by 10.36.48.4 with HTTP; Tue, 28 Feb 2006 07:45:57 -0800 (PST) Message-ID: Date: Tue, 28 Feb 2006 19:18:00 -0000 From: "Harsha HS" To: gdb@sources.redhat.com Subject: Re: reading register information from corefile In-Reply-To: <20060227162130.GA20368@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060227162130.GA20368@nevyn.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00329.txt.bz2 I am trying to build a corss gdb for mips r3k architecture. When i try to load core file i get the message that "GDB can't read core files on this machine", as the function find_target_core returns NULL. find_target_core scans the struct target_ops for the core_stratum and returns the appropriate target structure. Can u please help me on how to initialize the struct target_ops with the relevent values to support the loading of the core file specific to mips target. thanks, harsha