dyninst.git
25 years agoCleaned some code and removed some warning messages
sec [Tue, 18 Feb 1997 21:18:09 +0000 (21:18 +0000)]
Cleaned some code and removed some warning messages

25 years agoCleaned some code up
sec [Tue, 18 Feb 1997 21:17:35 +0000 (21:17 +0000)]
Cleaned some code up

25 years agoAdded 5 instructions to the base trampoline, 4 nops under the label of
sec [Tue, 18 Feb 1997 21:17:03 +0000 (21:17 +0000)]
Added 5 instructions to the base trampoline, 4 nops under the label of
UPDATE_LR, used to update the link register in function entry and exit
points.

25 years agoAdded some support for MPI functions, default instrumentation to catch
sec [Tue, 18 Feb 1997 21:16:04 +0000 (21:16 +0000)]
Added some support for MPI functions, default instrumentation to catch
the msg tags, etc.
Removed the default instrumentation for DYNISTexecFailed on the exit point
for exec; this was always being called, even when exec worked, due to how
AIX handles exec.  This should make exec work now.

25 years agoAdded a label, UPDATE_LR, used in tramp-power.S for the code which will
sec [Tue, 18 Feb 1997 21:13:36 +0000 (21:13 +0000)]
Added a label, UPDATE_LR, used in tramp-power.S for the code which will
update the link register.

25 years agoRedefined most of this include file. Alot of the representations for
sec [Tue, 18 Feb 1997 21:12:56 +0000 (21:12 +0000)]
Redefined most of this include file.  Alot of the representations for
instructions were in the form of PowerPC instructions, not Power2; I modified
it, cleaned it up, reduced some warnings, etc.  Some small bug fixes in what
instructions were used, etc.

25 years agoCleaned up some warning errors.
sec [Tue, 18 Feb 1997 21:11:47 +0000 (21:11 +0000)]
Cleaned up some warning errors.

25 years agoAdd poe daemon suport; modified dataManager::addExecutable to launch the
sec [Tue, 18 Feb 1997 21:10:42 +0000 (21:10 +0000)]
Add poe daemon suport; modified dataManager::addExecutable to launch the
poe daemon using IBM's 'poe' program (which will launch a program, in
this case paradynd, on a set of nodes.

25 years agoAdded a friend, class dataManager, to paradynDaemon; needed for POE support.
sec [Tue, 18 Feb 1997 21:09:10 +0000 (21:09 +0000)]
Added a friend, class dataManager, to paradynDaemon; needed for POE support.

25 years agoAdd poe daemon support.
sec [Tue, 18 Feb 1997 21:07:13 +0000 (21:07 +0000)]
Add poe daemon support.

25 years agochanged MaxActiveExperiments constant to guard against deadlock.
karavan [Thu, 6 Feb 1997 20:47:52 +0000 (20:47 +0000)]
changed MaxActiveExperiments constant to guard against deadlock.

25 years agoFixed a bug in the rs6000 version; we were jumping to the wrong location
sec [Tue, 4 Feb 1997 15:20:31 +0000 (15:20 +0000)]
Fixed a bug in the rs6000 version; we were jumping to the wrong location
in the base tramp after a mini-trampoline was deleted.

25 years agoChanges made for combining the long jump and short jump on solaris platform
lzheng [Mon, 3 Feb 1997 17:20:55 +0000 (17:20 +0000)]
Changes made for combining the long jump and short jump on solaris platform

25 years agoCombined the long jump and short jump for the instrumentation
lzheng [Mon, 3 Feb 1997 04:59:47 +0000 (04:59 +0000)]
Combined the long jump and short jump for the instrumentation

25 years agoinitial version of sparc-solaris makefile
newhall [Fri, 31 Jan 1997 22:20:38 +0000 (22:20 +0000)]
initial version of sparc-solaris makefile

25 years agoMinor fix that eliminates some warning messages when a pvm process ends - naim
naim [Fri, 31 Jan 1997 16:01:43 +0000 (16:01 +0000)]
Minor fix that eliminates some warning messages when a pvm process ends - naim

25 years agoFixing race condition between continueProc and inferiorRPC in progress - naim
naim [Fri, 31 Jan 1997 15:59:24 +0000 (15:59 +0000)]
Fixing race condition between continueProc and inferiorRPC in progress - naim

25 years agoemitInferiorRPCtrailer can now stop to make use of the result
tamches [Thu, 30 Jan 1997 18:31:06 +0000 (18:31 +0000)]
emitInferiorRPCtrailer can now stop to make use of the result

25 years agoreplace use of getMaxBranch1Insn() with
tamches [Thu, 30 Jan 1997 18:30:02 +0000 (18:30 +0000)]
replace use of getMaxBranch1Insn() with
offsetWithinRangeOfBranchInsn()

25 years agoreplaced getMaxBranch1Insn() with offsetWithinRangeOfBranchInsn()
tamches [Thu, 30 Jan 1997 18:29:25 +0000 (18:29 +0000)]
replaced getMaxBranch1Insn() with offsetWithinRangeOfBranchInsn()

25 years agoinferiorRPCs can now make use of the result, passing it to the callback
tamches [Thu, 30 Jan 1997 18:28:03 +0000 (18:28 +0000)]
inferiorRPCs can now make use of the result, passing it to the callback
function.  Added tryToFindExecutable(), createdViaAttach, wasRunningWhenAttached,
needToContinueAfterDYNINSTinit, isRunning(), getArgv0(),  getPathEnv(),
getCwdEnv().  removed PARADYND_TRACE_SOCKET env var.
attachProcess() no longer takes in a dir.

25 years agoadded getArgv0() as a shared object name to ignore...needed when attaching
tamches [Thu, 30 Jan 1997 18:23:10 +0000 (18:23 +0000)]
added getArgv0() as a shared object name to ignore...needed when attaching
to a process not being run from the current directory

25 years agoadded extract_string_ptr, extract_string, get_ps_stuff, isRunning,
tamches [Thu, 30 Jan 1997 18:22:04 +0000 (18:22 +0000)]
added extract_string_ptr, extract_string, get_ps_stuff, isRunning,
tryToFindExecutable, read_inferiorRPC_result_register

25 years agocall to procStopFromDYNINSTinit slightly changed to make use of its
tamches [Thu, 30 Jan 1997 18:20:35 +0000 (18:20 +0000)]
call to procStopFromDYNINSTinit slightly changed to make use of its
new features

25 years agoemitInferiorRPCtrailer revamped; can now stop to read the result value of
tamches [Thu, 30 Jan 1997 18:19:27 +0000 (18:19 +0000)]
emitInferiorRPCtrailer revamped; can now stop to read the result value of
an inferiorRPC

25 years agoemitInferiorRPCtrailer revamped...can now stop to read the return value
tamches [Thu, 30 Jan 1997 18:18:58 +0000 (18:18 +0000)]
emitInferiorRPCtrailer revamped...can now stop to read the return value
of an inferiorRPC

25 years agoattach no longer takes in a dir; takes in afterAttach
tamches [Thu, 30 Jan 1997 18:18:22 +0000 (18:18 +0000)]
attach no longer takes in a dir; takes in afterAttach

25 years agocontinueAllProcesses() won't try to continue an already-running process;
tamches [Thu, 30 Jan 1997 18:17:58 +0000 (18:17 +0000)]
continueAllProcesses() won't try to continue an already-running process;
pauseAllProcesses won't try to pause an already-paused process

25 years agocorrected use of demangName
tamches [Thu, 30 Jan 1997 18:15:59 +0000 (18:15 +0000)]
corrected use of demangName

25 years agofile() and name() are now const methods
tamches [Thu, 30 Jan 1997 18:14:36 +0000 (18:14 +0000)]
file() and name() are now const methods

25 years agoskeleton isRunning, tryToFindExecutable, and read_inferiorRPC_result_register
tamches [Thu, 30 Jan 1997 18:13:32 +0000 (18:13 +0000)]
skeleton isRunning, tryToFindExecutable, and read_inferiorRPC_result_register

25 years agoemitInferiorRPCtrailer has extra params for stopping to make use of
tamches [Thu, 30 Jan 1997 18:12:15 +0000 (18:12 +0000)]
emitInferiorRPCtrailer has extra params for stopping to make use of
the result.  skeleton isRunning, tryToFindExecutable, and
read_inferiorRPC_result_register

25 years agoattach() no longer takes in a dir name; takes in afterAttach
tamches [Thu, 30 Jan 1997 18:09:31 +0000 (18:09 +0000)]
attach() no longer takes in a dir name; takes in afterAttach

25 years agoUI version changed to "1.2 alpha 1"
tamches [Thu, 30 Jan 1997 18:08:25 +0000 (18:08 +0000)]
UI version changed to "1.2 alpha 1"

25 years agoimproved UI to attach (no longer takes in a directory; option on
tamches [Thu, 30 Jan 1997 18:08:07 +0000 (18:08 +0000)]
improved UI to attach (no longer takes in a directory; option on
whether to run/pause/asis after attaching)

25 years agoattach no longer takes in a dir
tamches [Thu, 30 Jan 1997 18:07:21 +0000 (18:07 +0000)]
attach no longer takes in a dir

25 years agonewProgramCallbackFunc takes in a runMe param
tamches [Thu, 30 Jan 1997 18:06:33 +0000 (18:06 +0000)]
newProgramCallbackFunc takes in a runMe param

25 years agoaddRunningProgram() takes in isInitiallyRunning flag;
tamches [Thu, 30 Jan 1997 18:05:46 +0000 (18:05 +0000)]
addRunningProgram() takes in isInitiallyRunning flag;
attach no longer takes in a dir

25 years agoattach() doesn't take in a dir anymore; it takes afterAttach integer.
tamches [Thu, 30 Jan 1997 18:00:50 +0000 (18:00 +0000)]
attach() doesn't take in a dir anymore; it takes afterAttach integer.
newProgramCallbackFunc now takes wantToInitiallyRun flag.

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.