From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25819 invoked by alias); 28 Mar 2005 23:29:24 -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 25743 invoked from network); 28 Mar 2005 23:29:22 -0000 Received: from unknown (HELO heavymobile.ringle.org) (12.153.69.6) by sourceware.org with SMTP; 28 Mar 2005 23:29:22 -0000 Received: by heavymobile.ringle.org (Postfix, from userid 503) id E07826FE21; Mon, 28 Mar 2005 18:29:20 -0500 (EST) From: Jon Ringle To: gdb@sources.redhat.com Subject: arm core analysis on x86 host Date: Mon, 28 Mar 2005 23:29:00 -0000 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503281829.19775.jon.ringle@comdial.com> X-SW-Source: 2005-03/txt/msg00266.txt.bz2 Hello, I'm trying to analyze an arm core dump on an x86 host and I get the error when using the core command: GDB can't read core files on this machine. The error message is coming because find_core_target() is returning NULL, and it's returning NULL because it can't find a match for (*t)->to_stratum == core_stratum I find that the only place that core_stratum gets used to set to_stratum is in init_core_ops(), which gets called by _initialize_corelow(). However, I can't find any code that calls _initialize_corelow(). 1) Can the current gdb analyze an arm core dump? 2) If not, I would appreciate some pointers to help me add this support. Thanks, Jon