[lug] gcore for rh 9

Zan Lynx zlynx at acm.org
Thu Oct 21 15:09:31 MDT 2004


On Thu, 2004-10-21 at 14:04 -0600, Andrew Diederich wrote:
[snip]
> To test it I started top, got the pid, and "gcore <pid>".  core.<pid> was
> generated, so I "gdb core.<pid>".  Results:
> 
> This GDB was configured as "i386-redhat-linux-gnu"..."/home/adiederich/bin/core.25434": not in executable format: File format not recognized
> 
> I tried copying top into the directory, too, in case it wanted the bin in the 
> same dir, but no joy.  File thinks it's ok:
> [adiederich at bun-bun bin]$ file core.25422
> core.25422: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style,
> from 'top'
> 
> How do I know for certain if this is a good core file?
> 

My gdb experiences with core files have always required:
$ gdb program core

gdb core does not work.
-- 
Zan Lynx <zlynx at acm.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20041021/e07d4b48/attachment.pgp>


More information about the LUG mailing list