dyninst.git
25 years agoadded "afterAttach" param to attach()
tamches [Thu, 30 Jan 1997 17:55:09 +0000 (17:55 +0000)]
added "afterAttach" param to attach()

25 years agoadded global var the_paradyndPid, which connectToDaemon() now uses
tamches [Thu, 30 Jan 1997 17:54:15 +0000 (17:54 +0000)]
added global var the_paradyndPid, which connectToDaemon() now uses
and DYNINSTinit takes as 3d param, and which obsoletes PARADYND_TRACE_SOCKET,
so an attached process can fork successfully.

25 years agoadded a non-const operator[]
tamches [Thu, 30 Jan 1997 17:49:48 +0000 (17:49 +0000)]
added a non-const operator[]

25 years agoadded concat_pathname_components, extractNextPathElem, exists_executable,
tamches [Thu, 30 Jan 1997 17:49:18 +0000 (17:49 +0000)]
added concat_pathname_components, extractNextPathElem, exists_executable,
and executableFromArgv0AndPathAndCwd

25 years agoremoved assert that all globals in .stab should be defined in .symtab
tamches [Thu, 30 Jan 1997 17:47:51 +0000 (17:47 +0000)]
removed assert that all globals in .stab should be defined in .symtab

25 years agoremoved some unused code that was not removed in my previous commit
newhall [Thu, 30 Jan 1997 15:51:33 +0000 (15:51 +0000)]
removed some unused code that was not removed in my previous commit

25 years agoPart of the base instrumentation for supporting multithreaded applications
naim [Mon, 27 Jan 1997 20:52:11 +0000 (20:52 +0000)]
Part of the base instrumentation for supporting multithreaded applications
(vectors of counter/timers) implemented for all current platforms +
different bug fixes - naim

25 years agoPart of the base instrumentation for supporting multithreaded applications
naim [Mon, 27 Jan 1997 19:35:52 +0000 (19:35 +0000)]
Part of the base instrumentation for supporting multithreaded applications
(vectors of counter/timers) implemented for all current platforms +
different bug fixes - naim

25 years agoadded declaration for processVec
mjrg [Thu, 23 Jan 1997 20:52:17 +0000 (20:52 +0000)]
added declaration for processVec

25 years agoCheck that a process has completed initialization before inserting instrumentation
mjrg [Thu, 23 Jan 1997 20:51:54 +0000 (20:51 +0000)]
Check that a process has completed initialization before inserting instrumentation

25 years agoChanges made to remove uncessary instructions
lzheng [Wed, 22 Jan 1997 15:49:28 +0000 (15:49 +0000)]
Changes made to remove uncessary instructions

25 years agoChanges made for stack walking and inferior procedure call
lzheng [Wed, 22 Jan 1997 15:48:04 +0000 (15:48 +0000)]
Changes made for stack walking and inferior procedure call

25 years agoChanges made related to the stack walking in the inferiorRPC call
lzheng [Wed, 22 Jan 1997 15:47:09 +0000 (15:47 +0000)]
Changes made related to the stack walking in the inferiorRPC call

25 years agoFix a problem with skip branch.(Some instructions cannot be skipped
lzheng [Wed, 22 Jan 1997 15:45:33 +0000 (15:45 +0000)]
Fix a problem with skip branch.(Some instructions cannot be skipped
at any time)

25 years agoTwo Bugs Fixing for the code generation (in loadConst and assember_21)
lzheng [Wed, 22 Jan 1997 15:44:07 +0000 (15:44 +0000)]
Two Bugs Fixing for the code generation (in loadConst and assember_21)

25 years agoMoved allocation of virtual registers to basetramp and fix to
mjrg [Tue, 21 Jan 1997 23:58:53 +0000 (23:58 +0000)]
Moved allocation of virtual registers to basetramp and fix to
emitInferiorRPCheader to allocate virtual registers

25 years agoFixed a bug in my previous commit
mjrg [Tue, 21 Jan 1997 22:10:25 +0000 (22:10 +0000)]
Fixed a bug in my previous commit

25 years agoAdded support for unix domain sockets.
mjrg [Tue, 21 Jan 1997 20:09:46 +0000 (20:09 +0000)]
Added support for unix domain sockets.
Added getHostName function

25 years agoChanged to unix domain socket for trace stream
mjrg [Tue, 21 Jan 1997 20:08:32 +0000 (20:08 +0000)]
Changed to unix domain socket for trace stream

25 years agoChanged to unix domain socket for trace stream
mjrg [Tue, 21 Jan 1997 20:07:46 +0000 (20:07 +0000)]
Changed to unix domain socket for trace stream
Replaced calls to uname by calls to libutil function getHostName

25 years agoMAX_BRANCH --> getMaxBranch1Insn()
tamches [Tue, 21 Jan 1997 00:25:52 +0000 (00:25 +0000)]
MAX_BRANCH --> getMaxBranch1Insn()

25 years agoremoved uses of DYNINSTglobalData
tamches [Tue, 21 Jan 1997 00:24:51 +0000 (00:24 +0000)]
removed uses of DYNINSTglobalData

25 years agoremoved DYNINSTglobalData
tamches [Tue, 21 Jan 1997 00:22:34 +0000 (00:22 +0000)]
removed DYNINSTglobalData

25 years agomoved all intialization of DYNINSTtraceFp out of DYNINSTgenerateTraceRecord
tamches [Mon, 20 Jan 1997 22:38:14 +0000 (22:38 +0000)]
moved all intialization of DYNINSTtraceFp out of DYNINSTgenerateTraceRecord
and into DYNINSTinit and DYNINSTfork

25 years agofixed a purify hit by properly initializing reachedFirstBreak in
tamches [Mon, 20 Jan 1997 22:28:46 +0000 (22:28 +0000)]
fixed a purify hit by properly initializing reachedFirstBreak in
one of the ctors

25 years agoremoved these obsolete files
tamches [Mon, 20 Jan 1997 17:22:49 +0000 (17:22 +0000)]
removed these obsolete files

25 years agofix to prev commit
tamches [Mon, 20 Jan 1997 17:20:37 +0000 (17:20 +0000)]
fix to prev commit

25 years agoadded proper param names for DYNINSTos_init
tamches [Thu, 16 Jan 1997 22:20:06 +0000 (22:20 +0000)]
added proper param names for DYNINSTos_init

25 years agoadded proper param names to DYNINSTos_init
tamches [Thu, 16 Jan 1997 22:14:36 +0000 (22:14 +0000)]
added proper param names to DYNINSTos_init

25 years agoadded some comments
tamches [Thu, 16 Jan 1997 22:11:43 +0000 (22:11 +0000)]
added some comments

25 years agofirst working version of attach
tamches [Thu, 16 Jan 1997 22:11:21 +0000 (22:11 +0000)]
first working version of attach
New methods installBootstrapInst(), installInstrRequests() from inst.C.

25 years agoattachProcess() takes in dir + cmd args.
tamches [Thu, 16 Jan 1997 22:10:06 +0000 (22:10 +0000)]
attachProcess() takes in dir + cmd args.
attach ctor now takes in symbols; fork ctor now takes in trace_fd.
New methods installBootstrapInst() and installInstrRequests()
(from inst.C)

25 years agomoved some code out of here and into processNewTSConnection() (context.C)
tamches [Thu, 16 Jan 1997 22:07:59 +0000 (22:07 +0000)]
moved some code out of here and into processNewTSConnection() (context.C)

25 years agomoved RPC_undo_arg_list here from util lib
tamches [Thu, 16 Jan 1997 22:07:15 +0000 (22:07 +0000)]
moved RPC_undo_arg_list here from util lib

25 years agosome routines have moved to class process
tamches [Thu, 16 Jan 1997 22:05:11 +0000 (22:05 +0000)]
some routines have moved to class process

25 years agoremoved flushPtrace
tamches [Thu, 16 Jan 1997 22:04:04 +0000 (22:04 +0000)]
removed flushPtrace

25 years agoextra params to attach() for dir and cmd name
tamches [Thu, 16 Jan 1997 22:03:46 +0000 (22:03 +0000)]
extra params to attach() for dir and cmd name

25 years agoadded processNewTSConnection().
tamches [Thu, 16 Jan 1997 22:00:29 +0000 (22:00 +0000)]
added processNewTSConnection().

25 years agoadded processNewTSConnection. forkProcess no longer needs
tamches [Thu, 16 Jan 1997 21:59:46 +0000 (21:59 +0000)]
added processNewTSConnection.  forkProcess no longer needs
childHasInstr param

25 years agoadded "dir" and "command" boxes to attach dialog box
tamches [Thu, 16 Jan 1997 21:58:31 +0000 (21:58 +0000)]
added "dir" and "command" boxes to attach dialog box

25 years agoextra params to attach for dir + prog-name
tamches [Thu, 16 Jan 1997 21:57:56 +0000 (21:57 +0000)]
extra params to attach for dir + prog-name

25 years agoextra params to attach for dir and program name
tamches [Thu, 16 Jan 1997 21:57:29 +0000 (21:57 +0000)]
extra params to attach for dir and program name

25 years agobumped up version number
tamches [Thu, 16 Jan 1997 21:56:16 +0000 (21:56 +0000)]
bumped up version number

25 years agoextra params to attach
tamches [Thu, 16 Jan 1997 21:55:57 +0000 (21:55 +0000)]
extra params to attach

25 years agoextra params to attach()
tamches [Thu, 16 Jan 1997 21:55:24 +0000 (21:55 +0000)]
extra params to attach()

25 years agoremoved dependence on CONTROLLER_FD (always 3 which wouldn't
tamches [Thu, 16 Jan 1997 20:58:07 +0000 (20:58 +0000)]
removed dependence on CONTROLLER_FD (always 3 which wouldn't
work with attach).  2 new params to DYNINSTinit (needed by
attach).

25 years agoparams to DYNINSTos_init
tamches [Thu, 16 Jan 1997 20:55:25 +0000 (20:55 +0000)]
params to DYNINSTos_init

25 years agoremoved CONTROLLER_FD
tamches [Thu, 16 Jan 1997 20:53:29 +0000 (20:53 +0000)]
removed CONTROLLER_FD

25 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)

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

25 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.

25 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

25 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.

25 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.

25 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

25 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.

25 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

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

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

25 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

25 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.

25 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()

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

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

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

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

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

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

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

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

25 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

25 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

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

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

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

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

25 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

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

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

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

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

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

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

25 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

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

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

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

25 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.

25 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

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

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

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

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

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

25 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.

25 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.

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

25 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.

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

25 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.