Program Snapshot
Net Llama!
netllama
Mon May 17 11:53:55 PDT 2004
you might be able to use gdb, but i thought that you needed to have
debugging symbols turned on to do that with gdb
On 09/20/03 16:44, Ben Duncan wrote:
> Unfortunately, the program was not compiled with debug, so that
> is out of the question.
>
> What I am wanting to do, is like the OLD <Gasp> debug program
> that was in MS-DOS, where you could step thru and OR see the
> ASM code.
>
> I am wanting to follow what the program is doing, and it is a
> "foreign" binary (Coff), so it has to be running.
>
> Thanks ...
>
> Net Llama! wrote:
>
>> On 09/19/03 19:01, Kurt Wall wrote:
>>
>>> Quoth Ben Duncan:
>>>
>>>> Is there a way to do a "core" image/snapshot of a running program?
>>>
>>>
>>>
>>>
>>> Probably. I don't quite understand what you mean, though.
>>
>>
>>
>> Assuming that you have 'ulimit -c unlimited' for the session that the
>> binary was started in and the binary is compiled with debugging
>> symbols, then sure:
>> kill -15 <PID>
>>
>> you'll get a core dump.
>>
>>
>
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
4:45pm up 7 days, 23:13, 1 user, load average: 0.10, 0.05, 0.04
More information about the Linux-users
mailing list