dyninst.git
24 years agofirst version
tamches [Tue, 14 Jan 1997 23:51:26 +0000 (23:51 +0000)]
first version

24 years agoadded some new int conversion ctors. Added debug_ostream support.
tamches [Tue, 14 Jan 1997 23:51:10 +0000 (23:51 +0000)]
added some new int conversion ctors.  Added debug_ostream support.

24 years agoadded debugOstream.C
tamches [Tue, 14 Jan 1997 23:50:21 +0000 (23:50 +0000)]
added debugOstream.C

24 years agochanged r_type to res_type. /p/sp2/gcc/rs6000/include/reloc.h defines a
newhall [Mon, 6 Jan 1997 22:26:20 +0000 (22:26 +0000)]
changed r_type to res_type.  /p/sp2/gcc/rs6000/include/reloc.h defines a
type r_type which results in the pre-processor producing weird code on aix.

24 years agochanged func_data to functype_data. /p/sp2/gcc/rs6000/include/sys/timer.h
newhall [Mon, 6 Jan 1997 22:21:54 +0000 (22:21 +0000)]
changed func_data to functype_data.  /p/sp2/gcc/rs6000/include/sys/timer.h
defines a type func_data which results in the preprocessor producing weird
code on aix.

24 years agochanged the way we are getting shared objects on Solaris platforms. We are no
newhall [Mon, 23 Dec 1996 21:32:49 +0000 (21:32 +0000)]
changed the way we are getting shared objects on Solaris platforms.  We are no
longer setting the value of d_ptr on the exit point of exec to get the runtime
linker to export link maps, instead we are doing something more kludgey to
get the link maps.  This new way should also work for attaching to an already
running process.

24 years agokludgey fix to race condition that can occur when a process execs
newhall [Wed, 18 Dec 1996 20:35:27 +0000 (20:35 +0000)]
kludgey fix to race condition that can occur when a process execs

24 years agoReplaced strtoul strtol because strtoul doesn't exist on SunOS
mjrg [Tue, 17 Dec 1996 20:57:10 +0000 (20:57 +0000)]
Replaced strtoul strtol because strtoul doesn't exist on SunOS

24 years agoAdded include for procinfo.h
mjrg [Tue, 17 Dec 1996 15:13:23 +0000 (15:13 +0000)]
Added include for procinfo.h

24 years agoPartial fix to fork on AIX
mjrg [Mon, 16 Dec 1996 23:12:41 +0000 (23:12 +0000)]
Partial fix to fork on AIX

24 years agoChanges to the way a forked process connects to daemon (to avoid a
mjrg [Mon, 16 Dec 1996 23:11:59 +0000 (23:11 +0000)]
Changes to the way a forked process connects to daemon (to avoid a
load on AIX)

24 years agobug fixes to fork/exec on all platforms, partial fix to fork on AIX
mjrg [Mon, 16 Dec 1996 23:10:16 +0000 (23:10 +0000)]
bug fixes to fork/exec on all platforms, partial fix to fork on AIX

24 years agofix to exec on Solaris platform
newhall [Sun, 15 Dec 1996 19:48:13 +0000 (19:48 +0000)]
fix to exec on Solaris platform

24 years agopartial fix to fork and exec for dynamic executables
newhall [Thu, 12 Dec 1996 23:02:53 +0000 (23:02 +0000)]
partial fix to fork and exec for dynamic executables

24 years agoremoved test hypothesis I accidentally committed
karavan [Thu, 12 Dec 1996 20:04:47 +0000 (20:04 +0000)]
removed test hypothesis I accidentally committed

24 years agofixed compile error with visi_GridHistoArray operator=
newhall [Wed, 11 Dec 1996 19:08:46 +0000 (19:08 +0000)]
fixed compile error with visi_GridHistoArray operator=

24 years agofixed problems with handling of fork and exec
mjrg [Wed, 11 Dec 1996 17:02:38 +0000 (17:02 +0000)]
fixed problems with handling of fork and exec

25 years agoadded visi_PrintDataBuckets, changed the way data grid constructors are called
newhall [Tue, 10 Dec 1996 16:20:46 +0000 (16:20 +0000)]
added visi_PrintDataBuckets, changed the way data grid constructors are called

25 years agoadded visi_PrintDataBuckets
newhall [Tue, 10 Dec 1996 16:19:51 +0000 (16:19 +0000)]
added visi_PrintDataBuckets

25 years agopart 1 of 2 part commit to add new searching functionality
karavan [Sun, 8 Dec 1996 17:36:19 +0000 (17:36 +0000)]
part 1 of 2 part commit to add new searching functionality

25 years agobug fix to findSignalHandler
newhall [Fri, 6 Dec 1996 21:39:38 +0000 (21:39 +0000)]
bug fix to findSignalHandler

25 years agosome debug prints put inside ifdef
tamches [Fri, 6 Dec 1996 10:52:39 +0000 (10:52 +0000)]
some debug prints put inside ifdef
if an unexpected signal is received in dummy-trap (inferiorRPC execution)
then we call continueProc() without calling handleSigChild().

25 years agochanged getInferiorProcessCPUtime() to use PIOCUSAGE
tamches [Fri, 6 Dec 1996 10:02:22 +0000 (10:02 +0000)]
changed getInferiorProcessCPUtime() to use PIOCUSAGE

25 years agoadded existsRPCinProgress
tamches [Fri, 6 Dec 1996 09:58:19 +0000 (09:58 +0000)]
added existsRPCinProgress
added major/minor shm sampling routines

25 years agoadded existsRPCinProgress method;
tamches [Fri, 6 Dec 1996 09:56:25 +0000 (09:56 +0000)]
added existsRPCinProgress method;
added methods for major/minor shm sampling

25 years agoifdefd some debug messages; improved comments.
tamches [Fri, 6 Dec 1996 09:55:22 +0000 (09:55 +0000)]
ifdefd some debug messages; improved comments.
Added checkAndDoShmSampling() to do major/minor shm samples

25 years agotimers routines revamped. no more mutex vrble. protector vrbles
tamches [Fri, 6 Dec 1996 09:52:23 +0000 (09:52 +0000)]
timers routines revamped.  no more mutex vrble.  protector vrbles
used when shm sampling.

25 years agoDYNINSTgetCPUtime revamped. Can't use gethrvtime() with shm sampling,
tamches [Fri, 6 Dec 1996 09:51:45 +0000 (09:51 +0000)]
DYNINSTgetCPUtime revamped.  Can't use gethrvtime() with shm sampling,
so we use /proc PIOCUSAGE.  Fast int multiply and divide routines
help offset some of the extra cost.

25 years agotTimerRec when shm sampling has protector vrbles, but removes
tamches [Fri, 6 Dec 1996 09:49:50 +0000 (09:49 +0000)]
tTimerRec when shm sampling has protector vrbles, but removes
snapshot, lastValue, normalize, mutex, type, for a net savings.

25 years agono longer try to set type and normalize fields of tTimers when
tamches [Fri, 6 Dec 1996 09:40:03 +0000 (09:40 +0000)]
no longer try to set type and normalize fields of tTimers when
shm sampling is on

25 years agoremoved a debug print
tamches [Fri, 6 Dec 1996 09:38:58 +0000 (09:38 +0000)]
removed a debug print

25 years agomoved cleanUpAndExit to .C file
tamches [Fri, 6 Dec 1996 09:38:29 +0000 (09:38 +0000)]
moved cleanUpAndExit to .C file

25 years agocleanUpAndExit() moved here (from .h file); it now also
tamches [Fri, 6 Dec 1996 09:37:55 +0000 (09:37 +0000)]
cleanUpAndExit() moved here (from .h file); it now also
calls destructors for all processes, which should clean up
process state like shm segments.

25 years agoslight change to argument building for ast in call to DYNINSTinit
tamches [Fri, 6 Dec 1996 09:37:00 +0000 (09:37 +0000)]
slight change to argument building for ast in call to DYNINSTinit

25 years agoperform() for timers revamped to use protector vrbles
tamches [Fri, 6 Dec 1996 09:35:37 +0000 (09:35 +0000)]
perform() for timers revamped to use protector vrbles

25 years agointerface to perform() changed; new static member vrble normalize
tamches [Fri, 6 Dec 1996 09:33:47 +0000 (09:33 +0000)]
interface to perform() changed; new static member vrble normalize

25 years agomajor/minor sampling
tamches [Fri, 6 Dec 1996 09:31:40 +0000 (09:31 +0000)]
major/minor sampling

25 years agoadded major/minor sampling
tamches [Fri, 6 Dec 1996 09:31:01 +0000 (09:31 +0000)]
added major/minor sampling

25 years agocheck for null processVec entry
tamches [Fri, 6 Dec 1996 09:30:10 +0000 (09:30 +0000)]
check for null processVec entry

25 years agobug fix to stack walking when the application is threaded
newhall [Thu, 5 Dec 1996 17:06:10 +0000 (17:06 +0000)]
bug fix to stack walking when the application is threaded

25 years agoFixed the inferior RPC on PowerPC port
lzheng [Wed, 4 Dec 1996 04:17:51 +0000 (04:17 +0000)]
Fixed the inferior RPC on PowerPC port

25 years agoCleaned up some code. Moved code that was duplicated in inst-sparc-solaris.C
newhall [Fri, 29 Nov 1996 19:40:58 +0000 (19:40 +0000)]
Cleaned up some code.  Moved code that was duplicated in inst-sparc-solaris.C
and inst-sparc-sunos.C to inst-sparc.C.  Bug fix to process::findFunctionIn.

25 years agoImplementing cross-compiler (sparc/x86-solaris)->rs6000 - naim
naim [Wed, 27 Nov 1996 15:02:41 +0000 (15:02 +0000)]
Implementing cross-compiler (sparc/x86-solaris)->rs6000 - naim

25 years agoImplementation of cross-compiler (sparc-solaris,x86-solaris)->rs6000 - naim
naim [Tue, 26 Nov 1996 16:10:34 +0000 (16:10 +0000)]
Implementation of cross-compiler (sparc-solaris,x86-solaris)->rs6000 - naim

25 years agoFixing asserts - naim
naim [Tue, 26 Nov 1996 16:06:47 +0000 (16:06 +0000)]
Fixing asserts - naim

25 years agoImplementation of cross-compiler (sparc-solaris,x86-solaris)->rs6000 - naim
naim [Tue, 26 Nov 1996 16:02:13 +0000 (16:02 +0000)]
Implementation of cross-compiler (sparc-solaris,x86-solaris)->rs6000 - naim

25 years agoFinished the implementation of inferiorPRC on HPUX platfrom
lzheng [Sat, 23 Nov 1996 22:46:41 +0000 (22:46 +0000)]
Finished the implementation of inferiorPRC on HPUX platfrom

25 years agoAdded one more method pdFunction::findOneFunctionFromAll
lzheng [Sat, 23 Nov 1996 22:44:51 +0000 (22:44 +0000)]
Added one more method pdFunction::findOneFunctionFromAll

25 years agoAdded one more method findOneFunctionFromAll for class pdFuction
lzheng [Sat, 23 Nov 1996 22:43:41 +0000 (22:43 +0000)]
Added one more method findOneFunctionFromAll for class pdFuction
to find the function from the all the functions(instrumentable and
uninstrumentable)

25 years agobug fix
newhall [Tue, 19 Nov 1996 17:58:33 +0000 (17:58 +0000)]
bug fix

25 years agoFix to stack walking on Solaris: find leaf functions in stack (these can occur
newhall [Tue, 19 Nov 1996 16:27:48 +0000 (16:27 +0000)]
Fix to stack walking on Solaris: find leaf functions in stack (these can occur
on top of stack or in middle of stack if the signal handler is on the stack)
Fix to relocated functions: new instrumentation points are kept on a per
process basis.  Cleaned up some of the code.

25 years agoFixed problems with declarations of accept and getsockname
mjrg [Mon, 18 Nov 1996 16:23:01 +0000 (16:23 +0000)]
Fixed problems with declarations of accept and getsockname

25 years agoMinor fix to my previous commit - naim
naim [Thu, 14 Nov 1996 15:07:04 +0000 (15:07 +0000)]
Minor fix to my previous commit - naim

25 years agoMinor fix to my previous commit - naim
naim [Thu, 14 Nov 1996 14:59:09 +0000 (14:59 +0000)]
Minor fix to my previous commit - naim

25 years agoMinor fix to my previous commit - naim
naim [Thu, 14 Nov 1996 14:42:52 +0000 (14:42 +0000)]
Minor fix to my previous commit - naim

25 years agoFixing signal problem on aix related to attach/detach - naim
naim [Thu, 14 Nov 1996 14:28:57 +0000 (14:28 +0000)]
Fixing signal problem on aix related to attach/detach - naim

25 years agoChanging AstNodes back to pointers to improve performance - naim
naim [Thu, 14 Nov 1996 14:25:58 +0000 (14:25 +0000)]
Changing AstNodes back to pointers to improve performance - naim

25 years agoChanging AstNodes back to pointers to improve performance - naim
naim [Thu, 14 Nov 1996 14:19:30 +0000 (14:19 +0000)]
Changing AstNodes back to pointers to improve performance - naim

25 years agoMinor change to make qpt work for paradynd - naim
naim [Thu, 14 Nov 1996 14:18:34 +0000 (14:18 +0000)]
Minor change to make qpt work for paradynd - naim

25 years agoChanges for compiling with xlc and Visual C++
mjrg [Tue, 12 Nov 1996 17:51:30 +0000 (17:51 +0000)]
Changes for compiling with xlc and Visual C++

25 years agoRemoved warnings, changes for compiling with Visual C++ and xlc
mjrg [Tue, 12 Nov 1996 17:50:07 +0000 (17:50 +0000)]
Removed warnings, changes for compiling with Visual C++ and xlc

25 years agoMoved the computation of cost to the basetramp in the x86 platform,
mjrg [Tue, 12 Nov 1996 17:48:25 +0000 (17:48 +0000)]
Moved the computation of cost to the basetramp in the x86 platform,
and changed other platform to keep code consistent.
Removed warnings, and made changes for compiling with Visual C++

25 years agoremoved compiler warnings.
karavan [Mon, 11 Nov 1996 20:43:08 +0000 (20:43 +0000)]
removed compiler warnings.

25 years agoMoved the instructions which is used to caculate the observed cost
lzheng [Mon, 11 Nov 1996 01:50:43 +0000 (01:50 +0000)]
Moved the instructions which is used to caculate the observed cost
from the miniTramps to baseTramp

25 years agoMoved the instructions which is used to caculate the observed cost
lzheng [Mon, 11 Nov 1996 01:42:46 +0000 (01:42 +0000)]
Moved the instructions which is used to caculate the observed cost
from the miniTramps to baseTramp; Removed uncessay nops

25 years agoMoved the instructions which is used to caculate the observed cost
lzheng [Mon, 11 Nov 1996 01:41:54 +0000 (01:41 +0000)]
Moved the instructions which is used to caculate the observed cost
from the miniTramps to baseTramp; Removed the nop after the instruction
restore since they are not necessary

25 years agoMoved the instructions which is used to caculate the observed cost
lzheng [Mon, 11 Nov 1996 01:38:52 +0000 (01:38 +0000)]
Moved the instructions which is used to caculate the observed cost
from the miniTramps to baseTramp

25 years agoMoved the instructions which is used to caculate the observed cost
lzheng [Mon, 11 Nov 1996 01:38:52 +0000 (01:38 +0000)]
Moved the instructions which is used to caculate the observed cost
from the miniTramps to baseTramp

25 years agofirst version
tamches [Fri, 8 Nov 1996 23:46:34 +0000 (23:46 +0000)]
first version

25 years agovector<fastInferiorHeapMgr::oneHeapStats>
tamches [Fri, 8 Nov 1996 23:45:54 +0000 (23:45 +0000)]
vector<fastInferiorHeapMgr::oneHeapStats>

25 years agochanged from 3-->1 shm seg per process
tamches [Fri, 8 Nov 1996 23:45:27 +0000 (23:45 +0000)]
changed from 3-->1 shm seg per process

25 years agochange from 3-->1 shm seg per process
tamches [Fri, 8 Nov 1996 23:43:00 +0000 (23:43 +0000)]
change from 3-->1 shm seg per process

25 years agochange from 3-->1 shm seg per process; shm seg management is
tamches [Fri, 8 Nov 1996 23:41:49 +0000 (23:41 +0000)]
change from 3-->1 shm seg per process; shm seg management is
now done in fastInferiorHeapMgr.h/.C

25 years agochange from 3-->1 shm segment per process
tamches [Fri, 8 Nov 1996 23:41:02 +0000 (23:41 +0000)]
change from 3-->1 shm segment per process

25 years agoadded fastInferiorHeapMgr.C
tamches [Fri, 8 Nov 1996 23:40:12 +0000 (23:40 +0000)]
added fastInferiorHeapMgr.C

25 years agoadded support for a DEBUG_FLAG of 'none'
tamches [Fri, 8 Nov 1996 23:38:17 +0000 (23:38 +0000)]
added support for a DEBUG_FLAG of 'none'

25 years agosome OS:: methods changed to process:: methods
tamches [Tue, 5 Nov 1996 20:40:23 +0000 (20:40 +0000)]
some OS:: methods changed to process:: methods
process ctor now takes traceLink, ioLink params
continueProcessIfWaiting removed (no longer needed)
improved error reporting for shm segs

25 years agosome OS:: methods changed to process:: methods
tamches [Tue, 5 Nov 1996 20:38:02 +0000 (20:38 +0000)]
some OS:: methods changed to process:: methods
process constructor now takes traceLink, ioLink as param
continueProcessIfWaiting removed (no longer needed)

25 years agoremoved 2 calls to statusLine("ready") that were premature.
tamches [Tue, 5 Nov 1996 20:36:19 +0000 (20:36 +0000)]
removed 2 calls to statusLine("ready") that were premature.

25 years agosome OS:: methods have changed to process:: methods
tamches [Tue, 5 Nov 1996 20:33:19 +0000 (20:33 +0000)]
some OS:: methods have changed to process:: methods

25 years agoimproved some error checks
tamches [Tue, 5 Nov 1996 20:32:18 +0000 (20:32 +0000)]
improved some error checks

25 years agono more call to process::continueProcessIfWaiting
tamches [Tue, 5 Nov 1996 20:31:18 +0000 (20:31 +0000)]
no more call to process::continueProcessIfWaiting

25 years agoremoved dumpProcessImage
tamches [Tue, 5 Nov 1996 20:30:53 +0000 (20:30 +0000)]
removed dumpProcessImage

25 years agoremoved dumpProcessImage prototype
tamches [Tue, 5 Nov 1996 20:30:36 +0000 (20:30 +0000)]
removed dumpProcessImage prototype

25 years agochanged some OS:: methods to process:: methods
tamches [Tue, 5 Nov 1996 20:30:17 +0000 (20:30 +0000)]
changed some OS:: methods to process:: methods

25 years agoDYNINSTrecordTag now calls DYNINSTreportNewTags directly, for
tamches [Tue, 5 Nov 1996 20:26:44 +0000 (20:26 +0000)]
DYNINSTrecordTag now calls DYNINSTreportNewTags directly, for
shared-mem sampling.

25 years agofixed an include
tamches [Thu, 31 Oct 1996 10:54:55 +0000 (10:54 +0000)]
fixed an include

25 years agoremoved primitives.C
tamches [Thu, 31 Oct 1996 10:46:22 +0000 (10:46 +0000)]
removed primitives.C

25 years agomajor change: the shm-sampling commit
tamches [Thu, 31 Oct 1996 09:31:56 +0000 (09:31 +0000)]
major change: the shm-sampling commit
inferiorRPC
redesigned constructors
removed some warnings
some member vrbles are now private

25 years agothe shm-sampling commit; shared memory sampling, inferiorRPC;
tamches [Thu, 31 Oct 1996 09:30:22 +0000 (09:30 +0000)]
the shm-sampling commit; shared memory sampling, inferiorRPC;
redesigned constructors, removed a lot of warnings; some member
vrbles of class process are now private.

25 years agothe shm-sampling commit; completely redesigned dataReqNode; designed
tamches [Thu, 31 Oct 1996 09:28:23 +0000 (09:28 +0000)]
the shm-sampling commit; completely redesigned dataReqNode; designed
a handful of derived classes of dataReqNode, which replaces a lot of
existing code; removed some warnings; inferiorRPC.

25 years agothe shm-sampling commit; completely redesigned dataReqNode; designed
tamches [Thu, 31 Oct 1996 09:25:59 +0000 (09:25 +0000)]
the shm-sampling commit; completely redesigned dataReqNode; designed
a handful of derived classes of dataReqNode, which replaces a lot of
existing code.

25 years agothe shm-sampling commit; shared-memory sampling in the main loop;
tamches [Thu, 31 Oct 1996 09:23:49 +0000 (09:23 +0000)]
the shm-sampling commit; shared-memory sampling in the main loop;
new inferiorRPC activities in SIGTRAP/STOP/ILL; removed TR_START;
removed some warnings

25 years agothe shm-sampling commit; removed some warnings; removed uses of old cm5
tamches [Thu, 31 Oct 1996 09:20:10 +0000 (09:20 +0000)]
the shm-sampling commit; removed some warnings; removed uses of old cm5
vrbles nodePseudoProcess and proc->aggregate; new routine
installBootstrapInst

25 years agothe shm-sampling commit; intCounterHandle, timerHandle gone, replaced by
tamches [Thu, 31 Oct 1996 09:17:04 +0000 (09:17 +0000)]
the shm-sampling commit; intCounterHandle, timerHandle gone, replaced by
new classes in metric.h derived from dataReqNode.

25 years agoremoved a lot of warnings; un-inlined lots of large fns;
tamches [Thu, 31 Oct 1996 09:08:08 +0000 (09:08 +0000)]
removed a lot of warnings; un-inlined lots of large fns;
updated our interactions with class dataReqNode, which has been
overhauled; implemented inferiorRPC

25 years agoremoved 2 unused cm5 vrbles
tamches [Thu, 31 Oct 1996 09:04:41 +0000 (09:04 +0000)]
removed 2 unused cm5 vrbles

25 years agoremoved this file
tamches [Thu, 31 Oct 1996 09:04:02 +0000 (09:04 +0000)]
removed this file

25 years agoremoved some warnings
tamches [Thu, 31 Oct 1996 09:01:14 +0000 (09:01 +0000)]
removed some warnings

25 years agoadded noCost param to findAndInstallBaseTramp
tamches [Thu, 31 Oct 1996 09:00:34 +0000 (09:00 +0000)]
added noCost param to findAndInstallBaseTramp