lkml.org 
[lkml]   [1996]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjecthow do I debug core files?
Date
From

I'm running:
gdb 4.16
linux 1.3.94

I never got it working, I heard in the path it was problems...

Now I decided I need to...

How do I examine core files?
leisner@thingy; gdb --version
GDB 4.16 (i586-unknown-linux), Copyright 1996 Free Software Foundation, Inc.
: leisner@thingy; ulimit -c
unlimited
: leisner@thingy; file core
core: ELF 32-bit LSB core file i386 (386 and up) Version 1
: leisner@thingy; ls -l mkbuiltins
-rwxr-xr-x 1 leisner users 116262 May 3 13:31 mkbuiltins*
: leisner@thingy; file mkbuiltins
mkbuiltins: ELF 32-bit LSB executable i386 (386 and up) Version 1
: leisner@thingy; gdb mkbuiltins core
GDB is free software and you are welcome to 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.
GDB 4.16 (i586-unknown-linux), Copyright 1996 Free Software Foundation, Inc...
Couldn't fetch registers from core file: File in wrong format
Couldn't fetch registers from core file: File in wrong format
#0 0x0 in ?? ()
(gdb)

marty leisner@sdsp.mc.xerox.com
Member of the League for Programming Freedom (http://www.lpf.org)
Any sufficiently advanced technology is indistinguishable from magic
Arthur C. Clarke, The Lost Worlds of 2001


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.025 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site