From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,372795da5c388d93 X-Google-Attributes: gidfc89c,public X-Google-Thread: fa528,372795da5c388d93 X-Google-Attributes: gidfa528,public X-Google-Thread: fee84,372795da5c388d93 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,372795da5c388d93 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 2003-01-10 05:46:12 PST Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc,comp.unix.programmer,comp.unix.tru64 Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!cyclone.swbell.net!newsfeed1.easynews.com!easynews.com!easynews!uunet!dfw.uu.net!ash.uu.net!world!not-for-mail From: mzraly@TheWorld.com (Michael S. Zraly) Subject: Re: Finding source lines from COFF executables on OSF1/alpha Sender: news@world.std.com (Mr Usenet Himself) Message-ID: Date: Fri, 10 Jan 2003 13:45:23 GMT References: NNTP-Posting-Host: shell01.theworld.com Organization: The World Public Access UNIX, Brookline, MA X-Newsreader: trn 4.0-test72 (19 April 1999) Xref: archiver1.google.com comp.unix.osf.osf1:154 comp.unix.programmer:39999 comp.unix.tru64:9365 In article , Paul Pluzhnikov wrote: >mzraly@TheWorld.com (Michael S. Zraly) writes: > >> I know about fork-and-core but that's too heavy handed for >> the work I have to do (roll-my-own malloc tracing). > >Did you try mpatrol? >Perhaps you don't need to write yet another malloc() wrapper >after all? I'll look into it, but I'm still interested in this issue, if only to satisfy my curiosity. >> One issue is dynamic libraries: is there any information >> I need to get about where dynamic library code is loaded >> that I cannot get from the executable itself? Or do I >> have to examine the running process to get that first? > >The latter. Are there tools for doing this, similar to pmap and related commands on Solaris? I see OSF does have a proc filesystem, so presumably this would not be terribly hard to do. Has someone done this already perchance? Is there a way for a process to do this to itself? I suppose a process can read its own proc file... For that matter is there a way on OSF to generate a core file? I don't see gcore in the man pages. Thanks, Mike -- Mike Zraly One should forgive one's enemies, mzraly@world.std.com but not before they are hanged. -- Heinrich Heine