dyninst.git
24 years agoremoved RPC_undo_arg_list (to paradynd)
tamches [Thu, 16 Jan 1997 20:52:21 +0000 (20:52 +0000)]
removed RPC_undo_arg_list (to paradynd)

24 years agoremoved RPC_undo_arg_list
tamches [Thu, 16 Jan 1997 20:51:40 +0000 (20:51 +0000)]
removed RPC_undo_arg_list

24 years agocompletely revamped fork & exec -- they now work with shm sampling.
tamches [Wed, 15 Jan 1997 01:15:15 +0000 (01:15 +0000)]
completely revamped fork & exec -- they now work with shm sampling.
TR_FORK, TR_EXEC records gone.

24 years agocompletely revamped fork and exec -- they now work for shm sampling
tamches [Wed, 15 Jan 1997 01:13:54 +0000 (01:13 +0000)]
completely revamped fork and exec -- they now work for shm sampling

24 years agocompletely revamped fork & exec -- they now work for shm sampling.
tamches [Wed, 15 Jan 1997 01:11:34 +0000 (01:11 +0000)]
completely revamped fork & exec -- they now work for shm sampling.

24 years agoadded attach ctor.
tamches [Wed, 15 Jan 1997 01:09:57 +0000 (01:09 +0000)]
added attach ctor.
added debugOstream usage.
completely revamped fork & exec for shm sampling.
removed instInstanceMapping.

24 years agoremoved some unused stuff from last commit
tamches [Wed, 15 Jan 1997 01:08:05 +0000 (01:08 +0000)]
removed some unused stuff from last commit

24 years agoadded attach ctor. Removed instInstanceMapping. Removed
tamches [Wed, 15 Jan 1997 00:36:16 +0000 (00:36 +0000)]
added attach ctor.  Removed instInstanceMapping.  Removed
inHandleStart and mysteryTrap stuff.  Removed firstRecordTime.
Moved some inline code to .C file.

24 years agoextra param to mdl_do() and associated routines tells whether
tamches [Wed, 15 Jan 1997 00:32:52 +0000 (00:32 +0000)]
extra param to mdl_do() and associated routines tells whether
an existing component mi should be used if found...supports
processing of exec

24 years agoadded dictionary <metricDefinitionNode*,metricDefinitionNode*>
tamches [Wed, 15 Jan 1997 00:30:55 +0000 (00:30 +0000)]
added dictionary <metricDefinitionNode*,metricDefinitionNode*>

24 years agoadded an extern decl
tamches [Wed, 15 Jan 1997 00:30:37 +0000 (00:30 +0000)]
added an extern decl

24 years agoadded some uses of dictionary find() method
tamches [Wed, 15 Jan 1997 00:30:18 +0000 (00:30 +0000)]
added some uses of dictionary find() method

24 years agoadded uses of dictionary find() method. Added some const.
tamches [Wed, 15 Jan 1997 00:29:51 +0000 (00:29 +0000)]
added uses of dictionary find() method.  Added some const.

24 years agoextra bool param to mdl_do()
tamches [Wed, 15 Jan 1997 00:28:31 +0000 (00:28 +0000)]
extra bool param to mdl_do()

24 years agoadded some debug msgs
tamches [Wed, 15 Jan 1997 00:28:09 +0000 (00:28 +0000)]
added some debug msgs

24 years agoadded extern ref
tamches [Wed, 15 Jan 1997 00:27:45 +0000 (00:27 +0000)]
added extern ref

24 years agoadded isInternalMetric()
tamches [Wed, 15 Jan 1997 00:27:33 +0000 (00:27 +0000)]
added isInternalMetric()

24 years agoadded getAllInstInstancesForProcess()
tamches [Wed, 15 Jan 1997 00:26:54 +0000 (00:26 +0000)]
added getAllInstInstancesForProcess()

24 years agoadded completeTheFork()
tamches [Wed, 15 Jan 1997 00:25:56 +0000 (00:25 +0000)]
added completeTheFork()

24 years agoadded fork and exec support
tamches [Wed, 15 Jan 1997 00:25:23 +0000 (00:25 +0000)]
added fork and exec support

24 years agorevamped fork and exec support
tamches [Wed, 15 Jan 1997 00:25:04 +0000 (00:25 +0000)]
revamped fork and exec support

24 years agoadded assertWellDefined()
tamches [Wed, 15 Jan 1997 00:24:15 +0000 (00:24 +0000)]
added assertWellDefined()

24 years agomid check on sampling not really needed, so ifdef'd to SHM_SAMPLING_DEBUG
tamches [Wed, 15 Jan 1997 00:24:02 +0000 (00:24 +0000)]
mid check on sampling not really needed, so ifdef'd to SHM_SAMPLING_DEBUG

24 years agoadded routines for fork and exec
tamches [Wed, 15 Jan 1997 00:22:19 +0000 (00:22 +0000)]
added routines for fork and exec

24 years agoadded attach()
tamches [Wed, 15 Jan 1997 00:21:08 +0000 (00:21 +0000)]
added attach()

24 years agocommented out some unused code
tamches [Wed, 15 Jan 1997 00:20:40 +0000 (00:20 +0000)]
commented out some unused code

24 years agoadded processVec extern
tamches [Wed, 15 Jan 1997 00:20:17 +0000 (00:20 +0000)]
added processVec extern

24 years agoadded isCostMetric()
tamches [Wed, 15 Jan 1997 00:19:56 +0000 (00:19 +0000)]
added isCostMetric()

24 years agoimprovided handling of fork and exec
tamches [Wed, 15 Jan 1997 00:19:36 +0000 (00:19 +0000)]
improvided handling of fork and exec

24 years agoforkProcess() params changed
tamches [Wed, 15 Jan 1997 00:18:41 +0000 (00:18 +0000)]
forkProcess() params changed

24 years agoimproved fork and exec support
tamches [Wed, 15 Jan 1997 00:18:08 +0000 (00:18 +0000)]
improved fork and exec support

24 years agoadded an attach menu item
tamches [Wed, 15 Jan 1997 00:15:48 +0000 (00:15 +0000)]
added an attach menu item

24 years agoadded attach error
tamches [Wed, 15 Jan 1997 00:15:34 +0000 (00:15 +0000)]
added attach error

24 years agoadded attach
tamches [Wed, 15 Jan 1997 00:14:58 +0000 (00:14 +0000)]
added attach

24 years agoextra bool arg to apply
tamches [Wed, 15 Jan 1997 00:14:29 +0000 (00:14 +0000)]
extra bool arg to apply

24 years agoremoved references to getCurrent() method of class abstraction
tamches [Wed, 15 Jan 1997 00:14:10 +0000 (00:14 +0000)]
removed references to getCurrent() method of class abstraction

24 years agoremoved some warnings
tamches [Wed, 15 Jan 1997 00:13:41 +0000 (00:13 +0000)]
removed some warnings

24 years agoadded attach command
tamches [Wed, 15 Jan 1997 00:13:17 +0000 (00:13 +0000)]
added attach command

24 years agoadded batch mode support
tamches [Wed, 15 Jan 1997 00:12:55 +0000 (00:12 +0000)]
added batch mode support

24 years agomade getCurrent() private; added many public members to operate on the
tamches [Wed, 15 Jan 1997 00:12:31 +0000 (00:12 +0000)]
made getCurrent() private; added many public members to operate on the
current where axis.

24 years agoadded calls to abstraction::start and end batch mode
tamches [Wed, 15 Jan 1997 00:11:43 +0000 (00:11 +0000)]
added calls to abstraction::start and end batch mode

24 years agoimproved exec support
tamches [Wed, 15 Jan 1997 00:10:25 +0000 (00:10 +0000)]
improved exec support

24 years agoattachStub(); improved exec support
tamches [Wed, 15 Jan 1997 00:10:05 +0000 (00:10 +0000)]
attachStub(); improved exec support

24 years agoadded attachStub()
tamches [Wed, 15 Jan 1997 00:07:36 +0000 (00:07 +0000)]
added attachStub()

24 years agoremoved some obsolete refs
tamches [Wed, 15 Jan 1997 00:07:06 +0000 (00:07 +0000)]
removed some obsolete refs

24 years agoadded attach()
tamches [Wed, 15 Jan 1997 00:04:57 +0000 (00:04 +0000)]
added attach()

24 years agofork revamped for shm sampling (shm_detach_reattach_overlap etc).
tamches [Wed, 15 Jan 1997 00:03:16 +0000 (00:03 +0000)]
fork revamped for shm sampling (shm_detach_reattach_overlap etc).
shmsampling_printf added.

24 years agoadded divMillion routine. Added a use of mulMillion.
tamches [Tue, 14 Jan 1997 23:57:41 +0000 (23:57 +0000)]
added divMillion routine.  Added a use of mulMillion.

24 years agochanges to fork, exec processing
tamches [Tue, 14 Jan 1997 23:55:10 +0000 (23:55 +0000)]
changes to fork, exec processing

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

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