dyninst.git
26 years agoAdded a variable to control inlining of all template functions (avoids name
jcargill [Fri, 7 Apr 1995 17:21:41 +0000 (17:21 +0000)]
Added a variable to control inlining of all template functions (avoids name
conflicts when we're forcing template instantiation)

26 years agoMoved setting of INSTANTIATE_TEMPLATES down into arch-specific Makefiles,
jcargill [Fri, 7 Apr 1995 15:08:13 +0000 (15:08 +0000)]
Moved setting of INSTANTIATE_TEMPLATES down into arch-specific Makefiles,
since it must be set before make.config is read.

26 years agoMoved setting of INSTANTIATE_TEMPLATES down into arch-specific Makefiles,
jcargill [Thu, 6 Apr 1995 22:19:28 +0000 (22:19 +0000)]
Moved setting of INSTANTIATE_TEMPLATES down into arch-specific Makefiles,
since it must be set before make.config is read.

26 years agoRemoved CXXFLAGS brokenness; added INSTANTIATE_TEMPLATES instead
jcargill [Wed, 5 Apr 1995 20:24:05 +0000 (20:24 +0000)]
Removed CXXFLAGS brokenness; added INSTANTIATE_TEMPLATES instead

26 years agoAdded COLLECTOR for HPUX; added support for INSTANTIATE_TEMPLATES
jcargill [Wed, 5 Apr 1995 20:22:21 +0000 (20:22 +0000)]
Added COLLECTOR for HPUX; added support for INSTANTIATE_TEMPLATES

26 years agoremoved call to dm->enableResourceCreationNotification, which was being
karavan [Sat, 1 Apr 1995 22:21:40 +0000 (22:21 +0000)]
removed call to dm->enableResourceCreationNotification, which was being
made on every resource notification.

26 years agoremoved unnecessary library function declarations leftover from Tk.
karavan [Sat, 1 Apr 1995 22:20:08 +0000 (22:20 +0000)]
removed unnecessary library function declarations leftover from Tk.
removed call to dm->enableResourceCreationNotification.

26 years agoImplemented NaN checking (needed on HP) of incoming dataGrid values
tamches [Sat, 1 Apr 1995 01:35:13 +0000 (01:35 +0000)]
Implemented NaN checking (needed on HP) of incoming dataGrid values

26 years agoMetric axis lines now 2 pix wide, not 1. Metric key items now more
tamches [Sat, 1 Apr 1995 01:34:21 +0000 (01:34 +0000)]
Metric axis lines now 2 pix wide, not 1.  Metric key items now more
color-coordinated (i.e., now, not just the axis lines are drawn in the
bar's color).

26 years agoChanged malloc's to new's, so that constructors would get fired;
jcargill [Fri, 31 Mar 1995 15:56:11 +0000 (15:56 +0000)]
Changed malloc's to new's, so that constructors would get fired;
otherwise, bogus memory references/free's occur.

26 years agoFixed a minor UMR purify turned up
jcargill [Thu, 30 Mar 1995 15:32:37 +0000 (15:32 +0000)]
Fixed a minor UMR purify turned up

26 years agochanged wording of error #14
newhall [Wed, 29 Mar 1995 17:30:21 +0000 (17:30 +0000)]
changed wording of error #14

26 years agoadded instantiations for lists within hash tables
krisna [Fri, 24 Mar 1995 04:49:46 +0000 (04:49 +0000)]
added instantiations for lists within hash tables

26 years agoFixed uses of libutil that were missed in the renaming.
jcargill [Mon, 20 Mar 1995 19:37:01 +0000 (19:37 +0000)]
Fixed uses of libutil that were missed in the renaming.

26 years agoAdded instantiation of templates used by TCthread; this caused link
jcargill [Wed, 15 Mar 1995 20:12:22 +0000 (20:12 +0000)]
Added instantiation of templates used by TCthread; this caused link
problems only on HPUX for some strange reason.

26 years agoRemoved -lresolv for all architectures, and added it back for Sunos
jcargill [Wed, 15 Mar 1995 19:16:15 +0000 (19:16 +0000)]
Removed -lresolv for all architectures, and added it back for Sunos
and Solaris; libresolv.a causes trouble for hppa.

26 years agoAdded real pure rule, and fixed LDFLAGS
jcargill [Wed, 15 Mar 1995 19:12:13 +0000 (19:12 +0000)]
Added real pure rule, and fixed LDFLAGS

26 years agoAdded default COLLECTOR for purify
jcargill [Wed, 15 Mar 1995 19:10:47 +0000 (19:10 +0000)]
Added default COLLECTOR for purify

26 years agoChanged libutil to libpdutil
jcargill [Mon, 13 Mar 1995 18:14:15 +0000 (18:14 +0000)]
Changed libutil to libpdutil

26 years agofixed Double/float mix-up; could cause store-double instruction to an
jcargill [Mon, 13 Mar 1995 16:05:47 +0000 (16:05 +0000)]
fixed Double/float mix-up; could cause store-double instruction to an
incorrectly aligned address.

26 years agolibutil name change
krisna [Sat, 11 Mar 1995 06:03:52 +0000 (06:03 +0000)]
libutil name change

26 years agolibthread, libutil name change
krisna [Sat, 11 Mar 1995 06:02:54 +0000 (06:02 +0000)]
libthread, libutil name change

26 years agolibrary name change to include pd- prefix
krisna [Sat, 11 Mar 1995 06:02:19 +0000 (06:02 +0000)]
library name change to include pd- prefix

26 years agoAdded nasty note (but no fix) for floating point in timer routines.
hollings [Fri, 10 Mar 1995 19:40:18 +0000 (19:40 +0000)]
Added nasty note (but no fix) for floating point in timer routines.

26 years agoFixed an ugly race condition in observed cost.
hollings [Fri, 10 Mar 1995 19:39:42 +0000 (19:39 +0000)]
Fixed an ugly race condition in observed cost.

Added the use of unix profil to compute the time spent in inst code.

26 years agoRemoved use of floating point to compute times. This speed up
hollings [Fri, 10 Mar 1995 19:38:03 +0000 (19:38 +0000)]
Removed use of floating point to compute times. This speed up
the timer routines by a factor of 2-3.

Added DYNINSTuseGetrusage environment variable to force use of getrusage over
the mmaped uarea.

26 years agoFixed several aspects realted to the cost model:
hollings [Fri, 10 Mar 1995 19:33:44 +0000 (19:33 +0000)]
Fixed several aspects realted to the cost model:
    track the cost of the base tramp not just mini-tramps
    correctly handle inst cost greater than an imm format on sparc
    print starts at end of pvm apps.
    added option to read a file with more accurate data for predicted cost.

26 years agoAdded getPointCost and getInsnCost.
hollings [Fri, 10 Mar 1995 19:30:21 +0000 (19:30 +0000)]
Added getPointCost and getInsnCost.

26 years agoAdded code to include base tramp cost in first mini-tramp.
hollings [Fri, 10 Mar 1995 19:29:12 +0000 (19:29 +0000)]
Added code to include base tramp cost in first mini-tramp.

26 years agoChanged exit function to _cleanup.
hollings [Fri, 10 Mar 1995 19:28:10 +0000 (19:28 +0000)]
Changed exit function to _cleanup.

26 years agoremove warnings
krisna [Tue, 7 Mar 1995 20:55:38 +0000 (20:55 +0000)]
remove warnings

26 years agothe _correct_ prototype for strCompare
krisna [Fri, 3 Mar 1995 18:12:16 +0000 (18:12 +0000)]
the _correct_ prototype for strCompare

26 years agobetter detection of data segment address ranges
krisna [Thu, 2 Mar 1995 06:41:48 +0000 (06:41 +0000)]
better detection of data segment address ranges

26 years agowarning and bug fixes.
krisna [Thu, 2 Mar 1995 04:23:19 +0000 (04:23 +0000)]
warning and bug fixes.

26 years agoeliminated bogus compiler warning with printf formats
krisna [Thu, 2 Mar 1995 04:22:51 +0000 (04:22 +0000)]
eliminated bogus compiler warning with printf formats

26 years agoadded static members to phaseInfo class
newhall [Wed, 1 Mar 1995 00:12:27 +0000 (00:12 +0000)]
added static members to phaseInfo class

26 years agoChanges to code having to do with tunable constants.
tamches [Mon, 27 Feb 1995 19:17:24 +0000 (19:17 +0000)]
Changes to code having to do with tunable constants.
First, header files have moved from util lib to TCthread.
Second, tunable constants may no longer be declared globally.
Third, accessing tunable constants is different.

26 years agoParentheses around "unsigned" allow gcc v 2.6.2 to compile this
markc [Mon, 27 Feb 1995 19:16:40 +0000 (19:16 +0000)]
Parentheses around "unsigned" allow gcc v 2.6.2 to compile this

26 years agoMany changes to reflect changes in tunable constants.
tamches [Mon, 27 Feb 1995 19:13:49 +0000 (19:13 +0000)]
Many changes to reflect changes in tunable constants.
First change: TCthread is launched
other changes: Many tunable constants are declared here (within
main()) since they may no longer be declared globally in any
module.

26 years agoadded TCtid for the new tunable constants thread
tamches [Mon, 27 Feb 1995 19:12:23 +0000 (19:12 +0000)]
added TCtid for the new tunable constants thread

26 years agoThe use of tunable constants has changed to reflect the new
tamches [Mon, 27 Feb 1995 18:59:02 +0000 (18:59 +0000)]
The use of tunable constants has changed to reflect the new
"tunableConstantRegistry" class and the new TCthread.

26 years agoExtensive changes, to reflect equally extensive changes which
tamches [Mon, 27 Feb 1995 18:57:51 +0000 (18:57 +0000)]
Extensive changes, to reflect equally extensive changes which
have been made to tunable constants.

26 years agoChanges to reflect the new TCthread.
tamches [Mon, 27 Feb 1995 18:56:48 +0000 (18:56 +0000)]
Changes to reflect the new TCthread.

26 years agoMinor include change to placate compiler.
tamches [Mon, 27 Feb 1995 18:55:43 +0000 (18:55 +0000)]
Minor include change to placate compiler.

26 years agoFirst version of TCthread; files tunableConst.h and .C have
tamches [Mon, 27 Feb 1995 18:50:01 +0000 (18:50 +0000)]
First version of TCthread; files tunableConst.h and .C have
simply moved from the util lib (and have been changed); file
TCmain.C is completely new.

26 years agoChanges to reflect the new TCthread; syntax for creating/declaring
tamches [Mon, 27 Feb 1995 18:43:03 +0000 (18:43 +0000)]
Changes to reflect the new TCthread; syntax for creating/declaring
tunable constants, as well as syntax for obtaining current
value of tunable constants has changed.

26 years agoMinor changes to reflect the new TCthread; tunable const header file
tamches [Mon, 27 Feb 1995 18:41:26 +0000 (18:41 +0000)]
Minor changes to reflect the new TCthread; tunable const header file
has moved and call syntax has changed.

26 years agoMinor changes to reflect new TCthread (tunable constant header
tamches [Mon, 27 Feb 1995 18:40:05 +0000 (18:40 +0000)]
Minor changes to reflect new TCthread (tunable constant header
files have moved)

26 years agoChanges to reflect the new TCthread and, as a result, the extensively
tamches [Mon, 27 Feb 1995 18:38:28 +0000 (18:38 +0000)]
Changes to reflect the new TCthread and, as a result, the extensively
revised tclTunable.C

26 years agoChanges to reflect the new TCthread.
tamches [Mon, 27 Feb 1995 18:32:30 +0000 (18:32 +0000)]
Changes to reflect the new TCthread.

26 years agoRemoved tunable constant files from the util-lib
tamches [Mon, 27 Feb 1995 18:17:39 +0000 (18:17 +0000)]
Removed tunable constant files from the util-lib

26 years agoAdded support for suppressing implicit dependency generation
jcargill [Mon, 27 Feb 1995 17:37:04 +0000 (17:37 +0000)]
Added support for suppressing implicit dependency generation
(EXPLICIT_DEPENDS) and removed PD_NO_DEPENDS support

26 years agoExplicitly ignore a "local" config file; this should prevent someone from
jcargill [Mon, 27 Feb 1995 17:34:55 +0000 (17:34 +0000)]
Explicitly ignore a "local" config file; this should prevent someone from
accidentally commiting it.

26 years agoSimplified setting of ARCH_DEF, include a local config file, removed
jcargill [Mon, 27 Feb 1995 17:34:10 +0000 (17:34 +0000)]
Simplified setting of ARCH_DEF, include a local config file, removed
explicit gcc path bogusness

26 years agovector.size() returns an unsigned. If the vector is to be traversed in reverse,
markc [Sun, 26 Feb 1995 22:48:50 +0000 (22:48 +0000)]
vector.size() returns an unsigned.  If the vector is to be traversed in reverse,
the bounds check cannot be > 0 since unsigned(0) - 1 is not negative.

26 years agoUpgraded to compile using new interfaces. Many public data members became private.
markc [Sun, 26 Feb 1995 22:47:39 +0000 (22:47 +0000)]
Upgraded to compile using new interfaces.  Many public data members became private.

26 years agoCommented code that needs to be reexamined.
markc [Sun, 26 Feb 1995 22:46:45 +0000 (22:46 +0000)]
Commented code that needs to be reexamined.

26 years agoFixed for pvm version. The pvm ifdefs are still ugly, but they compile.
markc [Sun, 26 Feb 1995 22:46:19 +0000 (22:46 +0000)]
Fixed for pvm version.  The pvm ifdefs are still ugly, but they compile.

26 years agoUpdated to compile under new system.
markc [Sun, 26 Feb 1995 22:45:36 +0000 (22:45 +0000)]
Updated to compile under new system.

26 years agoChanged addProcess interface to use reference to string vectors.
markc [Sun, 26 Feb 1995 22:45:09 +0000 (22:45 +0000)]
Changed addProcess interface to use reference to string vectors.

26 years agoChanged vector of strings to reference to vector of strings for addProcess(...)
markc [Sun, 26 Feb 1995 22:44:29 +0000 (22:44 +0000)]
Changed vector of strings to reference to vector of strings for addProcess(...)

26 years agoadded source file DMphase.C
newhall [Sun, 26 Feb 1995 02:27:51 +0000 (02:27 +0000)]
added source file DMphase.C

26 years agoadded source file DMphase.C
newhall [Sun, 26 Feb 1995 02:14:39 +0000 (02:14 +0000)]
added source file DMphase.C

26 years agoadded some of the phase interface support
newhall [Sun, 26 Feb 1995 02:14:01 +0000 (02:14 +0000)]
added some of the phase interface support

26 years agoadded some phase interface routines
newhall [Sun, 26 Feb 1995 02:11:51 +0000 (02:11 +0000)]
added some phase interface routines

26 years agoadded some of the support for the phase interface
newhall [Sun, 26 Feb 1995 02:08:32 +0000 (02:08 +0000)]
added some of the support for the phase interface
fix so that the vector of data values are being
correctly filled before call to BulkDataTransfer

26 years agoadded callback functions for new visiLib phase info.
newhall [Sun, 26 Feb 1995 02:02:22 +0000 (02:02 +0000)]
added callback functions for new visiLib phase info.
added new phase table visi

26 years agoadded callback functions for new visiLib phase info.
newhall [Sun, 26 Feb 1995 02:01:45 +0000 (02:01 +0000)]
added callback functions for new visiLib phase info.

26 years agoadded phase interface functions
newhall [Sun, 26 Feb 1995 01:59:20 +0000 (01:59 +0000)]
added phase interface functions

26 years agore-organized some of the header files so that definitions that are
newhall [Sun, 26 Feb 1995 01:57:02 +0000 (01:57 +0000)]
re-organized some of the header files so that definitions that are
used by many modules are in new header file sys.h

26 years agoCheck if an address could be for an instruction before checking to see if it
markc [Fri, 24 Feb 1995 04:42:01 +0000 (04:42 +0000)]
Check if an address could be for an instruction before checking to see if it
is delayed, since we should not be checking instructions that are out of range.

26 years agoRemoved extract method, which is not part of the stl interface.
markc [Thu, 23 Feb 1995 22:53:25 +0000 (22:53 +0000)]
Removed extract method, which is not part of the stl interface.

26 years agoChanged "delete" to "delete []"
tamches [Wed, 22 Feb 1995 12:29:46 +0000 (12:29 +0000)]
Changed "delete" to "delete []"

26 years agoAdded slightly better error recovery, with messages! Paradynd reports back
markc [Tue, 21 Feb 1995 22:03:32 +0000 (22:03 +0000)]
Added slightly better error recovery, with messages!  Paradynd reports back
when it attempts to run an unusable executable.  It no longer aborts.

26 years agoMoved RT_Boolean into rtinst.h (didn't belong in kludges.h), and removed
jcargill [Tue, 21 Feb 1995 16:35:44 +0000 (16:35 +0000)]
Moved RT_Boolean into rtinst.h (didn't belong in kludges.h), and removed
a couple of troublesome kludges prototypes

26 years agoAllow module-specific linking and installing where desired
jcargill [Tue, 21 Feb 1995 16:34:06 +0000 (16:34 +0000)]
Allow module-specific linking and installing where desired

26 years agoChanges to new build system so rtinst builds for all archs
jcargill [Tue, 21 Feb 1995 16:27:55 +0000 (16:27 +0000)]
Changes to new build system so rtinst builds for all archs

26 years agoAdded defs to build libutilPVM.a
markc [Fri, 17 Feb 1995 22:19:21 +0000 (22:19 +0000)]
Added defs to build libutilPVM.a

26 years agoRemoved const to non-const compiler warnings
markc [Fri, 17 Feb 1995 06:56:40 +0000 (06:56 +0000)]
Removed const to non-const compiler warnings
Removed compiler warnings for const-casting

26 years agoRemoved const to non-const compiler warnings
markc [Fri, 17 Feb 1995 06:55:06 +0000 (06:55 +0000)]
Removed const to non-const compiler warnings

26 years agoRemoved start slash from comments
markc [Thu, 16 Feb 1995 19:10:52 +0000 (19:10 +0000)]
Removed start slash from comments
Removed start slash from comments

26 years agoRemoved start slash from comments
markc [Thu, 16 Feb 1995 19:10:39 +0000 (19:10 +0000)]
Removed start slash from comments

26 years agoRemoved bogus assert in constructor
markc [Thu, 16 Feb 1995 19:09:13 +0000 (19:09 +0000)]
Removed bogus assert in constructor

26 years agoBoundary symbols for libdyninst
markc [Thu, 16 Feb 1995 17:21:07 +0000 (17:21 +0000)]
Boundary symbols for libdyninst

26 years agoMore posix library support.
markc [Thu, 16 Feb 1995 17:18:30 +0000 (17:18 +0000)]
More posix library support.

26 years agoSorry, it was late and I was tired.
markc [Thu, 16 Feb 1995 17:17:58 +0000 (17:17 +0000)]
Sorry, it was late and I was tired.
These support the posix library interface.

26 years agoMust have been sleepy when I did the commit.
markc [Thu, 16 Feb 1995 17:15:52 +0000 (17:15 +0000)]
Must have been sleepy when I did the commit.

26 years agoModified to support machines which do not have NaN(x).
markc [Thu, 16 Feb 1995 09:32:03 +0000 (09:32 +0000)]
Modified to support machines which do not have NaN(x).
This code has not been tested, but it compiles.

26 years agoModified NaN generation code for machines that do not have nan.h.
markc [Thu, 16 Feb 1995 09:31:03 +0000 (09:31 +0000)]
Modified NaN generation code for machines that do not have nan.h.
This code has not been tested.

26 years agoAdded support to generate template code
markc [Thu, 16 Feb 1995 09:29:13 +0000 (09:29 +0000)]
Added support to generate template code

26 years agoRemoved compiler warnings.
markc [Thu, 16 Feb 1995 09:27:59 +0000 (09:27 +0000)]
Removed compiler warnings.
Changed Boolean to bool

26 years agoModified code to remove compiler warnings.
markc [Thu, 16 Feb 1995 09:26:17 +0000 (09:26 +0000)]
Modified code to remove compiler warnings.
Added #defines to simplify inlining.
Cleaned up Object file classes.

26 years agoAdded template support
markc [Thu, 16 Feb 1995 09:21:22 +0000 (09:21 +0000)]
Added template support

26 years agoAdded support for RTfirst.o and RTend.o which mark the beginning and end
markc [Thu, 16 Feb 1995 09:12:14 +0000 (09:12 +0000)]
Added support for RTfirst.o and RTend.o which mark the beginning and end
of DYNINST code.
Removed Boolean definition

26 years agoAdded support for RTfirst.o and RTend.o which mark the beginning and end
markc [Thu, 16 Feb 1995 09:11:29 +0000 (09:11 +0000)]
Added support for RTfirst.o and RTend.o which mark the beginning and end
of DYNINST code.

26 years agoMade Boolean type RT_Boolean to prevent picking up a different boolean
markc [Thu, 16 Feb 1995 09:07:04 +0000 (09:07 +0000)]
Made Boolean type RT_Boolean to prevent picking up a different boolean
definition.

26 years agoCorrected error in comments -- I put a "star slash" in the comment.
markc [Thu, 16 Feb 1995 08:52:45 +0000 (08:52 +0000)]
Corrected error in comments -- I put a "star slash" in the comment.

26 years agoChanged igen interfaces to use strings/vectors rather than char*/igen-arrays
markc [Thu, 16 Feb 1995 08:32:46 +0000 (08:32 +0000)]
Changed igen interfaces to use strings/vectors rather than char*/igen-arrays
Changed igen interfaces to use bool, not Boolean.
Cleaned up symbol table parsing - favor properly labeled symbol table objects
Updated binary search for modules
Moved machine dependnent ptrace code to architecture specific files.
Moved machine dependent code out of class process.
Removed almost all compiler warnings.
Use "posix" like library to remove compiler warnings

26 years agoNew support for templates
markc [Thu, 16 Feb 1995 08:26:31 +0000 (08:26 +0000)]
New support for templates

26 years agoRemoved system includes
markc [Thu, 16 Feb 1995 08:25:09 +0000 (08:25 +0000)]
Removed system includes
Added includes of posix interfaces