dyninst.git
23 years agoChanged uname to "wrapped" getHostName
wylie [Mon, 6 Apr 1998 04:22:37 +0000 (04:22 +0000)]
Changed uname to "wrapped" getHostName

23 years agoAdded Ident.C build identifier class
wylie [Mon, 6 Apr 1998 04:16:26 +0000 (04:16 +0000)]
Added Ident.C build identifier class

23 years agoBuild identifier class
wylie [Mon, 6 Apr 1998 04:15:26 +0000 (04:15 +0000)]
Build identifier class

23 years agoMoved from core to core/tclStuff
wylie [Fri, 3 Apr 1998 22:54:38 +0000 (22:54 +0000)]
Moved from core to core/tclStuff

23 years agoMoved from core to scripts
wylie [Fri, 3 Apr 1998 22:41:01 +0000 (22:41 +0000)]
Moved from core to scripts

23 years agoFixing isReturnInsn - naim
naim [Fri, 3 Apr 1998 17:34:28 +0000 (17:34 +0000)]
Fixing isReturnInsn - naim

23 years agoRe-located buildstamp in separate scripts directory.
wylie [Fri, 3 Apr 1998 04:03:21 +0000 (04:03 +0000)]
Re-located buildstamp in separate scripts directory.
Expanded/reorganized configuration guidelines.

23 years agoAdded "Paradyn" make target for dynInstAPI-less build, to match existing
wylie [Fri, 3 Apr 1998 03:57:28 +0000 (03:57 +0000)]
Added "Paradyn" make target for dynInstAPI-less build, to match existing
"dynInstAPI" make target for Paradyn-less build, for extra convenience.
Simplified and expanded documentation.

23 years agoRe-located buildstamp in separate scripts directory.
wylie [Fri, 3 Apr 1998 03:52:56 +0000 (03:52 +0000)]
Re-located buildstamp in separate scripts directory.
Expanded/reorganized configuration guidelines.

23 years agoRemoval of obsolete PVM remnants.
wylie [Fri, 3 Apr 1998 02:18:31 +0000 (02:18 +0000)]
Removal of obsolete PVM remnants.

23 years agoUnterminated echo string typo (caught by gmake 3.75)
wylie [Thu, 2 Apr 1998 18:42:58 +0000 (18:42 +0000)]
Unterminated echo string typo (caught by gmake 3.75)

23 years agoChanged INCLUDE_PVM_SUPPORT default to true.
wylie [Thu, 2 Apr 1998 01:24:37 +0000 (01:24 +0000)]
Changed INCLUDE_PVM_SUPPORT default to true.

23 years agoCorrected "mpi" code that assumes PARADYND_PVM is always defined.
ssuen [Wed, 1 Apr 1998 21:23:25 +0000 (21:23 +0000)]
Corrected "mpi" code that assumes PARADYND_PVM is always defined.

23 years agoRestructuring of build for greater flexibility and easier control.
wylie [Wed, 1 Apr 1998 02:59:47 +0000 (02:59 +0000)]
Restructuring of build for greater flexibility and easier control.
Parameterization at toplevel of build configuration options,
including conditional build with/without including PVM support.
Incorporation of Paradyn/DynInstAPI build voucher information.

23 years agoParameterization of "toplevel" definitions.
wylie [Wed, 1 Apr 1998 02:54:01 +0000 (02:54 +0000)]
Parameterization of "toplevel" definitions.
Additional definition of USES_X11 for SP2 platform.

23 years agoParameterization of "toplevel" definitions.
wylie [Wed, 1 Apr 1998 02:51:50 +0000 (02:51 +0000)]
Parameterization of "toplevel" definitions.

23 years agoParameterization of "toplevel" definitions.
wylie [Wed, 1 Apr 1998 02:50:01 +0000 (02:50 +0000)]
Parameterization of "toplevel" definitions.
Conditional build with/without PVM support.

23 years agoCosmetica
wylie [Wed, 1 Apr 1998 02:48:33 +0000 (02:48 +0000)]
Cosmetica

23 years agoParameterization of "toplevel" definitions.
wylie [Wed, 1 Apr 1998 02:43:20 +0000 (02:43 +0000)]
Parameterization of "toplevel" definitions.
Additional definition of USES_X11 for SP2 platform.

23 years agoCosmetica
wylie [Wed, 1 Apr 1998 02:36:32 +0000 (02:36 +0000)]
Cosmetica

23 years agoRestructuring for greater homogeneity and support for conditional builds
wylie [Wed, 1 Apr 1998 02:33:04 +0000 (02:33 +0000)]
Restructuring for greater homogeneity and support for conditional builds
(and installs) of libdyninstCP and DYNINSTstart/endCode as desired/required.
Parameterization of "toplevel" definitions.
Incorporation of build voucher information.

23 years agoCosmetica
wylie [Wed, 1 Apr 1998 02:27:11 +0000 (02:27 +0000)]
Cosmetica

23 years agoParameterization of "toplevel" definitions.
wylie [Wed, 1 Apr 1998 02:23:19 +0000 (02:23 +0000)]
Parameterization of "toplevel" definitions.
Incorporation of build voucher information.

23 years agoCosmetica
wylie [Wed, 1 Apr 1998 02:19:08 +0000 (02:19 +0000)]
Cosmetica

23 years agoRestructuring to enable reasonable "install".
wylie [Wed, 1 Apr 1998 02:18:28 +0000 (02:18 +0000)]
Restructuring to enable reasonable "install".
Parameterization of "toplevel" definitions.

23 years agoAdded some code to keep the compiler happy
wylie [Wed, 1 Apr 1998 02:16:13 +0000 (02:16 +0000)]
Added some code to keep the compiler happy

23 years agoAdded dyninstAPI tests to build
wylie [Wed, 1 Apr 1998 01:30:08 +0000 (01:30 +0000)]
Added dyninstAPI tests to build

23 years agoIncremented Igen-interface version identifiers (to manage previous changes)
wylie [Wed, 1 Apr 1998 01:27:56 +0000 (01:27 +0000)]
Incremented Igen-interface version identifiers (to manage previous changes)

23 years agoRemoved C++-style "//" comments to allow C sources to be built with C compilers.
wylie [Mon, 30 Mar 1998 01:21:59 +0000 (01:21 +0000)]
Removed C++-style "//" comments to allow C sources to be built with C compilers.

23 years agoMinor change to error message - naim
naim [Fri, 27 Mar 1998 16:53:03 +0000 (16:53 +0000)]
Minor change to error message - naim

23 years agoRemoving assertion failure from updateValue - naim
naim [Fri, 27 Mar 1998 16:43:29 +0000 (16:43 +0000)]
Removing assertion failure from updateValue - naim

23 years agoFixed some problems with compiling recently added API functions under
buck [Fri, 27 Mar 1998 01:31:08 +0000 (01:31 +0000)]
Fixed some problems with compiling recently added API functions under
Windows NT.

23 years agoAdding error message if we can't instrument main - naim
naim [Thu, 26 Mar 1998 16:30:01 +0000 (16:30 +0000)]
Adding error message if we can't instrument main - naim

23 years agoHandles restartable writes in sampling code to paradynd.
ssuen [Thu, 26 Mar 1998 09:22:46 +0000 (09:22 +0000)]
Handles restartable writes in sampling code to paradynd.

23 years agoFixed maintaining of invariant: assert(bins.size() * max_bin_load >= size())
ssuen [Thu, 26 Mar 1998 09:20:02 +0000 (09:20 +0000)]
Fixed maintaining of invariant:  assert(bins.size() * max_bin_load >= size())

23 years agoIn mdl_v_expr::apply(), move the handling of $return from MDL_EXPR_STRING to
czhang [Thu, 26 Mar 1998 07:14:34 +0000 (07:14 +0000)]
In mdl_v_expr::apply(), move the handling of $return from MDL_EXPR_STRING to
MDL_EXPR_VAR.

23 years agoIn mdl_v_expr::apply(), check for (var_=="$return") in the case of
czhang [Thu, 26 Mar 1998 07:12:20 +0000 (07:12 +0000)]
In mdl_v_expr::apply(), check for (var_=="$return") in the case of
MDL_EXPR_VAR.

23 years agoAdded a rule of tRETURN for metric_expr.
czhang [Thu, 26 Mar 1998 07:11:09 +0000 (07:11 +0000)]
Added a rule of tRETURN for metric_expr.

23 years agoAdded BPatch_thread::oneTimeCode, BPatch_thread::loadLibrary, and other
buck [Thu, 26 Mar 1998 01:06:42 +0000 (01:06 +0000)]
Added BPatch_thread::oneTimeCode, BPatch_thread::loadLibrary, and other
minor features to the Dyninst API.

23 years agoWorkaround for VC++'s inability to correctly scope iterator variable
wylie [Thu, 19 Mar 1998 19:02:46 +0000 (19:02 +0000)]
Workaround for VC++'s inability to correctly scope iterator variable
definitions.

23 years agoChanges to reduce the number of unnecessary calls to continueProc, improving
naim [Thu, 12 Mar 1998 22:35:55 +0000 (22:35 +0000)]
Changes to reduce the number of unnecessary calls to continueProc, improving
performance both when enabling and disabling metrics - naim

23 years agoRemoving option to generate a core dump - naim
naim [Wed, 11 Mar 1998 18:33:13 +0000 (18:33 +0000)]
Removing option to generate a core dump - naim

23 years agoMoved instrumentation stack storage further down the stack to avoid
ssuen [Wed, 11 Mar 1998 09:33:29 +0000 (09:33 +0000)]
Moved instrumentation stack storage further down the stack to avoid
colliding with application codes' stack usage.

23 years agoFixed some bugs in parsing NT executables.
buck [Fri, 6 Mar 1998 21:35:37 +0000 (21:35 +0000)]
Fixed some bugs in parsing NT executables.
Made changes to work with gcc-built programs on NT.

23 years agoMoved vector<FERNode> template instantiation to dyninstAPI/src/templates0.C
buck [Fri, 6 Mar 1998 21:35:05 +0000 (21:35 +0000)]
Moved vector<FERNode> template instantiation to dyninstAPI/src/templates0.C

23 years agoAdded several calls to API (waitForStatusChange, BPatch_variableExpr
buck [Fri, 6 Mar 1998 21:32:11 +0000 (21:32 +0000)]
Added several calls to API (waitForStatusChange, BPatch_variableExpr
member functions getBaseAddr and readValue, writeValue with an extra
length parameter).
Fixed several bugs in x86 instrumentation code related to parsing jump
tables.
Made changes to work with gcc-built programs on NT.

23 years agoFixing wayward constness and general tidy-up.
wylie [Wed, 4 Mar 1998 19:56:10 +0000 (19:56 +0000)]
Fixing wayward constness and general tidy-up.

23 years agoModified process status handling to provide appropriate tag
wylie [Wed, 4 Mar 1998 19:53:04 +0000 (19:53 +0000)]
Modified process status handling to provide appropriate tag
(so that process status messages can be routed to a separate display area)

23 years agoAdded scrollable process status window to main window display.
wylie [Wed, 4 Mar 1998 19:50:38 +0000 (19:50 +0000)]
Added scrollable process status window to main window display.
Also X->Tk font sanitization.

23 years agoRevised interface to tcl for additional information display functions and
wylie [Tue, 3 Mar 1998 23:40:26 +0000 (23:40 +0000)]
Revised interface to tcl for additional information display functions and
modifided display/printDaemonStartInfo().

23 years agoRenamed printDaemonStartInfo() to displayDaemonStartInfo().
wylie [Tue, 3 Mar 1998 23:38:26 +0000 (23:38 +0000)]
Renamed printDaemonStartInfo() to displayDaemonStartInfo().
New printDaemonStartInfo(filename) attempts to write same paradynd start-up
information to given filename (though it tries not to overwrite an existing
non-paradynd start-up file if provided mistakenly).
Also added some additional information display functions.

23 years agoAdded "-x <connect_file>" option for remote/manual paradynd start-up
wylie [Tue, 3 Mar 1998 23:35:00 +0000 (23:35 +0000)]
Added "-x <connect_file>" option for remote/manual paradynd start-up
(aka "Globus" support).

23 years agoGeneral tidy-up.
wylie [Tue, 3 Mar 1998 23:28:58 +0000 (23:28 +0000)]
General tidy-up.

23 years agoAdded interface specifications for additional information display functions
wylie [Tue, 3 Mar 1998 23:28:18 +0000 (23:28 +0000)]
Added interface specifications for additional information display functions
and revised printDaemonStartInfo() to displayDaemonStartInfo() with new
printDaemonStartInfo(const char *filename) for printing connect output to file.

23 years agoInformational messages (as typed in errorList.tcl) are now presented in a
wylie [Tue, 3 Mar 1998 23:20:08 +0000 (23:20 +0000)]
Informational messages (as typed in errorList.tcl) are now presented in a
non-modal dialog with a simple OK to close, though they (perhaps curiously)
remain handled by the same error-handling/typing/numbering mechanism.
Also X->Tk font sanitization.

23 years agoBased on the observation that the "information" error type generally
wylie [Tue, 3 Mar 1998 23:17:10 +0000 (23:17 +0000)]
Based on the observation that the "information" error type generally
doesn't actually correspond to an error at all, but rather an informational
message, many former "information" messages have been re-typed as "warning"s.
Informational messages should be (and now will be) presented in a non-modal
dialog with a simple OK to close, though they (perhaps curiously) remain
handled by the same error-handling/typing/numbering mechanism.

Some additional messages (mostly informational) have also been added, as
well as a general re-format of the messages.

23 years agoX->Tk font sanitization
wylie [Tue, 3 Mar 1998 23:09:44 +0000 (23:09 +0000)]
X->Tk font sanitization

23 years agoadded support for parsing stripped shared object files, and stripped dynamic
newhall [Tue, 3 Mar 1998 18:35:17 +0000 (18:35 +0000)]
added support for parsing stripped shared object files, and stripped dynamic
executable files

23 years agoFixed AIX problem of associating functions with the wrong modules.
ssuen [Tue, 3 Mar 1998 02:49:36 +0000 (02:49 +0000)]
Fixed AIX problem of associating functions with the wrong modules.

23 years agoCorrected LEXLIB
wylie [Mon, 2 Mar 1998 02:48:26 +0000 (02:48 +0000)]
Corrected LEXLIB

23 years agoParameterize LIBRARY_DEST, PROGRAM_DEST, etc.
wylie [Mon, 2 Mar 1998 02:37:59 +0000 (02:37 +0000)]
Parameterize LIBRARY_DEST, PROGRAM_DEST, etc.

23 years agoParameterize LIBRARY_DEST, PROGRAM_DEST, etc.
wylie [Mon, 2 Mar 1998 02:27:45 +0000 (02:27 +0000)]
Parameterize LIBRARY_DEST, PROGRAM_DEST, etc.

23 years agoAdded another template instance
wylie [Mon, 2 Mar 1998 02:22:11 +0000 (02:22 +0000)]
Added another template instance

23 years agoRemoved premature version info
wylie [Mon, 2 Mar 1998 01:09:16 +0000 (01:09 +0000)]
Removed premature version info

23 years agoParameterize LEX_LIB
wylie [Mon, 2 Mar 1998 01:04:29 +0000 (01:04 +0000)]
Parameterize LEX_LIB

23 years agoParameterize LIBRARY_DEST, PROGRAM_DEST, etc
wylie [Mon, 2 Mar 1998 00:42:11 +0000 (00:42 +0000)]
Parameterize LIBRARY_DEST, PROGRAM_DEST, etc

23 years agoParameterize LIBRARY_PATH, etc.
wylie [Mon, 2 Mar 1998 00:25:02 +0000 (00:25 +0000)]
Parameterize LIBRARY_PATH, etc.

23 years agoParameterize LIBRARY_DEST, etc.
wylie [Mon, 2 Mar 1998 00:19:35 +0000 (00:19 +0000)]
Parameterize LIBRARY_DEST, etc.

23 years agoWarning quiescence (VC++)
wylie [Sun, 1 Mar 1998 18:51:01 +0000 (18:51 +0000)]
Warning quiescence (VC++)

23 years agoProperly handle exclusion of callsites
ssuen [Sun, 1 Mar 1998 06:14:48 +0000 (06:14 +0000)]
Properly handle exclusion of callsites

23 years agoStopped using obsolete -v option to paradynd
ssuen [Sun, 1 Mar 1998 03:24:43 +0000 (03:24 +0000)]
Stopped using obsolete -v option to paradynd

23 years agogcc on AIX complained about this being missing.
ssuen [Sun, 1 Mar 1998 02:56:03 +0000 (02:56 +0000)]
gcc on AIX complained about this being missing.

  template class vector<dictionary_hash<string, string>::entry>;

23 years ago*** empty log message ***
mcheyney [Sun, 1 Mar 1998 01:27:42 +0000 (01:27 +0000)]
*** empty log message ***

23 years agoSmall style changes....
mcheyney [Fri, 27 Feb 1998 20:38:02 +0000 (20:38 +0000)]
Small style changes....

23 years agoAdded templates for dictionary_hash<string, string>, and
mcheyney [Fri, 27 Feb 1998 20:36:25 +0000 (20:36 +0000)]
Added templates for dictionary_hash<string, string>, and
vector<FERNode>.

23 years agoFirst version.
mcheyney [Fri, 27 Feb 1998 20:35:30 +0000 (20:35 +0000)]
First version.

23 years ago Changed interface to relocateFunction for 2-pass relocator
mcheyney [Fri, 27 Feb 1998 20:34:24 +0000 (20:34 +0000)]
Changed interface to relocateFunction for 2-pass relocator
code.  Also added some helper functions dealing with Function
Expansion Records.

23 years ago Changed module_is_excluded and function_is_excluded to
mcheyney [Fri, 27 Feb 1998 20:33:59 +0000 (20:33 +0000)]
Changed module_is_excluded and function_is_excluded to
avoid linear lists searches (replaced w/ hash lookup).  The
linear search slowed down paradynd a lot when a pcl file had
a large number "exclude" directives.

23 years ago Expanded NEW_INSTR_ARRAY_LEN (size of array allocated in
mcheyney [Fri, 27 Feb 1998 20:33:23 +0000 (20:33 +0000)]
Expanded NEW_INSTR_ARRAY_LEN (size of array allocated in
paradynd to temporarally hold instructions while functions are
relocated) to deal with some large functions in libc which
have tail-call optimization.

23 years ago Changes having to due with my new 2-pass function relocator code.
mcheyney [Fri, 27 Feb 1998 20:32:56 +0000 (20:32 +0000)]
Changes having to due with my new 2-pass function relocator code.
    First, allocation and usage of a FunctionExpansionRecord for
every function relocation.
    Second, changes dealing with size of relocated functions :
2 pass relocator code calculates the total size change for a
relocated function - this allows us to allocate exactly that much
space.  Previously, code allocated extra space equal to the number
of extra bytes which could be introduced by unwinding tail-call
optimization.  This doesn't work for functions with 2 tail-call
optimizations, or with a tail-call optimizating and something else
which os expanded when the function is relocated, such as a call
in the 2nd instruction.

23 years ago Put in wrappers for 2-pass relocation. We probably need 2-pass
mcheyney [Fri, 27 Feb 1998 20:32:14 +0000 (20:32 +0000)]
Put in wrappers for 2-pass relocation.  We probably need 2-pass
relocation in both sunos and solaris, but not bothering to uodate
the sunos code now.  However, we do put some wrappers in to
allow the code to compile with inst-sparc mods....

23 years ago 2 major changes :
mcheyney [Fri, 27 Feb 1998 20:31:41 +0000 (20:31 +0000)]
  2 major changes :
  a. made function relocation code 2-pass.
  This is necessary to patch jump targets when we move code
around inside a function when we relocate it - for example
when patching tail-call optimization which doesn't occur
at the end of the function, or when we add some extra nops
at the beginning of a function so that the entry point doesnt
overlap with some other features, like a CALL site or part of
a loop.
  b. changed the way we unwind tail-call optimization.
  The origional scheme made the (incorrect) assumption that all
functions called from tail-acll optimization are leaf functions.
I found a counterexample in libc which was breaking under the old
tail-call unwinding scheme.

23 years agoChaning version number to 2.1 - naim
naim [Fri, 27 Feb 1998 19:02:08 +0000 (19:02 +0000)]
Chaning version number to 2.1 - naim

23 years agoReversion to previously working version (which handled sigTRAP correctly on
wylie [Wed, 25 Feb 1998 19:44:45 +0000 (19:44 +0000)]
Reversion to previously working version (which handled sigTRAP correctly on
Solaris/X86), with the incorporation of Oscar's previous timer change.

23 years agoImplementation of CPU time using gethrvtime in order to improve performance -
naim [Wed, 25 Feb 1998 19:08:42 +0000 (19:08 +0000)]
Implementation of CPU time using gethrvtime in order to improve performance -
naim

23 years agoStripped out obsolete "-v"/pvm_first code, substituting a warning message
wylie [Tue, 24 Feb 1998 23:37:39 +0000 (23:37 +0000)]
Stripped out obsolete "-v"/pvm_first code, substituting a warning message
should "-v" still be used as a command line argument for paradynd.
(Corresponding code in paradyn should not generate "-v" args for paradynd.)

23 years agoFixed unhelpful coredump when parsing (invalid) command-line arguments,
wylie [Tue, 24 Feb 1998 23:18:00 +0000 (23:18 +0000)]
Fixed unhelpful coredump when parsing (invalid) command-line arguments,
before printing usage information and exiting.
Also fixed a couple of (fairly innocuous) compiler warnings, while here.

23 years agoRemoved (unnecessary) link dependency on libhist from LIBS.
wylie [Tue, 24 Feb 1998 21:47:29 +0000 (21:47 +0000)]
Removed (unnecessary) link dependency on libhist from LIBS.

23 years agoReverse of my previous commit. Library calls are once again considered
ssuen [Fri, 20 Feb 1998 19:49:57 +0000 (19:49 +0000)]
Reverse of my previous commit.  Library calls are once again considered
callsites (or not callsites) depending on the metric.

23 years agoLibrary calls are not call sites.
ssuen [Wed, 18 Feb 1998 02:37:17 +0000 (02:37 +0000)]
Library calls are not call sites.

23 years agoFixing problem with pending system call during inferiorRPC when the application
naim [Thu, 12 Feb 1998 18:48:26 +0000 (18:48 +0000)]
Fixing problem with pending system call during inferiorRPC when the application
is paused - naim

23 years agoCommented out debugging message
ssuen [Sat, 7 Feb 1998 20:40:41 +0000 (20:40 +0000)]
Commented out debugging message

23 years agoAdded ability to handle more than one daemon per machine
ssuen [Sat, 7 Feb 1998 20:39:18 +0000 (20:39 +0000)]
Added ability to handle more than one daemon per machine

23 years agoRemoved the rule for "metTester", which was used for building a stand-alone
czhang [Thu, 5 Feb 1998 22:19:00 +0000 (22:19 +0000)]
Removed the rule for "metTester", which was used for building a stand-alone
test for the MDL scanner and parser.  Two of the source files for the test
"metTester.C" and "metTemplates.C" were removed because they were obsolete.

23 years agoFiles "metTemplates.C", "metTester.C" were for stand-alone testing of the
czhang [Thu, 5 Feb 1998 22:12:59 +0000 (22:12 +0000)]
Files "metTemplates.C", "metTester.C" were for stand-alone testing of the
scanner and parser.  Removed because they are obsolete.

23 years agoAdded support for the BPatch::attachProcess function to the AIX version
buck [Wed, 4 Feb 1998 19:42:34 +0000 (19:42 +0000)]
Added support for the BPatch::attachProcess function to the AIX version
of the Dyninst API library.

23 years agoConditional use of NT-specific WSAETIMEDOUT instead of ETIMEDOUT timeout error.
wylie [Mon, 2 Feb 1998 23:12:07 +0000 (23:12 +0000)]
Conditional use of NT-specific WSAETIMEDOUT instead of ETIMEDOUT timeout error.

23 years agoFix extended lines/comments
wylie [Mon, 2 Feb 1998 22:11:29 +0000 (22:11 +0000)]
Fix extended lines/comments

23 years agoIn mdl_v_expr::apply, MDL_EXPR_VAR processing, "switch (get_drn.type())"
czhang [Fri, 30 Jan 1998 21:14:08 +0000 (21:14 +0000)]
In mdl_v_expr::apply, MDL_EXPR_VAR processing, "switch (get_drn.type())"
missed two cases: MDL_T_PROC_TIMER and MDL_T_WALL_TIMER.  Added them.

23 years agoTemporary fix of setting MaxActiveExperiments higher to allow Performance
ssuen [Fri, 30 Jan 1998 19:31:22 +0000 (19:31 +0000)]
Temporary fix of setting MaxActiveExperiments higher to allow Performance
Consultant to search "deeper" in program runs with lots of resources.