dyninst.git
25 years agoRenamed the resource MsgTag to Message
sec [Sat, 29 Mar 1997 02:10:24 +0000 (02:10 +0000)]
Renamed the resource MsgTag to Message
Modified the code to search for $constraint[0], $constraint[1], etc. instead
of $constraint; (note, $constraint[0] is really changed to $constraint0, etc.
by the parser, which is what is searched for).  The match path /A/B/C,
has C referring to $constraint[0] aka $constraint0, B to $constraint[1],
and A $constraint[2]

25 years agoChanged the daemon poe to mpi
sec [Sat, 29 Mar 1997 02:08:53 +0000 (02:08 +0000)]
Changed the daemon poe to mpi

25 years agoAdded one more level to /SyncObj to allow the 2 level deep /Message for
sec [Sat, 29 Mar 1997 02:08:36 +0000 (02:08 +0000)]
Added one more level to /SyncObj to allow the 2 level deep /Message for
MPI

25 years agoCreating the resource Message instead of MsgTag
sec [Sat, 29 Mar 1997 02:08:10 +0000 (02:08 +0000)]
Creating the resource Message instead of MsgTag

25 years agoAdding instrumentation of MPI functions
sec [Sat, 29 Mar 1997 02:07:52 +0000 (02:07 +0000)]
Adding instrumentation of MPI functions

25 years agoAdded parsing commands to understand the wildcard * path in the matchPath
sec [Sat, 29 Mar 1997 02:07:03 +0000 (02:07 +0000)]
Added parsing commands to understand the wildcard * path in the matchPath
In addition added parsing commands to understand the new constraint
field, $constraint[0], etc. which is converted to $constraint0, $constraint1,
etc. and then translated in mdl.C to the value.

25 years agoChanged /MsgTag to /Message
sec [Sat, 29 Mar 1997 02:06:06 +0000 (02:06 +0000)]
Changed /MsgTag to /Message
Added environment variables $constraint[0], $constraint[1], etc.
instead of $constraint

25 years agoDebugging stuff
sec [Sat, 29 Mar 1997 02:05:23 +0000 (02:05 +0000)]
Debugging stuff

25 years agoAdding some debugging stuff
sec [Sat, 29 Mar 1997 02:05:04 +0000 (02:05 +0000)]
Adding some debugging stuff

25 years agoChanged the resource handle MsgTags to Messages
sec [Sat, 29 Mar 1997 02:04:41 +0000 (02:04 +0000)]
Changed the resource handle MsgTags to Messages

25 years agoChanged /MsgTag to /Message in MDL/paradyn.rc
sec [Sat, 29 Mar 1997 02:04:18 +0000 (02:04 +0000)]
Changed /MsgTag to /Message in MDL/paradyn.rc

25 years agoAdding some debugging stuff.
sec [Sat, 29 Mar 1997 02:03:48 +0000 (02:03 +0000)]
Adding some debugging stuff.

25 years agoFixed a bug, the ids were being set to the metrics which couldn't be
sec [Sat, 29 Mar 1997 02:02:37 +0000 (02:02 +0000)]
Fixed a bug, the ids were being set to the metrics which couldn't be
instrumented (due to an error); since the id wasn't set it was never
being removed from the pending queu.

25 years agoRenamed the poe daemon to mpi
sec [Sat, 29 Mar 1997 02:01:43 +0000 (02:01 +0000)]
Renamed the poe daemon to mpi

25 years agoAdded more nops used to save/restore fp registers.
sec [Sat, 29 Mar 1997 02:01:11 +0000 (02:01 +0000)]
Added more nops used to save/restore fp registers.

25 years agoModified how AstNode is called, neded due to changes in instMapping.
sec [Sat, 29 Mar 1997 02:00:52 +0000 (02:00 +0000)]
Modified how AstNode is called, neded due to changes in instMapping.

25 years agoModified args to be a vector instead of a single argument, allowing
sec [Sat, 29 Mar 1997 02:00:22 +0000 (02:00 +0000)]
Modified args to be a vector instead of a single argument, allowing
the our instrumentation code to use more then one argument from the
function being instrumented.

25 years agoemitFuncCall was saving registers in the wrong location, they were overwriting
sec [Sat, 29 Mar 1997 01:59:38 +0000 (01:59 +0000)]
emitFuncCall was saving registers in the wrong location, they were overwriting
the registers saved at the beginning of the base trampoline.  So I added
an offset when saving registers (and restoring).

Created functions to save floating point registers, which are now saved
(f0-f13) in emitFuncCall, in order to protect them.  This means we are
saving 14 registers 4 times in emitFuncCall, but is required for now.

The logical operators AND & OR were instrumented incorrectly.

25 years agoAdded some defines for floating point register ops
sec [Sat, 29 Mar 1997 01:56:12 +0000 (01:56 +0000)]
Added some defines for floating point register ops

25 years agoadded code to set process:pdFlavor
zhichen [Sun, 23 Mar 1997 16:57:48 +0000 (16:57 +0000)]
added code to set process:pdFlavor

25 years agobased on process::pdFlavor, set initial inst accordingly.
zhichen [Sun, 23 Mar 1997 16:53:11 +0000 (16:53 +0000)]
based on process::pdFlavor, set initial inst accordingly.

25 years agochanged process::attach(), do not set inheri_on_fork if flavor is 'cow'
zhichen [Sun, 23 Mar 1997 16:52:08 +0000 (16:52 +0000)]
changed process::attach(), do not set inheri_on_fork if flavor is 'cow'

25 years agoAdded declaration of process::pdFlavor ;
zhichen [Sun, 23 Mar 1997 16:51:12 +0000 (16:51 +0000)]
Added declaration of process::pdFlavor ;

25 years agoAdded static string pdFlavor ; in class process
zhichen [Sun, 23 Mar 1997 16:50:21 +0000 (16:50 +0000)]
Added static string pdFlavor ; in class process

25 years agoForgot to remove old templates from paradynd.
buck [Tue, 18 Mar 1997 20:02:33 +0000 (20:02 +0000)]
Forgot to remove old templates from paradynd.

25 years agofirst commit of dyninst library. Also includes:
buck [Tue, 18 Mar 1997 19:43:26 +0000 (19:43 +0000)]
first commit of dyninst library.  Also includes:
moving templates from paradynd to dyninstAPI
converting showError into a function (in showerror.C)
many ifdefs for BPATCH_LIBRARY in dyinstAPI/src.

25 years agoChanged to start blizzard application, when flavor is 'cow'
zhichen [Mon, 17 Mar 1997 19:58:18 +0000 (19:58 +0000)]
Changed to start blizzard application, when flavor is 'cow'

25 years agoSmall changes made for handling inferior procedure call on hpux platform
lzheng [Mon, 17 Mar 1997 02:18:46 +0000 (02:18 +0000)]
Small changes made for handling inferior procedure call on hpux platform

25 years agoAdded one more function to handle inferior procedure call
lzheng [Mon, 17 Mar 1997 02:17:15 +0000 (02:17 +0000)]
Added one more function to handle inferior procedure call

25 years agoFollow up commit of previous commit to this file
lzheng [Mon, 17 Mar 1997 00:06:48 +0000 (00:06 +0000)]
Follow up commit of previous commit to this file

25 years agoChanges made for the value of observed cost
lzheng [Sun, 16 Mar 1997 23:16:31 +0000 (23:16 +0000)]
Changes made for the value of observed cost

25 years agoadded info about c test program
newhall [Sat, 15 Mar 1997 03:16:38 +0000 (03:16 +0000)]
added info about c test program

25 years agoc version of xtext visi
newhall [Fri, 14 Mar 1997 22:06:17 +0000 (22:06 +0000)]
c version of xtext visi

25 years agoadded example c visi program
newhall [Fri, 14 Mar 1997 22:05:40 +0000 (22:05 +0000)]
added example c visi program

25 years agoAdded reportSelf in the case when the daemons were started by
zhichen [Fri, 14 Mar 1997 18:50:57 +0000 (18:50 +0000)]
Added reportSelf in the case when the daemons were started by
COW DJM. Search for 'Tempest' for the change

25 years agoDealing with complier optimization related to the return value
lzheng [Fri, 14 Mar 1997 15:57:07 +0000 (15:57 +0000)]
Dealing with complier optimization related to the return value

25 years agoFixed bug that let .text symbols into function name table.
hollings [Tue, 11 Mar 1997 17:54:55 +0000 (17:54 +0000)]
Fixed bug that let .text symbols into function name table.
This caused the first function in an executable to not be found for
instrumentation.

25 years agofix to check for if return points overlap in pdFunction::checkInstPoints
newhall [Fri, 7 Mar 1997 17:05:13 +0000 (17:05 +0000)]
fix to check for if return points overlap in pdFunction::checkInstPoints

25 years agoFixed bug related to finding next free index in the inferior heap - naim
naim [Thu, 6 Mar 1997 20:08:57 +0000 (20:08 +0000)]
Fixed bug related to finding next free index in the inferior heap - naim

25 years agoMinor change to fix warning message about MAX macro - naim
naim [Wed, 5 Mar 1997 21:33:23 +0000 (21:33 +0000)]
Minor change to fix warning message about MAX macro - naim

25 years agoMinor change to fix compiler error on aix - naim
naim [Wed, 5 Mar 1997 21:32:57 +0000 (21:32 +0000)]
Minor change to fix compiler error on aix - naim

25 years agoMaking sure we only save REG_MT for the MT_THREAD case - naim
naim [Wed, 5 Mar 1997 21:32:34 +0000 (21:32 +0000)]
Making sure we only save REG_MT for the MT_THREAD case - naim

25 years agoChanged deletes of malloc'd space to be frees.
hollings [Wed, 5 Mar 1997 17:37:08 +0000 (17:37 +0000)]
Changed deletes of malloc'd space to be frees.

25 years agoModified how registers are saved/restored when a function call is made,
sec [Mon, 3 Mar 1997 19:50:15 +0000 (19:50 +0000)]
Modified how registers are saved/restored when a function call is made,
in emitFuncCall.  It was previously saving registers in the same location
the registers were saved in the base trampoline, which was causing a problem
because the original values were being overwritten.

25 years agoTurning MT_THREAD flag to "true" in order to use vector of counter/timers - naim
naim [Fri, 28 Feb 1997 15:54:50 +0000 (15:54 +0000)]
Turning MT_THREAD flag to "true" in order to use vector of counter/timers - naim

25 years agoAdded debugging information for HP and POWER, so we can attach to the
naim [Fri, 28 Feb 1997 15:54:05 +0000 (15:54 +0000)]
Added debugging information for HP and POWER, so we can attach to the
application - naim

25 years agoFixing problem with use of registers before and after function calls - naim
naim [Fri, 28 Feb 1997 15:53:13 +0000 (15:53 +0000)]
Fixing problem with use of registers before and after function calls - naim

25 years agochanged some calls to open, and dup to use syscall instead. This is for
newhall [Thu, 27 Feb 1997 19:11:06 +0000 (19:11 +0000)]
changed some calls to open, and dup to use syscall instead.  This is for
applications that have their own version of these routines, we want to make
sure to call the correct open or dup.

25 years agoFirst part of WindowsNT port: divided RTposix.c into two files,
mjrg [Wed, 26 Feb 1997 23:52:05 +0000 (23:52 +0000)]
First part of WindowsNT port: divided RTposix.c into two files,
RTinst.c which has all platform independent code and RTposix.c with
unix specific code

25 years agoFirst part of WindowsNT commit: changes for compiling with VisualC++;
mjrg [Wed, 26 Feb 1997 23:49:41 +0000 (23:49 +0000)]
First part of WindowsNT commit: changes for compiling with VisualC++;
moved includes to platform header files

25 years agoFirst part of WindowsNT port: changes for compiling with Visual C++;
mjrg [Wed, 26 Feb 1997 23:46:27 +0000 (23:46 +0000)]
First part of WindowsNT port: changes for compiling with Visual C++;
moved unix specific code to unix.C file

25 years agoChanged return value argument
mjrg [Wed, 26 Feb 1997 23:45:05 +0000 (23:45 +0000)]
Changed return value argument

25 years agoFirst part on WindowsNT port: changes for compiling with Visual C++;
mjrg [Wed, 26 Feb 1997 23:42:44 +0000 (23:42 +0000)]
First part on WindowsNT port: changes for compiling with Visual C++;
moved unix specific code to unix.C

25 years agoFixing a problem with temporary counters for pvm metrics - naim
naim [Wed, 26 Feb 1997 18:03:52 +0000 (18:03 +0000)]
Fixing a problem with temporary counters for pvm metrics - naim

25 years agoCommited changes to fix the problem of reading wrong return value
lzheng [Tue, 25 Feb 1997 18:57:30 +0000 (18:57 +0000)]
Commited changes to fix the problem of reading wrong return value
(treat the leaf and not-leaf routines differently)

25 years agoAdded EEL awareness to Object-elf32.h, search for 'EEL' for comments.
zhichen [Tue, 25 Feb 1997 17:34:33 +0000 (17:34 +0000)]
Added EEL awareness to Object-elf32.h, search for 'EEL' for comments.

25 years agoMinor fix to my previous commit - naim
naim [Mon, 24 Feb 1997 14:22:58 +0000 (14:22 +0000)]
Minor fix to my previous commit - naim

25 years agoEliminating references to dataReqNode from the ast class - Pre-dyninstAPI
naim [Fri, 21 Feb 1997 20:20:35 +0000 (20:20 +0000)]
Eliminating references to dataReqNode from the ast class - Pre-dyninstAPI
commit - naim

25 years agoEliminating all references to dataReqNode from the ast class. Pre-dynisntAPI
naim [Fri, 21 Feb 1997 20:19:45 +0000 (20:19 +0000)]
Eliminating all references to dataReqNode from the ast class. Pre-dynisntAPI
commit - naim

25 years agoMoving files from paradynd to dyninstAPI - First pre-dynisntAPI commit! - naim
naim [Fri, 21 Feb 1997 20:17:05 +0000 (20:17 +0000)]
Moving files from paradynd to dyninstAPI - First pre-dynisntAPI commit! - naim

25 years agoMoving files from paradynd to dyninstAPI + eliminating references to
naim [Fri, 21 Feb 1997 20:15:34 +0000 (20:15 +0000)]
Moving files from paradynd to dyninstAPI + eliminating references to
dataReqNode from the ast class. This is the first pre-dyninstAPI commit! - naim

25 years agoMoving files from paradynd to dyninstAPI + moving references to dataReqNode
naim [Fri, 21 Feb 1997 20:13:10 +0000 (20:13 +0000)]
Moving files from paradynd to dyninstAPI + moving references to dataReqNode
out of the ast class. The is the first pre-dyninstAPI commit! - naim

25 years agoMoving files from paradynd to dyninstAPI - naim
naim [Fri, 21 Feb 1997 20:10:31 +0000 (20:10 +0000)]
Moving files from paradynd to dyninstAPI - naim

25 years agoMoving files from paradynd to dyninstAPI - naim
naim [Fri, 21 Feb 1997 20:03:55 +0000 (20:03 +0000)]
Moving files from paradynd to dyninstAPI - naim

25 years agoMoving files to from paradynd to dyninstAPI - naim
naim [Fri, 21 Feb 1997 20:02:04 +0000 (20:02 +0000)]
Moving files to from paradynd to dyninstAPI - naim

25 years agoMoving files to dyninstAPI directory - naim
naim [Fri, 21 Feb 1997 19:57:59 +0000 (19:57 +0000)]
Moving files to dyninstAPI directory - naim

25 years agoMoving aix.C to different directory - naim
naim [Fri, 21 Feb 1997 19:44:21 +0000 (19:44 +0000)]
Moving aix.C to different directory - naim

25 years agoRemoving cmost.h - naim
naim [Fri, 21 Feb 1997 19:29:25 +0000 (19:29 +0000)]
Removing cmost.h - naim

25 years agoCleaned up some stuff, warnings, etc.
sec [Tue, 18 Feb 1997 21:35:38 +0000 (21:35 +0000)]
Cleaned up some stuff, warnings, etc.

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

25 years agoThere were some bugs in how the time was accessed, fixed those; I also
sec [Tue, 18 Feb 1997 21:34:37 +0000 (21:34 +0000)]
There were some bugs in how the time was accessed, fixed those; I also
removed DYNISTexecvp which is buggy, and is never called (it was called
for MPI stuff, but I replaced it with some modifications for poe/mpi in
paradyn/DMthread).

25 years agoRedefined how base trampolines for function exit/return points are created,
sec [Tue, 18 Feb 1997 21:30:23 +0000 (21:30 +0000)]
Redefined how base trampolines for function exit/return points are created,
inserted, executed, etc.  We are unable to always find (all of the)
return branches out of a function.  So intead, we modified how things are done
a bit.

By modifying the entry base trampoline of a function, and allocating a
few instructions, we are able to set the link register (which points to
the instruction where the pc will go to after it exits the function) to
point to the return base trampoline.  So, when the function exits it will
jump to the return base trampoline, which will reset the link register to
point to where it should really go--the original value of the link register,
where the function should really go after it exits--is stored on the stack,
in the callee's link-area word #4.

In order to get things working, and be a bit conservative, whenever an entry
or exit trampoline is created, the other one will also be created.  So you
will always have both, and entry and exit trampoline for a function.  This
is done to prevent us from going in and changing the entry trampoline when
an exit trampoline is added.

25 years agoAdded poe support
sec [Tue, 18 Feb 1997 21:25:15 +0000 (21:25 +0000)]
Added poe support

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

25 years agoAdded a field to instPoint, which identifies what the instrumentation
sec [Tue, 18 Feb 1997 21:24:09 +0000 (21:24 +0000)]
Added a field to instPoint, which identifies what the instrumentation
point is for (an enum saying ipFuncEntry, ipFuncReturn, ipFuncCallPoint).

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