From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23855 invoked by alias); 13 Sep 2010 08:41:37 -0000 Received: (qmail 23845 invoked by uid 22791); 13 Sep 2010 08:41:36 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_PM,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Sep 2010 08:41:32 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o8D8fU76022075 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 13 Sep 2010 04:41:30 -0400 Received: from host1.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o8D8fS3H001380 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 13 Sep 2010 04:41:30 -0400 Received: from host1.dyn.jankratochvil.net (localhost [127.0.0.1]) by host1.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o8D8fSvZ025130; Mon, 13 Sep 2010 10:41:28 +0200 Received: (from jkratoch@localhost) by host1.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o8D8fRqH025129; Mon, 13 Sep 2010 10:41:27 +0200 Date: Mon, 13 Sep 2010 08:41:00 -0000 From: Jan Kratochvil To: Pawel K Cc: gdb@sourceware.org Subject: Re: gdb 7.2: problem reading core generated by executable compiled by gcc-4.1.2/glibc-2.5-24 Message-ID: <20100913084127.GA25115@host1.dyn.jankratochvil.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) 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: 2010-09/txt/msg00079.txt.bz2 On Mon, 13 Sep 2010 10:28:34 +0200, Pawel K wrote: > I just compiled and installed gdb 7.2 on my Redhat 5.x system just to > get python support. offtopic part here but: If you mean Red Hat Enterprise Linux (AKA RHEL) 5.x then you can use from RHEL 5.5 or CentOS 5.5: rpmbuild --rebuild --with python gdb-7.0.1-23.el5.src.rpm `--with python' would be default (but the binary rpms do not have it). Such binary will not be unsupported. > I need to debug a core that was produced by (multithreaded) executable > compiled and run on this system. > Unfortunatelly on gdb 7.2 I get following error: > (gdb) core core.5595 > "/var/tmp/core.5595" is not a core dump: File format not recognized You should compare what `file /var/tmp/core.5595' thinks about it together with what prints just `gdb' when you run it: This GDB was configured as "[...?]". Regards, Jan