From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30366 invoked by alias); 24 Feb 2005 06:54: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 30329 invoked from network); 24 Feb 2005 06:54:26 -0000 Received: from unknown (HELO willowglen.com.sg) (61.8.245.90) by sourceware.org with SMTP; 24 Feb 2005 06:54:26 -0000 Received: from joe-pc ([192.3.20.225]) by willowglen.com.sg (8.12.6/8.13.6) with ESMTP id j1O6rKXf030484 for ; Thu, 24 Feb 2005 14:53:20 +0800 (SGT) Date: Thu, 24 Feb 2005 17:11:00 -0000 Subject: Examining mips-openbsd core files from i386-openbsd host To: gdb@sources.redhat.com From: "Joe Goh" Organization: Willowglen Services Pte Ltd Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera M2/7.60 (Win32, build 7263) X-SW-Source: 2005-02/txt/msg00156.txt.bz2 Hi everyone, I'm having trouble compiling gdb 6.3 to be able to examine core files from a mipsel-openbsd host, using an i386-openbsd host. I'm compiling gdb on an OpenBSD 3.6 i386 host with --target=mipsel-openbsd and the build succeeds, but when I try to open a core file, gdb complains of, "GDB can't read core files on this machine.". Printing out some debug messages from find_core_target() in gdb/target.c reveals that there are none of the "target_ops" structures in "target_structs" are "core_stratum"'s. Are there any switches I need to pass to "configure" to be able to do cross architecture core file examination? Or are there some settings that I need to do in runtime from the gdb prompt? Thanks in advance! Joe