* ATOM on Digital Unix 3.2D
@ 1998-02-05 5:00 villa
1998-02-07 5:00 ` David Cherkus
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: villa @ 1998-02-05 5:00 UTC (permalink / raw)
Hi,
I need a tool to track malloc in my programs.
A friend suggest me ATOM.
I work with Digital Unix 3.2D on Alpha Stations.
Where is it available?
Thanks
Joby
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ATOM on Digital Unix 3.2D
1998-02-05 5:00 ATOM on Digital Unix 3.2D villa
@ 1998-02-07 5:00 ` David Cherkus
1998-02-08 5:00 ` RRrp Toren
1998-02-16 5:00 ` John P Williams
2 siblings, 0 replies; 5+ messages in thread
From: David Cherkus @ 1998-02-07 5:00 UTC (permalink / raw)
It is on the Digital UNIX operating system cd rom.
It is an optionally loaded subset. Maybe it was
not installed when the system was installed. Read
the software installation manual.
Dave
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ATOM on Digital Unix 3.2D
1998-02-05 5:00 ATOM on Digital Unix 3.2D villa
1998-02-07 5:00 ` David Cherkus
@ 1998-02-08 5:00 ` RRrp Toren
1998-02-11 5:00 ` Dirk Grunwald
1998-02-16 5:00 ` John P Williams
2 siblings, 1 reply; 5+ messages in thread
From: RRrp Toren @ 1998-02-08 5:00 UTC (permalink / raw)
I was looking for the same. ATOM was not obviously useable without
a great deal of study. I ended up with a substitute malloc library
from
ftp://ftp.digital.com/pub/misc/dmalloc/dmalloc-3.0.5.tar.gz
villa wrote:
>
> Hi,
> I need a tool to track malloc in my programs.
> A friend suggest me ATOM.
> I work with Digital Unix 3.2D on Alpha Stations.
> Where is it available?
> Thanks
> Joby
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ATOM on Digital Unix 3.2D
1998-02-08 5:00 ` RRrp Toren
@ 1998-02-11 5:00 ` Dirk Grunwald
0 siblings, 0 replies; 5+ messages in thread
From: Dirk Grunwald @ 1998-02-11 5:00 UTC (permalink / raw)
RRrp Toren <rtoren@erols.com> writes:
>
> I was looking for the same. ATOM was not obviously useable without
> a great deal of study. I ended up with a substitute malloc library
> from
> ftp://ftp.digital.com/pub/misc/dmalloc/dmalloc-3.0.5.tar.gz
>
> villa wrote:
> >
> > Hi,
> > I need a tool to track malloc in my programs.
> > A friend suggest me ATOM.
> > I work with Digital Unix 3.2D on Alpha Stations.
> > Where is it available?
> > Thanks
> > Joby
-
Yes, but the beauty of atom is that it simplifies building packages
that do exactly what you want.
If you want a "debuggin" malloc, all you do is:
% atom -o modified-app app -tool third
% setenv LD_LIBRARY_PATH .
% modified-app -what -flags -you -normally -use
--
Dirk Grunwald Assoc. Prof, Univ. of Colorado at Boulder
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ATOM on Digital Unix 3.2D
1998-02-05 5:00 ATOM on Digital Unix 3.2D villa
1998-02-07 5:00 ` David Cherkus
1998-02-08 5:00 ` RRrp Toren
@ 1998-02-16 5:00 ` John P Williams
2 siblings, 0 replies; 5+ messages in thread
From: John P Williams @ 1998-02-16 5:00 UTC (permalink / raw)
villa wrote:
>
> Hi,
> I need a tool to track malloc in my programs.
> A friend suggest me ATOM.
> I work with Digital Unix 3.2D on Alpha Stations.
> Where is it available?
The tool you are looking for is Third Degree, which
is a ready-to-use tool that is based on Atom.
Atom was not added to Digital UNIX until V4.0, but if
you would like our unsupported beta-quality Advance
Development Kit for V3.2* (which many people have
used for a couple of years), I can send you information
on how to get and use it.
If I may correct the misconceptions in the replies to
your entry:
> It is on the Digital UNIX operating system cd rom
This is only true for V4.0 and later, not V3.2*.
> ATOM was not obviously useable without
> a great deal of study.
Writing your own Atom tool does involve learning an API,
but using one of our ready-to-use tools just involves
looking at its man-page as for any other tool. To run
Third Degree, see the third(5) man-page. For example,
to start with you could type
atom -tool third <program>
and set the LD_LIBRARY_PATH environment variable to "." before
running the instrumented program and looking at its .3log report.
If you want to change the behavior of the tool, create a ./.third
file of commands (similar to a .dbxinit file) - details in third(5).
If you are just tracking malloc, you usefully write these commands
into ./.third
uninit_stack no
uninit_heap no
to turn off the memory checking.
Thanks
john
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-02-16 5:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-05 5:00 ATOM on Digital Unix 3.2D villa
1998-02-07 5:00 ` David Cherkus
1998-02-08 5:00 ` RRrp Toren
1998-02-11 5:00 ` Dirk Grunwald
1998-02-16 5:00 ` John P Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox