Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Pawel K <mafeusek@gmail.com>
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
Date: Mon, 13 Sep 2010 08:41:00 -0000	[thread overview]
Message-ID: <20100913084127.GA25115@host1.dyn.jankratochvil.net> (raw)
In-Reply-To: <AANLkTi=Pts8rCAMOU5xN96nizVo2p6hCHn=gPaQVVcx-@mail.gmail.com>

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


  reply	other threads:[~2010-09-13  8:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-13  8:28 Pawel K
2010-09-13  8:41 ` Jan Kratochvil [this message]
2010-09-13 10:44   ` Pawel K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100913084127.GA25115@host1.dyn.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=mafeusek@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox