Hi all,

I just had a crash from the CLI version of PHP that I wanted to debug, so I enabled core files, triggered the crash, and tried to load the core file into GDB:

arcadia ~ # gdb /usr/lib/php5/bin/php core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

"/home/bootc/core" is not a core dump: File format not recognized
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(gdb)


Yet, file clearly states this is a core file, which I fully expect it to be:

arcadia ~ # file core
core: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4- style, SVR4-style, from 'php'

What the heck is happening?

Chris


--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to