dyninst.git
21 years ago+ Changed to bitpattern generated NaN, rather than sqrt(-1).
nick [Tue, 19 Oct 1999 05:14:56 +0000 (05:14 +0000)]
+ Changed to bitpattern generated NaN, rather than sqrt(-1).
+ Added test for new NaN generation algorithm

21 years ago+ Added inclusion of <math.h> as makenan.h no longer includes it
nick [Tue, 19 Oct 1999 05:11:11 +0000 (05:11 +0000)]
+ Added inclusion of <math.h> as makenan.h no longer includes it

21 years ago+ Added inclusion of <math.h> as I took it out of makenan.h
nick [Tue, 19 Oct 1999 03:54:43 +0000 (03:54 +0000)]
+ Added inclusion of <math.h> as I took it out of makenan.h

21 years agofixed routines to compile with either gcc or cc
hollings [Mon, 18 Oct 1999 21:57:19 +0000 (21:57 +0000)]
fixed routines to compile with either gcc or cc

21 years agoFixed problem with gcc vs. default compile.
hollings [Mon, 18 Oct 1999 21:56:46 +0000 (21:56 +0000)]
Fixed problem with gcc vs. default compile.

21 years agonew routine to parse stab strings.
hollings [Mon, 18 Oct 1999 18:48:16 +0000 (18:48 +0000)]
new routine to parse stab strings.

21 years agoGet stab info.
hollings [Mon, 18 Oct 1999 17:39:47 +0000 (17:39 +0000)]
Get stab info.

21 years agoAdded support for stabs on AIX
hollings [Mon, 18 Oct 1999 17:32:41 +0000 (17:32 +0000)]
Added support for stabs on AIX
Added code generation for frame (local) variables on power.
Added support for testing dyninst with native compilers on Solaris & AIX.
Changed Make structure to support multiple version of testN.mutatee

21 years agoAdded support for stabs on AIX
hollings [Mon, 18 Oct 1999 17:32:06 +0000 (17:32 +0000)]
Added support for stabs on AIX
Added code generation for frame (local) variables on power.
Added support for testing dyninst with native compilers on Solaris & AIX.
Changed Make structure to support multiple version of testN.mutatee

21 years agoDon't assume DYNINSTAPI_RT_LIB is non-NULL
zandy [Thu, 14 Oct 1999 22:30:13 +0000 (22:30 +0000)]
Don't assume DYNINSTAPI_RT_LIB is non-NULL

21 years agoCheck that RT inst library pathname exists before forcing inferior to load it
zandy [Thu, 14 Oct 1999 22:28:38 +0000 (22:28 +0000)]
Check that RT inst library pathname exists before forcing inferior to load it

21 years agoEnable system call interruption upon attach for Solaris
zandy [Thu, 14 Oct 1999 22:27:28 +0000 (22:27 +0000)]
Enable system call interruption upon attach for Solaris

21 years agoCleanup of macros -- wrapped in do..while(0) to make them a single statement.
bernat [Thu, 14 Oct 1999 20:57:26 +0000 (20:57 +0000)]
Cleanup of macros -- wrapped in do..while(0) to make them a single statement.

21 years agoTcl/Tk include hackery
wylie [Thu, 14 Oct 1999 20:11:46 +0000 (20:11 +0000)]
Tcl/Tk include hackery

21 years agoMoved refcounter template from here into dyninstAPI/src/templates05.C
wylie [Thu, 14 Oct 1999 18:28:18 +0000 (18:28 +0000)]
Moved refcounter template from here into dyninstAPI/src/templates05.C

21 years agoRestored ref_counter template
wylie [Thu, 14 Oct 1999 18:27:36 +0000 (18:27 +0000)]
Restored ref_counter template

21 years agoRemoved any call to assert(), printf() from getWalltime.
bernat [Wed, 13 Oct 1999 18:18:46 +0000 (18:18 +0000)]
Removed any call to assert(), printf() from getWalltime.

Added infrastructure for a better test of what is causing the rollbacks.

21 years agoExtremely temporary fix for recursive crash on AIX platform.
bernat [Wed, 13 Oct 1999 18:18:15 +0000 (18:18 +0000)]
Extremely temporary fix for recursive crash on AIX platform.

Problem: uncontrolled growth of process when write() is instrumented
  for a wall time.
Reason: any printing from inside getWallTime(), startWalltime, stopWalltime
  will cause an infinite recursive loop.
Solution: Special versions of printf() and assert() for use in start/stop
  wall timer, sets a flag so any recursive call of start/stop exits.

21 years agoFixed user interface problem in which display of time axis would not be
pcroth [Wed, 13 Oct 1999 16:15:56 +0000 (16:15 +0000)]
Fixed user interface problem in which display of time axis would not be
updated on a histogram fold until next resize or expose event.  Now redraws
time axis when the fold occurs.

21 years agoFixed value-out-of-bounds problem with the pan scrollbar, due to
pcroth [Tue, 12 Oct 1999 20:49:35 +0000 (20:49 +0000)]
Fixed value-out-of-bounds problem with the pan scrollbar, due to
roundoff error in the double precision arithmetic.

21 years agoFixed problem where it was possible to move the zoom scrollbar to an
pcroth [Fri, 8 Oct 1999 18:39:42 +0000 (18:39 +0000)]
Fixed problem where it was possible to move the zoom scrollbar to an
out-of-bounds position

21 years agoStandard exclusions
wylie [Thu, 7 Oct 1999 17:08:40 +0000 (17:08 +0000)]
Standard exclusions

21 years agoUpdated to incorporate new Tcl/Tk-based histogram visi.
pcroth [Tue, 5 Oct 1999 22:14:26 +0000 (22:14 +0000)]
Updated to incorporate new Tcl/Tk-based histogram visi.

21 years agoUpdated for new Tcl/Tk histogram visi.
pcroth [Tue, 5 Oct 1999 22:13:02 +0000 (22:13 +0000)]
Updated for new Tcl/Tk histogram visi.

21 years agoInitial commit of Tcl/Tk histogram visi.
pcroth [Tue, 5 Oct 1999 22:09:03 +0000 (22:09 +0000)]
Initial commit of Tcl/Tk histogram visi.

21 years agoMakefile and support for Windows NT 4.0 version of Tcl/Tk histogram visi.
pcroth [Tue, 5 Oct 1999 22:07:37 +0000 (22:07 +0000)]
Makefile and support for Windows NT 4.0 version of Tcl/Tk histogram visi.

21 years agoChanges to the Export Function:
karavan [Sun, 3 Oct 1999 21:36:22 +0000 (21:36 +0000)]
Changes to the Export Function:
 1. Number of bins listed is now actual, not maximum.
 2. Bucket Size is now updated correctly (bug fix).
 3. Data for each phase is now in a separate file, previously all
     phases for one metric instance were collected in a single file.
 4. Phase ID is now listed in the index file.  Phase ID -1 is reported
     for the Global phase.

21 years ago+ Fixed dubious pointer deletion. savedRegs was being allocated as a
nick [Wed, 29 Sep 1999 17:21:51 +0000 (17:21 +0000)]
+ Fixed dubious pointer deletion.  savedRegs was being allocated as a
  char *, returned as a void *, and cast to an int * when being deleted.
  This has been changed to a cast to a char * before deletion.

+ Fixed the initial instrumentation responsible for loading the runtime
  library into the client address space <process::dlopenDYNINSTlib>.  The
  problem arose when switching from using changePC to restoreRegisters (in
  order to emulate a glibc 2.1 internal function call to _dl_open).
  I didn't pursue this much, as all of this code will get changed again as
  I clean up the glibc 2.1 code, but basically the function was getting all
  of the registers, changing some through ptrace, changing others in the
  local copy, and sending the local copy back, cloberring some of the
  changed values.

21 years agoFixed casting problems complained about by gcc 2.95
bernat [Tue, 14 Sep 1999 17:16:30 +0000 (17:16 +0000)]
Fixed casting problems complained about by gcc 2.95

21 years agoFixed various casting problems. Gcc 2.95 wouldn't compile without the
bernat [Tue, 14 Sep 1999 17:16:09 +0000 (17:16 +0000)]
Fixed various casting problems. Gcc 2.95 wouldn't compile without the
changes.

21 years agoAdded prototype for getprocs(), needed for compilation under gcc 2.95.
bernat [Tue, 14 Sep 1999 17:14:52 +0000 (17:14 +0000)]
Added prototype for getprocs(), needed for compilation under gcc 2.95.
  (removes warning on other compilers)

21 years agoMade change to magnify() to prevent functions in excluded modules
cain [Mon, 13 Sep 1999 20:04:59 +0000 (20:04 +0000)]
Made change to magnify() to prevent functions in excluded modules
from being returned to the performance consultant.

21 years ago- Linux fixes, particularly support for glibc 2.1.x
nash [Fri, 10 Sep 1999 14:25:23 +0000 (14:25 +0000)]
- Linux fixes, particularly support for glibc 2.1.x
- Catchup instrumentation fix for shared objects
- Fixes necessary to build with gcc-2.95

21 years agoTidy
zhichen [Thu, 9 Sep 1999 16:00:23 +0000 (16:00 +0000)]
Tidy

21 years agotidy
zhichen [Thu, 9 Sep 1999 15:49:33 +0000 (15:49 +0000)]
tidy

21 years agoUses a separate thread to perform SAFE inferiorRPC
zhichen [Thu, 9 Sep 1999 15:35:40 +0000 (15:35 +0000)]
Uses a separate thread to perform SAFE inferiorRPC

21 years agoAdded multi-thread-aware paradynd and rtinst as threadComps target
wylie [Wed, 8 Sep 1999 16:03:20 +0000 (16:03 +0000)]
Added multi-thread-aware paradynd and rtinst as threadComps target
(also included within standard Paradyn and fullSystem targets)

21 years agoAdded PURE_BUILD purification
wylie [Mon, 6 Sep 1999 20:55:49 +0000 (20:55 +0000)]
Added PURE_BUILD purification

21 years agoThreading suppport
zhichen [Wed, 1 Sep 1999 21:08:27 +0000 (21:08 +0000)]
Threading suppport

21 years agoremove and add it later
zhichen [Wed, 1 Sep 1999 21:07:53 +0000 (21:07 +0000)]
remove and add it later

21 years agoThreading support
zhichen [Wed, 1 Sep 1999 21:07:17 +0000 (21:07 +0000)]
Threading support

21 years agoremove and add again
zhichen [Wed, 1 Sep 1999 21:06:37 +0000 (21:06 +0000)]
remove and add again

21 years agocleanup
zhichen [Wed, 1 Sep 1999 21:03:34 +0000 (21:03 +0000)]
cleanup

21 years agocleanup
zhichen [Wed, 1 Sep 1999 20:58:10 +0000 (20:58 +0000)]
cleanup

21 years agocleanup
zhichen [Wed, 1 Sep 1999 20:47:27 +0000 (20:47 +0000)]
cleanup

21 years agoAdded Ident info
wylie [Wed, 1 Sep 1999 15:21:11 +0000 (15:21 +0000)]
Added Ident info

21 years agobug fix for thread-aware daemon
zhichen [Mon, 30 Aug 1999 16:04:19 +0000 (16:04 +0000)]
bug fix for thread-aware daemon

21 years agoFixed bugs introduced to thread-aware daemon
zhichen [Mon, 30 Aug 1999 16:02:29 +0000 (16:02 +0000)]
Fixed bugs introduced to thread-aware daemon

21 years agotidy
zhichen [Sat, 28 Aug 1999 01:04:43 +0000 (01:04 +0000)]
tidy

21 years agotidy up
zhichen [Sat, 28 Aug 1999 00:35:58 +0000 (00:35 +0000)]
tidy up

21 years agotidy up
zhichen [Fri, 27 Aug 1999 21:00:34 +0000 (21:00 +0000)]
tidy up

21 years agoExtra files for threading support
zhichen [Fri, 27 Aug 1999 20:27:29 +0000 (20:27 +0000)]
Extra files for threading support

21 years agoSize field in ast nodes and emitV* functions
hollings [Thu, 26 Aug 1999 20:02:11 +0000 (20:02 +0000)]
Size field in ast nodes and emitV* functions
Added mutator defined types.
new version of isCompatible
test cases 27 & 28

21 years agoEnabled shared memory.
bernat [Fri, 20 Aug 1999 20:38:40 +0000 (20:38 +0000)]
Enabled shared memory.

Changed getWallTime to use system library call (more portable)

Added getProcs() code (DISABLED) to getCPUTime

21 years agoAdded getRemoteCPUtime and enabled shared memory
bernat [Fri, 20 Aug 1999 20:31:16 +0000 (20:31 +0000)]
Added getRemoteCPUtime and enabled shared memory

21 years agoRemoved stray carriage returns - though they are ignored by most compilers,
pcroth [Thu, 19 Aug 1999 14:37:26 +0000 (14:37 +0000)]
Removed stray carriage returns - though they are ignored by most compilers,
they are annoying and apparently cause problems for the IRIX compiler.

21 years agoAdded explicit instantiation for DyninstAPI apps.
pcroth [Wed, 18 Aug 1999 19:05:22 +0000 (19:05 +0000)]
Added explicit instantiation for DyninstAPI apps.

21 years agoAdded initialization for several object members.
pcroth [Wed, 18 Aug 1999 19:04:48 +0000 (19:04 +0000)]
Added initialization for several object members.

21 years agoFixup last commit (handling of stab reocords for non-instrumentable funcs).
hollings [Wed, 18 Aug 1999 18:13:24 +0000 (18:13 +0000)]
Fixup last commit (handling of stab reocords for non-instrumentable funcs).

21 years agoFixed strcmp for .dynamic section
hollings [Tue, 17 Aug 1999 21:52:14 +0000 (21:52 +0000)]
Fixed strcmp for .dynamic section

21 years agoAdded code so BPatch_function's are created only once.
hollings [Tue, 17 Aug 1999 21:50:05 +0000 (21:50 +0000)]
Added code so BPatch_function's are created only once.

Support for module field in BPatch_function.

Allow access to callee's.

21 years agoAdded fields for modules in BPatch_function's.
hollings [Tue, 17 Aug 1999 21:44:44 +0000 (21:44 +0000)]
Added fields for modules in BPatch_function's.

21 years agoFixed syntax error (undeclared variable)
pcroth [Thu, 12 Aug 1999 21:31:25 +0000 (21:31 +0000)]
Fixed syntax error (undeclared variable)

21 years ago- removed debug printf's
csserra [Mon, 9 Aug 1999 13:43:07 +0000 (13:43 +0000)]
- removed debug printf's

21 years ago- misc. cleanup
csserra [Mon, 9 Aug 1999 05:55:11 +0000 (05:55 +0000)]
- misc. cleanup

21 years ago- improved mips-sgi-irix6.4 shared object loading
csserra [Mon, 9 Aug 1999 05:53:21 +0000 (05:53 +0000)]
- improved mips-sgi-irix6.4 shared object loading

21 years ago- mips-sgi-irix6.4 API test cleanup
csserra [Mon, 9 Aug 1999 05:51:38 +0000 (05:51 +0000)]
- mips-sgi-irix6.4 API test cleanup
  - disabled API test #1.25 (unary operators)
  - improved replaceFunctionCall()
  - added function bodies for replaceFunctionCall() targets

21 years ago- reorganized "Frame" class on all platforms
csserra [Mon, 9 Aug 1999 05:50:21 +0000 (05:50 +0000)]
- reorganized "Frame" class on all platforms
- improved stack frame parsing for mips-sgi-irix6.4

21 years ago- mips-sgi-irix6.4: improved support for 32-bit apps under 64-bit paradynd
csserra [Mon, 9 Aug 1999 05:48:41 +0000 (05:48 +0000)]
- mips-sgi-irix6.4: improved support for 32-bit apps under 64-bit paradynd

21 years ago- added support for (mips-sgi-irix6.4) native compiler build
csserra [Mon, 9 Aug 1999 05:44:29 +0000 (05:44 +0000)]
- added support for (mips-sgi-irix6.4) native compiler build
- eliminated misc. compiler warnings

21 years ago- added support for (mips-sgi-irix6.4) native compiler build
csserra [Mon, 9 Aug 1999 05:36:14 +0000 (05:36 +0000)]
- added support for (mips-sgi-irix6.4) native compiler build
- eliminated misc. compiler warnings

21 years ago- initial commit of mips-sgi-irix6.4 front end
csserra [Mon, 9 Aug 1999 05:29:53 +0000 (05:29 +0000)]
- initial commit of mips-sgi-irix6.4 front end

22 years agoAdded the ability in a mdl process definition to add the flag 'autoStart'
nash [Tue, 3 Aug 1999 20:35:09 +0000 (20:35 +0000)]
Added the ability in a mdl process definition to add the flag 'autoStart'
autoStart defaults to true.  When false, the normal behavior will change
to not automatically launch a daemon for this process, but to wait for
a daemon to be launched manually (either via. command line or by defining
another process without "autoStart false") before starting this process.

22 years agoRemoved operand types AstNode::DataPtr and AstNode::DataValue as they
nash [Tue, 3 Aug 1999 20:28:09 +0000 (20:28 +0000)]
Removed operand types AstNode::DataPtr and AstNode::DataValue as they
were poorly named and duplicated better named types.

22 years agoAdded missing implementation for getTime on NT.
pcroth [Tue, 3 Aug 1999 20:16:32 +0000 (20:16 +0000)]
Added missing implementation for getTime on NT.

22 years agoTurned off frame pointer omission optimization for runtime library, so
pcroth [Mon, 2 Aug 1999 22:51:21 +0000 (22:51 +0000)]
Turned off frame pointer omission optimization for runtime library, so
that can get valid stack walks.

22 years agoRemoved unimportant debugging messages.
nash [Thu, 29 Jul 1999 22:35:05 +0000 (22:35 +0000)]
Removed unimportant debugging messages.

22 years agoUpdated to include RTTI support on NT. RTTI is needed due to a recent
pcroth [Thu, 29 Jul 1999 19:23:42 +0000 (19:23 +0000)]
Updated to include RTTI support on NT.  RTTI is needed due to a recent
commit that uses the C++ dynamic_cast operator.

22 years agoUpdated stack walk code to regard a mainCRTStartup frame as evidence of a
pcroth [Thu, 29 Jul 1999 19:22:37 +0000 (19:22 +0000)]
Updated stack walk code to regard a mainCRTStartup frame as evidence of a
valid stack for both dyninstAPI and paradynd.

22 years agoAdded -skip command
hollings [Thu, 29 Jul 1999 14:02:15 +0000 (14:02 +0000)]
Added -skip command
Added test1 cases 23 24 25 26

22 years agoAdded field and array snippets.
hollings [Thu, 29 Jul 1999 13:59:34 +0000 (13:59 +0000)]
Added field and array snippets.

22 years agoAdded field and array access.
hollings [Thu, 29 Jul 1999 13:58:41 +0000 (13:58 +0000)]
Added field and array access.
Changed load/store to take a size parameter.

22 years ago - Updated the catchup instrumentation code to trigger in a more robust
nash [Wed, 28 Jul 1999 19:20:54 +0000 (19:20 +0000)]
 - Updated the catchup instrumentation code to trigger in a more robust
   manner.  Also changed so that it can deal with PCs within
   instrumentation code.

 - Fixed the irix stack walk to deal with PCs in instrumentation code.

 - Some linux bugfixes

 - Fixed a race condition in processTimerHK::perform

22 years agoChanged button binding for getting contextual information in the SHG and call
pcroth [Tue, 27 Jul 1999 19:50:34 +0000 (19:50 +0000)]
Changed button binding for getting contextual information in the SHG and call
graph from button 2 to button 3.  Contextual information is now available on
NT, and is available using the rightmost button on all platforms.

Also, fixed a SEGV/Access Violation that occurs when one shows or hides
the key or tips in the Performance Consultant.

22 years agoFixed FindCallGraph() call from MagnifyManager class to return appropriate
cain [Tue, 27 Jul 1999 17:21:46 +0000 (17:21 +0000)]
Fixed FindCallGraph() call from MagnifyManager class to return appropriate
call graph to the performance consultant.

22 years agoChanged order of tunable constants to group CallGraph constants together.
cain [Mon, 26 Jul 1999 21:51:49 +0000 (21:51 +0000)]
Changed order of tunable constants to group CallGraph constants together.

22 years agoAdded code to determine working directory for MPI programs, needed for
cain [Mon, 26 Jul 1999 21:51:23 +0000 (21:51 +0000)]
Added code to determine working directory for MPI programs, needed for
unique call graph executable names.

22 years agoModified call graph call backs to specify call graphs by an executable
cain [Mon, 26 Jul 1999 21:50:35 +0000 (21:50 +0000)]
Modified call graph call backs to specify call graphs by an executable
name rather than an integer.

22 years agoRaised limit from 20 to 50 for length of sequence, to facilitate searches
cain [Mon, 26 Jul 1999 21:48:52 +0000 (21:48 +0000)]
Raised limit from 20 to 50 for length of sequence, to facilitate searches
of deep(er) call graphs.

22 years agoAdded correct executable names to call graph display, rather than previous
cain [Mon, 26 Jul 1999 21:47:33 +0000 (21:47 +0000)]
Added correct executable names to call graph display, rather than previous
/xxx.c/main notation.

22 years agoAdded (undocumented) -v+/-v++ command-line options for additional verbosity
wylie [Mon, 19 Jul 1999 23:01:45 +0000 (23:01 +0000)]
Added (undocumented) -v+/-v++ command-line options for additional verbosity
from dyninst internals.

22 years agoMore Purify-specific initialization
wylie [Mon, 19 Jul 1999 22:58:04 +0000 (22:58 +0000)]
More Purify-specific initialization

22 years agoExplicit initialization of pointers (primarily for Purify)
wylie [Mon, 19 Jul 1999 22:57:02 +0000 (22:57 +0000)]
Explicit initialization of pointers (primarily for Purify)

22 years agoAdded informative message (where absent previously)
wylie [Mon, 19 Jul 1999 22:56:23 +0000 (22:56 +0000)]
Added informative message (where absent previously)

22 years agologLine messages reported as BPatchWarnings
wylie [Mon, 19 Jul 1999 22:55:38 +0000 (22:55 +0000)]
logLine messages reported as BPatchWarnings
statusLine messages reported as BPatchInfos

22 years agoMoved message-handling to api_showerror.C
wylie [Mon, 19 Jul 1999 22:54:06 +0000 (22:54 +0000)]
Moved message-handling to api_showerror.C

22 years agoAdded informative error message (where absent previously)
wylie [Mon, 19 Jul 1999 22:53:17 +0000 (22:53 +0000)]
Added informative error message (where absent previously)

22 years agoAdded separate WHOLE_PROGRAM metric kludge to adjustManuallyTrigger
nash [Mon, 19 Jul 1999 16:27:28 +0000 (16:27 +0000)]
Added separate WHOLE_PROGRAM metric kludge to adjustManuallyTrigger
You can compile with only WHOLE_PROGRAM catchup instrumentation by
defining OLD_CATCHUP in the paradynd Makefile

22 years agoRemoved dependency on paradynd (only required for USES_MT_THREAD)
wylie [Fri, 16 Jul 1999 18:08:15 +0000 (18:08 +0000)]
Removed dependency on paradynd (only required for USES_MT_THREAD)

22 years agoExplicit casting to remove build warnings
paradyn [Wed, 14 Jul 1999 17:36:02 +0000 (17:36 +0000)]
Explicit casting to remove build warnings