dyninst.git
21 years agoUpdated paths util -> common | pdutil
paradyn [Sun, 30 Jul 2000 16:26:50 +0000 (16:26 +0000)]
Updated paths util -> common | pdutil

21 years agoAdded linuxKludges.C
paradyn [Sun, 30 Jul 2000 02:02:32 +0000 (02:02 +0000)]
Added linuxKludges.C

21 years agochange tag to reflect 2.2beta
hollings [Fri, 28 Jul 2000 20:51:53 +0000 (20:51 +0000)]
change tag to reflect 2.2beta

21 years agochanged build component to pdutil from util.
hollings [Fri, 28 Jul 2000 20:40:35 +0000 (20:40 +0000)]
changed build component to pdutil from util.

21 years agoNo really needed.
hollings [Fri, 28 Jul 2000 20:35:50 +0000 (20:35 +0000)]
No really needed.

21 years agoHopefully the last round of commits to split util.
hollings [Fri, 28 Jul 2000 20:30:13 +0000 (20:30 +0000)]
Hopefully the last round of commits to split util.

Also changes dyninstAPI build so that it doesn't require libpdutil.a

21 years agoMoved int64iostream files from common to pdutil subdirectory.
pcroth [Fri, 28 Jul 2000 18:28:59 +0000 (18:28 +0000)]
Moved int64iostream files from common to pdutil subdirectory.

21 years agoBacked out of changes that were committed inadvertently with the util
pcroth [Fri, 28 Jul 2000 18:08:56 +0000 (18:08 +0000)]
Backed out of changes that were committed inadvertently with the util
library #include updates.

21 years agoRemoved duplicate between common and pdutil
pcroth [Fri, 28 Jul 2000 17:23:55 +0000 (17:23 +0000)]
Removed duplicate between common and pdutil

21 years agoUpdated #includes to reflect util library split
pcroth [Fri, 28 Jul 2000 17:20:38 +0000 (17:20 +0000)]
Updated #includes to reflect util library split

21 years agoUpdated paths util->common
paradyn [Fri, 28 Jul 2000 15:25:37 +0000 (15:25 +0000)]
Updated paths util->common

21 years agoUpdated include paths
paradyn [Fri, 28 Jul 2000 14:39:32 +0000 (14:39 +0000)]
Updated include paths

21 years agoFix to allow compile on 4.2 to still work.
hollings [Thu, 27 Jul 2000 19:39:56 +0000 (19:39 +0000)]
Fix to allow compile on 4.2 to still work.

21 years agoUpdated #includes to reflect new locations of util headers
pcroth [Thu, 27 Jul 2000 17:42:35 +0000 (17:42 +0000)]
Updated #includes to reflect new locations of util headers

21 years agoDisabled searching for DYNINSTtext and DYNINSTdata in heapIsOk() function.
bernat [Thu, 27 Jul 2000 15:28:17 +0000 (15:28 +0000)]
Disabled searching for DYNINSTtext and DYNINSTdata in heapIsOk() function.

21 years agoMissed Commit of changes in include file location.
hollings [Thu, 27 Jul 2000 15:24:47 +0000 (15:24 +0000)]
Missed Commit of changes in include file location.

21 years agoMissed files to updat include of Dictionary.C
hollings [Thu, 27 Jul 2000 15:23:23 +0000 (15:23 +0000)]
Missed files to updat include of Dictionary.C

21 years agoFixed include of Dictionary.C
hollings [Thu, 27 Jul 2000 15:22:12 +0000 (15:22 +0000)]
Fixed include of Dictionary.C

21 years agoCleaned up debugging output, no change from last commit.
bernat [Thu, 27 Jul 2000 14:12:30 +0000 (14:12 +0000)]
Cleaned up debugging output, no change from last commit.

21 years agoChanged Paradyn runtime library to use new static heap structure.
bernat [Thu, 27 Jul 2000 14:09:49 +0000 (14:09 +0000)]
Changed Paradyn runtime library to use new static heap structure.
See developer's guide or dyninstAPI commit log for details.

DYNINST_EXPORTS: export new static heap symbols
RTtext-power.S, RTinst.c, RTaix.c:
   Remove DYNINSTdata, DYNINSTtext; add new static heap symbols
   DYNINSTstaticHeap_4M_anyHeap; DYNINSTstaticHeap_4M_anyHeap;
   DYNINSTstaticHeap_32K_lowmemHeap

21 years agoChanged dyninst runtime library to use new static heap structure. See
bernat [Thu, 27 Jul 2000 14:05:46 +0000 (14:05 +0000)]
Changed dyninst runtime library to use new static heap structure. See
the developer's guide or dyninstAPI commit log for details.

DYNINSTAPI_RT_EXPORTS: Added exporting of new static heap symbols
RTcommon.c: Removed 4MB array DYNINSTdata, added DYNINSTstaticHeap_4M_anyHeap,
            DYNINSTstaticHeap_32K_lowmemHeap.

RTtext-alpha.S, RTtext-power.S: Changed DYNINSTtext to
            DYNINSTstaticHeap_4M_textHeap

21 years agoChanged dyninst/paradyn startup to look for static heaps with the new
bernat [Thu, 27 Jul 2000 14:01:16 +0000 (14:01 +0000)]
Changed dyninst/paradyn startup to look for static heaps with the new
naming system.

aix.C, inst-sparc.C, inst-x86.C, irix.C: removed check for whether
  "DYNINSTdata" existed

process.C: Added new heap detection/initialization code
symtab.C: Added findInternalByPrefix method
process.h: Added heapDescriptor object
templates05.C: Added vector<heapDescriptor>

Old method: look specifically for DYNINSTdata, possibly DYNINSTtext.
These were assumed to have sizes of 4MB. Part of DYNINSTdata was then
used as the low memory heap (used for RPC).

New method: look for symbols of the form DYNINSTstaticHeap_<size>_<type>
with optional trailing garbage (for uniqueness). The size and type are
ASCII-encoded representations, i.e. DYNINSTstaticHeap_4M_anyHeap_1.
Heaps are detected on startup (in both program and loaded shared
objects, if any) and when a dlopen() is detected.

21 years agoRemoved generic files that are now in common/src
hollings [Wed, 26 Jul 2000 23:33:27 +0000 (23:33 +0000)]
Removed generic files that are now in common/src

21 years agoRemoved files that are specifc to pd (now in pdutil).
hollings [Wed, 26 Jul 2000 23:32:45 +0000 (23:32 +0000)]
Removed files that are specifc to pd (now in pdutil).

21 years agoSpilt util into common and pdutil. util is still used (for now) to
hollings [Wed, 26 Jul 2000 23:02:36 +0000 (23:02 +0000)]
Spilt util into common and pdutil.  util is still used (for now) to
build pdutil.  Changed included .C files in various templates to find
moved files.

util/h files are now #include of the renamed files.   Next step is to fixup
existing includes.

21 years agoAdded new macro "DISTANCE" which handles unsigned values correctly.
bernat [Mon, 24 Jul 2000 22:24:56 +0000 (22:24 +0000)]
Added new macro "DISTANCE" which handles unsigned values correctly.
Previously, it was possible to use ABS() and receive an incorrect answer.
DISTANCE(x,y) computes the smallest distance between x and y.

21 years agoFixed stack alignment problem is conservative base tramp.
buck [Mon, 24 Jul 2000 19:55:09 +0000 (19:55 +0000)]
Fixed stack alignment problem is conservative base tramp.

21 years agoUpdated release tag.
hollings [Mon, 24 Jul 2000 18:56:15 +0000 (18:56 +0000)]
Updated release tag.

21 years agoChanged release number.
hollings [Mon, 24 Jul 2000 18:51:46 +0000 (18:51 +0000)]
Changed release number.

21 years agoremove smooth_obs_cost metric and associated references
schendel [Thu, 20 Jul 2000 19:53:42 +0000 (19:53 +0000)]
remove smooth_obs_cost metric and associated references

21 years agoFixed trymmap() for 64-bit platforms.
bernat [Wed, 19 Jul 2000 21:49:16 +0000 (21:49 +0000)]
Fixed trymmap() for 64-bit platforms.

21 years agodisable PC perfstream flush callback
schendel [Wed, 19 Jul 2000 21:36:30 +0000 (21:36 +0000)]
disable PC perfstream flush callback

21 years agoignore unset perfstream flush callbacks
schendel [Wed, 19 Jul 2000 21:34:43 +0000 (21:34 +0000)]
ignore unset perfstream flush callbacks

21 years agoIncremented version number
wylie [Wed, 19 Jul 2000 16:35:33 +0000 (16:35 +0000)]
Incremented version number

21 years agoFunctions necessary for dynamic heap on AIX
bernat [Tue, 18 Jul 2000 19:59:05 +0000 (19:59 +0000)]
Functions necessary for dynamic heap on AIX

21 years agoFixed constrained_mmap (trymmap) to work on AIX
bernat [Tue, 18 Jul 2000 19:56:44 +0000 (19:56 +0000)]
Fixed constrained_mmap (trymmap) to work on AIX
Added AIX support for dynamic inf heap

21 years agoNo change (null)
bernat [Tue, 18 Jul 2000 19:55:46 +0000 (19:55 +0000)]
No change (null)

21 years agoDefined USES_DYNAMIC_INF_HEAP
bernat [Tue, 18 Jul 2000 19:55:31 +0000 (19:55 +0000)]
Defined USES_DYNAMIC_INF_HEAP

21 years agoAdded necessary infrastructure to support dynamic heap on AIX
bernat [Tue, 18 Jul 2000 19:55:14 +0000 (19:55 +0000)]
Added necessary infrastructure to support dynamic heap on AIX
Modified inferiorMallocConstraints functions (all platforms)
  to take heap type as an argument. This could also have been
  an #ifdef, since only rs6000-ibm-aix4_1 uses it.

21 years agoDefined USES_DYNAMIC_INF_HEAP for rs6000_ibm_4_1
bernat [Tue, 18 Jul 2000 19:54:06 +0000 (19:54 +0000)]
Defined USES_DYNAMIC_INF_HEAP for rs6000_ibm_4_1

21 years agooptional debug trace printing for visi library
schendel [Tue, 18 Jul 2000 17:14:33 +0000 (17:14 +0000)]
optional debug trace printing for visi library

21 years agoadd code to flush the histogram- ie. sends buckets not yet sent
schendel [Tue, 18 Jul 2000 17:13:51 +0000 (17:13 +0000)]
add code to flush the histogram- ie. sends buckets not yet sent
fix bug in handling of sample intervals smaller than bucket size, common
   for the last histogram bucket
fix bug where histogram exporting wouldn't send the last bucket

21 years agoadd member to debug_ostream to determine if stream is turned on
schendel [Tue, 18 Jul 2000 17:12:29 +0000 (17:12 +0000)]
add member to debug_ostream to determine if stream is turned on

21 years agodefine and inform dataMgr about callback that flushes VISIthread buffer
schendel [Tue, 18 Jul 2000 17:11:50 +0000 (17:11 +0000)]
define and inform dataMgr about callback that flushes VISIthread buffer

21 years agoadd communication to flush the VISIthread from the dataManager
schendel [Tue, 18 Jul 2000 17:10:19 +0000 (17:10 +0000)]
add communication to flush the VISIthread from the dataManager

21 years agoinitiate flushing of histogram, perfStream, and VISIthread buffers upon
schendel [Tue, 18 Jul 2000 17:09:16 +0000 (17:09 +0000)]
initiate flushing of histogram, perfStream, and VISIthread buffers upon
  metric instance "inactivation"

21 years agoadd optional flag to turn on printing of sample value trace lines
schendel [Tue, 18 Jul 2000 17:02:25 +0000 (17:02 +0000)]
add optional flag to turn on printing of sample value trace lines

21 years agoBuild GNU mutatees as executables (rather than objects)
wylie [Fri, 14 Jul 2000 20:37:35 +0000 (20:37 +0000)]
Build GNU mutatees as executables (rather than objects)

21 years agoFixed the problem where visis might not notice (and display) the last sample
pcroth [Thu, 13 Jul 2000 21:59:33 +0000 (21:59 +0000)]
Fixed the problem where visis might not notice (and display) the last sample
they received, due to their lack of knowledge about records buffered by XDR.
Before, the visi would not have consumed the data that had been buffered
by XDR until new data arrived.  Now, when the visi_callback() function is
called in response to a readable socket, the visi library consumes all XDR
records available before returning to the visi itself.

21 years agoUpdated documentation of visi_callback function.
pcroth [Thu, 13 Jul 2000 21:41:52 +0000 (21:41 +0000)]
Updated documentation of visi_callback function.

21 years agoMake dyninst and paradyn runtime library share common sigill handler
zandy [Thu, 13 Jul 2000 19:58:53 +0000 (19:58 +0000)]
Make dyninst and paradyn runtime library share common sigill handler
for detach-on-the-fly.

21 years agoRemove unused variable.
zandy [Thu, 13 Jul 2000 19:58:24 +0000 (19:58 +0000)]
Remove unused variable.

21 years agoFixed removeThisInstance so that a metricDefinitionNode does not try to
pcroth [Thu, 13 Jul 2000 18:29:22 +0000 (18:29 +0000)]
Fixed removeThisInstance so that a metricDefinitionNode does not try to
access its own member data after deleting itself when removing itself from
all other nodes in which it is an aggregate.

21 years agoSimplify illegal instruction handler for detach-on-the-fly
zandy [Thu, 13 Jul 2000 18:01:17 +0000 (18:01 +0000)]
Simplify illegal instruction handler for detach-on-the-fly

21 years agoSimply illegal instruction handler for detach-on-the-fly
zandy [Thu, 13 Jul 2000 18:00:46 +0000 (18:00 +0000)]
Simply illegal instruction handler for detach-on-the-fly

21 years agoSimplify the illegal instruction handler for detach-on-the-fly.
zandy [Thu, 13 Jul 2000 18:00:06 +0000 (18:00 +0000)]
Simplify the illegal instruction handler for detach-on-the-fly.

21 years agoAdd support for arbitrary inst points and control flow graphs on MIPS/Irix.
buck [Wed, 12 Jul 2000 17:55:47 +0000 (17:55 +0000)]
Add support for arbitrary inst points and control flow graphs on MIPS/Irix.
Move machine-dependent code for arbitrary inst points into inst-<platform>.C
files.  Also, keep a map containing all BPatch_points that have been
generated and return them if appropriate, rather than making a new BPatch_point
each time a user of the library requests one.

21 years agoAdded calls for OSF.
hollings [Tue, 11 Jul 2000 18:31:47 +0000 (18:31 +0000)]
Added calls for OSF.

21 years agoChanges to allow fork/exec callbacks for OSF.
hollings [Tue, 11 Jul 2000 18:30:26 +0000 (18:30 +0000)]
Changes to allow fork/exec callbacks for OSF.

21 years agoCorrected/expanded error messages from readData/TextSpace
paradyn [Fri, 7 Jul 2000 20:20:55 +0000 (20:20 +0000)]
Corrected/expanded error messages from readData/TextSpace

21 years agoThis update fixes the C++ debug parsing problem on Alpha platform.
altinel [Thu, 6 Jul 2000 19:15:59 +0000 (19:15 +0000)]
This update fixes the C++ debug parsing problem on Alpha platform.

Mehmet

21 years agoThis update fixes the C++ debug parsing problem.
altinel [Thu, 6 Jul 2000 19:11:23 +0000 (19:11 +0000)]
This update fixes the C++ debug parsing problem.

Mehmet

21 years agoThis update fixes the problems with test cases for C++ features.
altinel [Thu, 6 Jul 2000 19:09:47 +0000 (19:09 +0000)]
This update fixes the problems with test cases for C++ features.

Mehmet

21 years agoThis update fixes the test cases for C++ features.
altinel [Thu, 6 Jul 2000 19:06:46 +0000 (19:06 +0000)]
This update fixes the test cases for C++ features.

21 years agoThis update fixes the debug parsing problems on Alpha platforms.
altinel [Thu, 6 Jul 2000 19:04:51 +0000 (19:04 +0000)]
This update fixes the debug parsing problems on Alpha platforms.

Mehmet

21 years agoFixed bug with incorrect rescaling of value axis on some smooth/unsmooth
pcroth [Wed, 5 Jul 2000 21:37:46 +0000 (21:37 +0000)]
Fixed bug with incorrect rescaling of value axis on some smooth/unsmooth
operations.  The problem only occurred when multiple curves shared the same
value axis, and resulted in the display of data above the data area of
the histogram.

21 years agoAdded support for correctly displaying data from non-global phases. The
pcroth [Wed, 5 Jul 2000 21:36:49 +0000 (21:36 +0000)]
Added support for correctly displaying data from non-global phases.  The
window now contains a status bar at the bottom showing the phase displayed,
and the time axis ticks are chosen according to the start of the phase.

21 years agoAdded nmake.config.local
wylie [Wed, 5 Jul 2000 16:30:12 +0000 (16:30 +0000)]
Added nmake.config.local

21 years agoType tightening
wylie [Wed, 5 Jul 2000 16:28:17 +0000 (16:28 +0000)]
Type tightening

21 years agoInitialization of speed
wylie [Wed, 5 Jul 2000 16:20:57 +0000 (16:20 +0000)]
Initialization of speed

21 years agoSwitchover to Tcl/Tk 8.3.0
paradyn [Thu, 29 Jun 2000 22:17:30 +0000 (22:17 +0000)]
Switchover to Tcl/Tk 8.3.0

21 years agoStandard TCLTK libs
paradyn [Thu, 29 Jun 2000 22:17:00 +0000 (22:17 +0000)]
Standard TCLTK libs

21 years agoSquashed compiler warnings
paradyn [Thu, 29 Jun 2000 14:46:13 +0000 (14:46 +0000)]
Squashed compiler warnings

21 years agoTidy
paradyn [Thu, 29 Jun 2000 14:45:45 +0000 (14:45 +0000)]
Tidy

21 years agoAdded dynamic call site support for AIX
bernat [Tue, 27 Jun 2000 23:14:40 +0000 (23:14 +0000)]
Added dynamic call site support for AIX

21 years agoObsolete
wylie [Mon, 26 Jun 2000 22:13:28 +0000 (22:13 +0000)]
Obsolete

21 years agoReport attachProcess failure
wylie [Mon, 26 Jun 2000 17:02:34 +0000 (17:02 +0000)]
Report attachProcess failure

21 years agoTidy
wylie [Mon, 26 Jun 2000 17:01:54 +0000 (17:01 +0000)]
Tidy

21 years agoSkip C++-specific tests if not C++.
wylie [Mon, 26 Jun 2000 17:01:20 +0000 (17:01 +0000)]
Skip C++-specific tests if not C++.

21 years agoExtra checks to handle strip'd objects (i.e., missing symbol tables).
paradyn [Mon, 26 Jun 2000 17:00:38 +0000 (17:00 +0000)]
Extra checks to handle strip'd objects (i.e., missing symbol tables).

21 years agoDropped fooling with getLastError in attachProcess (a la createProcess)
wylie [Thu, 22 Jun 2000 23:27:24 +0000 (23:27 +0000)]
Dropped fooling with getLastError in attachProcess (a la createProcess)

21 years agoSwitch to Tcl/Tk 8.3.0
paradyn [Thu, 22 Jun 2000 21:50:57 +0000 (21:50 +0000)]
Switch to Tcl/Tk 8.3.0

21 years agoCleaned up register saving behavior.
bernat [Wed, 21 Jun 2000 15:40:38 +0000 (15:40 +0000)]
Cleaned up register saving behavior.
Added backend support for dynamic function calls

Something is still broken with dynamic function calls. I'm not sure the
code to determine if a call is dynamic or not works. This commit is
primarily to get the register saving code in.

21 years agoAdded back NO_IMPLICIT_TEMPLATES
paradyn [Wed, 21 Jun 2000 03:26:25 +0000 (03:26 +0000)]
Added back NO_IMPLICIT_TEMPLATES

21 years agoBetter support for fast processors
wylie [Tue, 20 Jun 2000 22:40:59 +0000 (22:40 +0000)]
Better support for fast processors

21 years agoInclude tidy
wylie [Tue, 20 Jun 2000 22:39:44 +0000 (22:39 +0000)]
Include tidy

21 years agoArray deletion corrections (Insure'd)
wylie [Tue, 20 Jun 2000 22:38:57 +0000 (22:38 +0000)]
Array deletion corrections (Insure'd)

21 years agoFix to ignore mutatee build failures
paradyn [Tue, 20 Jun 2000 21:51:58 +0000 (21:51 +0000)]
Fix to ignore mutatee build failures

21 years agoMutator SYSLIBS tidy
paradyn [Tue, 20 Jun 2000 21:49:44 +0000 (21:49 +0000)]
Mutator SYSLIBS tidy

21 years agoC/C++ determination/reporting.
wylie [Tue, 20 Jun 2000 21:45:57 +0000 (21:45 +0000)]
C/C++ determination/reporting.

21 years agoStandardization of mutatee startup options.
wylie [Tue, 20 Jun 2000 21:45:29 +0000 (21:45 +0000)]
Standardization of mutatee startup options.
C/C++ determination/reporting.

21 years agoAdded missing retval type for gettimeofday
wylie [Thu, 15 Jun 2000 19:43:36 +0000 (19:43 +0000)]
Added missing retval type for gettimeofday

21 years agoClean-up Alpha processes on paradynd exit
paradyn [Thu, 15 Jun 2000 19:24:29 +0000 (19:24 +0000)]
Clean-up Alpha processes on paradynd exit

21 years agoNew Alpha-only template instantiations (moved from paradynd/src/templatesPD.C)
paradyn [Thu, 15 Jun 2000 18:56:11 +0000 (18:56 +0000)]
New Alpha-only template instantiations (moved from paradynd/src/templatesPD.C)

21 years agoRemoved new Alpha template instantiations (moved to dyninstAPI/src/templates1.C)
paradyn [Thu, 15 Jun 2000 18:55:05 +0000 (18:55 +0000)]
Removed new Alpha template instantiations (moved to dyninstAPI/src/templates1.C)

21 years agoOops! Corrected sense of string equality test when loading libdyninst
paradyn [Thu, 15 Jun 2000 17:45:47 +0000 (17:45 +0000)]
Oops!  Corrected sense of string equality test when loading libdyninst

21 years agoTidied definitions to avoid compiler warnings
paradyn [Thu, 15 Jun 2000 16:35:10 +0000 (16:35 +0000)]
Tidied definitions to avoid compiler warnings

21 years agoBuild problem/warnings
paradyn [Thu, 15 Jun 2000 15:24:44 +0000 (15:24 +0000)]
Build problem/warnings

21 years agoTidy in response to compiler warnings
wylie [Wed, 14 Jun 2000 23:05:23 +0000 (23:05 +0000)]
Tidy in response to compiler warnings

21 years agoTidy to remove compiler warnings
wylie [Wed, 14 Jun 2000 23:04:23 +0000 (23:04 +0000)]
Tidy to remove compiler warnings