From: Pawel K <mafeusek@gmail.com>
To: Jan Kratochvil <jan.kratochvil@redhat.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 10:44:00 -0000 [thread overview]
Message-ID: <AANLkTikRFXh=3Ht=-_=8Bhs6GUvqKRnhiEzSKhYqSwT2@mail.gmail.com> (raw)
In-Reply-To: <20100913084127.GA25115@host1.dyn.jankratochvil.net>
Hallo Jan
prompt# file ./binary.debug
./binary.debug: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs),
for GNU/Linux 2.6.9, not stripped
prompt# file ./core.15070
./core.15070: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV),
SVR4-style, from 'binary'
> 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.
unfortunatelly it didn't help:
prompt# gdb --annotate=3 ./binary.debug
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from binary.debug...done.
(gdb) core core.15070
core.15070 is not a core dump: File format not recognized
(gdb)
> 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 "[...?]".
by the way, gdb 7.2 compiled and installed from tar ball printed:
This GDB was configured as "i686-pc-linux-gnu".
where else can the problem be?
best regards,
Pawel
prev parent reply other threads:[~2010-09-13 10:44 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
2010-09-13 10:44 ` Pawel K [this message]
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='AANLkTikRFXh=3Ht=-_=8Bhs6GUvqKRnhiEzSKhYqSwT2@mail.gmail.com' \
--to=mafeusek@gmail.com \
--cc=gdb@sourceware.org \
--cc=jan.kratochvil@redhat.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