Program Snapshot

Ben Duncan bns
Mon May 17 11:53:55 PDT 2004


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.
> 
> 


-- 
Ben Duncan   Phone (601)-355-2574     Fax (601)-355-2573   Cell (601)-946-1220
                         Business Network Solutions
                      336 Elton Road  Jackson MS, 39212
    "Software is like Sex, it is better when it's free" - Linus Torvalds



More information about the Linux-users mailing list