Subject: Re: Viewing core file
To: Deepak Shukla <deepak_shukla@bharatmail.com>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: current-users
Date: 01/13/2003 12:20:29
Deepak Shukla <deepak_shukla@bharatmail.com> writes:

> Could you please tell me how to view core file in NetBSD which is
> binary format without using GDB.

I'm not sure how exactly you want to view it. GDB is the only tool we
have which knows how to display the contents of a core dump in the
context of the program that generated the core dump, but objdump(1)
and readelf(1) program can display some basic information about the
sections in the core dump file, which ranges of memory are stored, and
so on. "objdump -h program.core" and "readelf -a program.core" might
be good places to start.

        - Nathan