dyninst.git
24 years agoadded functionality for new Paradyn Save feature
karavan [Fri, 2 May 1997 04:44:40 +0000 (04:44 +0000)]
added functionality for new Paradyn Save feature

24 years agoadded new functionality to support "SAVE" feature.
karavan [Fri, 2 May 1997 04:43:47 +0000 (04:43 +0000)]
added new functionality to support "SAVE" feature.

added support to use standard tcl autoload feature for development use.

24 years agoadded functionality to save data and resource hierarchies to file.
karavan [Fri, 2 May 1997 04:42:28 +0000 (04:42 +0000)]
added functionality to save data and resource hierarchies to file.

24 years agoUpdated dyninstAPI library-only files to work with recent changes to code
buck [Fri, 2 May 1997 01:43:25 +0000 (01:43 +0000)]
Updated dyninstAPI library-only files to work with recent changes to code
code included in Paradyn.

24 years agoFixed problem with copy constructor
mjrg [Wed, 30 Apr 1997 22:59:54 +0000 (22:59 +0000)]
Fixed problem with copy constructor

24 years agoadded template needed for new implementation of string class
mjrg [Wed, 30 Apr 1997 15:37:04 +0000 (15:37 +0000)]
added template needed for new implementation of string class

24 years agominor change for Visual C++
mjrg [Tue, 29 Apr 1997 23:22:56 +0000 (23:22 +0000)]
minor change for Visual C++

24 years agoadded template for string
mjrg [Tue, 29 Apr 1997 23:22:11 +0000 (23:22 +0000)]
added template for string

24 years agoChanged some templates related to resources
mjrg [Tue, 29 Apr 1997 23:21:51 +0000 (23:21 +0000)]
Changed some templates related to resources

24 years agoChanged way paradyn and paradynd generate id's for resources
mjrg [Tue, 29 Apr 1997 23:19:59 +0000 (23:19 +0000)]
Changed way paradyn and paradynd generate id's for resources

24 years agoChanged the way paradyn and paradynd generate id's for resources
mjrg [Tue, 29 Apr 1997 23:19:21 +0000 (23:19 +0000)]
Changed the way paradyn and paradynd generate id's for resources
Removed qualified names (T_dynininstRPC::) to avoid problems with VisualC++

24 years agoChanges for WindowsNT port
mjrg [Tue, 29 Apr 1997 23:15:53 +0000 (23:15 +0000)]
Changes for WindowsNT port
Delayed check for DYNINST symbols to allow linking libdyninst dynamically
Changed way paradyn and paradynd generate resource ids
Changes to instPoint class in inst-x86.C to reduce size of objects
Added initialization for process->threads to fork and attach constructors

24 years agonew implementation for class string (implemented by Ari)
mjrg [Tue, 29 Apr 1997 23:06:25 +0000 (23:06 +0000)]
new implementation for class string (implemented by Ari)

24 years agoNew implementation for class string (implemented by Ari)
mjrg [Tue, 29 Apr 1997 23:05:47 +0000 (23:05 +0000)]
New implementation for class string (implemented by Ari)

24 years agoadded explicit "int" to declaration
mjrg [Tue, 29 Apr 1997 23:04:50 +0000 (23:04 +0000)]
added explicit "int" to declaration

24 years agoremoved print statements
mjrg [Tue, 29 Apr 1997 23:03:25 +0000 (23:03 +0000)]
removed print statements

24 years agoadded declaration for Visual C++
mjrg [Tue, 29 Apr 1997 23:02:47 +0000 (23:02 +0000)]
added declaration for Visual C++

24 years agofixed bug in hash function
mjrg [Tue, 29 Apr 1997 23:01:18 +0000 (23:01 +0000)]
fixed bug in hash function

24 years agofixed bug in hash table lookup
mjrg [Tue, 29 Apr 1997 23:00:14 +0000 (23:00 +0000)]
fixed bug in hash table lookup

24 years agofixed bug in syscall SYS_dup
mjrg [Tue, 29 Apr 1997 22:59:35 +0000 (22:59 +0000)]
fixed bug in syscall SYS_dup

24 years agoChanged generated code so that it compiles with Visual C++
mjrg [Tue, 29 Apr 1997 22:57:55 +0000 (22:57 +0000)]
Changed generated code so that it compiles with Visual C++

24 years agoSmall fix to problem with linking paradynd under AIX.
buck [Tue, 29 Apr 1997 19:37:56 +0000 (19:37 +0000)]
Small fix to problem with linking paradynd under AIX.

24 years agoAdded features to dyninstAPI library, including the ability to delete
buck [Tue, 29 Apr 1997 16:58:15 +0000 (16:58 +0000)]
Added features to dyninstAPI library, including the ability to delete
inserted snippets and the start of type checking.

24 years agoModified the names of the functions I added earlier, added the prefix
sec [Fri, 25 Apr 1997 16:07:11 +0000 (16:07 +0000)]
Modified the names of the functions I added earlier, added the prefix
DYNINST before all of them.

24 years agothe C++ code for trace data moved from visi/h/visualization.h
hseom [Thu, 24 Apr 1997 22:11:23 +0000 (22:11 +0000)]
the C++ code for trace data moved from visi/h/visualization.h
to visi/src/visiTypesP.h

24 years agoadded support for trace data (in a byte array)
hseom [Mon, 21 Apr 1997 16:57:12 +0000 (16:57 +0000)]
added support for trace data (in a byte array)

24 years agoadded support for trace data
hseom [Mon, 21 Apr 1997 16:51:50 +0000 (16:51 +0000)]
added support for trace data

24 years agoadded support for trace data (in a byte array)
hseom [Mon, 21 Apr 1997 16:50:47 +0000 (16:50 +0000)]
added support for trace data (in a byte array)

24 years agoFixed a bug in getMemoryBounds.
zhichen [Fri, 18 Apr 1997 15:03:00 +0000 (15:03 +0000)]
Fixed a bug in getMemoryBounds.

24 years agoJust added some documentation
sec [Thu, 17 Apr 1997 20:46:34 +0000 (20:46 +0000)]
Just added some documentation

24 years agoFixed a bug in how the message tag hiearchy was orderd, and added some
sec [Thu, 17 Apr 1997 19:45:39 +0000 (19:45 +0000)]
Fixed a bug in how the message tag hiearchy was orderd, and added some
misc. functions which are called by the mdl file paradyn.rc (such as
Add(x,y) which adds x+y, Mult(x,y) which multiplies x*y, etc.  These
are needed becauses these type of expressions are not allowed as
arguments.

24 years agoDid some automatic instrumented of the MPI collective calls, to make sure
sec [Thu, 17 Apr 1997 19:44:18 +0000 (19:44 +0000)]
Did some automatic instrumented of the MPI collective calls, to make sure
the message groups and tags are recorded.

24 years agoMade is so that negative numbers are allowed.
sec [Thu, 17 Apr 1997 19:43:36 +0000 (19:43 +0000)]
Made is so that negative numbers are allowed.

24 years agoI made a simple hack modification to symtab.C buildDemangledName.
sec [Thu, 17 Apr 1997 19:43:13 +0000 (19:43 +0000)]
I made a simple hack modification to symtab.C buildDemangledName.
What was occuring was that MPI__AXXX was taken as a C++ name and was
being convereted to MPI (the constructor for MPI), which was preventing the
instrumentation of MPI__Allgather, MPI__Alltoall, etc.  If there is a better
fix, that will be looked into later.
So, in buildDemangledName, if the prefix is MPI__ then it says it is fine,
and not a C++ method name

24 years agoFixed an error in emitFuncCall.
sec [Thu, 17 Apr 1997 19:41:07 +0000 (19:41 +0000)]
Fixed an error in emitFuncCall.

24 years agoDefined a symbol that I forget to define, stache_blk_size
zhichen [Tue, 15 Apr 1997 02:50:15 +0000 (02:50 +0000)]
Defined a symbol that I forget to define, stache_blk_size

24 years agoAdded function_base *process::findOneFunctionFromAll(...)
zhichen [Mon, 14 Apr 1997 20:08:57 +0000 (20:08 +0000)]
Added function_base *process::findOneFunctionFromAll(...)

24 years agoAdded enum index { machine, procedure, process, sync_object, memory };
zhichen [Mon, 14 Apr 1997 20:08:03 +0000 (20:08 +0000)]
Added   enum index { machine, procedure, process, sync_object, memory };
        resource *memoryRoot; // shared-memory resource
        resource *memoryResource; // shared-memory resource
        resource *resource::newResource_ncb(...)
changed void resource::make_canonical...)

24 years agoAdded
zhichen [Mon, 14 Apr 1997 20:07:31 +0000 (20:07 +0000)]
Added
enum index { machine, procedure, process, sync_object, memory };
        resource *memoryRoot; // shared-memory resource
        resource *memoryResource; // shared-memory resource
        resource *resource::newResource_ncb(...)
changed
void resource::make_canonical...)

24 years agoadded reportMemory & TR_NEW_MEMORY
zhichen [Mon, 14 Apr 1997 20:06:43 +0000 (20:06 +0000)]
added reportMemory & TR_NEW_MEMORY

24 years agoChanged update_environment, do_trailing_resources, mdl_instr_rand::apply
zhichen [Mon, 14 Apr 1997 20:06:02 +0000 (20:06 +0000)]
Changed update_environment, do_trailing_resources, mdl_instr_rand::apply
mdl_init

24 years agoAdded memoryRoot.
zhichen [Mon, 14 Apr 1997 20:05:10 +0000 (20:05 +0000)]
Added memoryRoot.

24 years agoAdded dynRPC::memoryRangeSelected, dynRPC::memoryInfoResponse
zhichen [Mon, 14 Apr 1997 20:04:43 +0000 (20:04 +0000)]
Added dynRPC::memoryRangeSelected, dynRPC::memoryInfoResponse

24 years agoAdded | tIDENT tLSQUARE tUNS tRSQUARE tDOT tIDENT for instr_rand.
zhichen [Mon, 14 Apr 1997 20:03:53 +0000 (20:03 +0000)]
Added | tIDENT tLSQUARE tUNS tRSQUARE tDOT tIDENT for instr_rand.

24 years agoAdded MDL_T_MEMORY(VARIABLE,RECORD), get_type, memory::bounds, etc
zhichen [Mon, 14 Apr 1997 20:03:12 +0000 (20:03 +0000)]
Added MDL_T_MEMORY(VARIABLE,RECORD), get_type, memory::bounds, etc

24 years agoAdded MDL_T_RECORD and fixed a bug.
zhichen [Mon, 14 Apr 1997 20:01:52 +0000 (20:01 +0000)]
Added MDL_T_RECORD and fixed a bug.

24 years agoAdded ptr->dmp->getMemoryBounds.
zhichen [Mon, 14 Apr 1997 20:01:08 +0000 (20:01 +0000)]
Added ptr->dmp->getMemoryBounds.

24 years agoAdded memoryAddedCB (...)
zhichen [Mon, 14 Apr 1997 20:00:29 +0000 (20:00 +0000)]
Added memoryAddedCB (...)

24 years agoadded memoryAddedCB.
zhichen [Mon, 14 Apr 1997 19:59:51 +0000 (19:59 +0000)]
added memoryAddedCB.

24 years agoAdded friend resourceHandle createResource_ncb, friend void getMemoryBounds
zhichen [Mon, 14 Apr 1997 19:59:07 +0000 (19:59 +0000)]
Added friend resourceHandle createResource_ncb, friend void getMemoryBounds

24 years agoAdded dataManager::getMemoryBounds, dataManagerUser::newMemoryDefined
zhichen [Mon, 14 Apr 1997 19:58:22 +0000 (19:58 +0000)]
Added dataManager::getMemoryBounds, dataManagerUser::newMemoryDefined

24 years agoAdded friend resourceHandle createResource_ncb, void callMemoryFunc
zhichen [Mon, 14 Apr 1997 19:57:46 +0000 (19:57 +0000)]
Added friend resourceHandle createResource_ncb, void callMemoryFunc

24 years agoAdded performanceStream::callMemoryFunc
zhichen [Mon, 14 Apr 1997 19:57:02 +0000 (19:57 +0000)]
Added performanceStream::callMemoryFunc

24 years agoAdded dynRPCUser::memoryInfoCallback, resourceHandle createResource_ncb
zhichen [Mon, 14 Apr 1997 19:56:28 +0000 (19:56 +0000)]
Added dynRPCUser::memoryInfoCallback, resourceHandle createResource_ncb

24 years agoAdded some templates for Blizzard Memory
zhichen [Mon, 14 Apr 1997 19:55:36 +0000 (19:55 +0000)]
Added some templates for Blizzard Memory

24 years agoAdded memoryInfoCallback, memoryInfoResponse for blizzard
zhichen [Mon, 14 Apr 1997 19:54:43 +0000 (19:54 +0000)]
Added memoryInfoCallback, memoryInfoResponse for blizzard

24 years agoAdded memoryInfoCallback, getMemoryBounds, newMemoryDefined
zhichen [Mon, 14 Apr 1997 19:54:00 +0000 (19:54 +0000)]
Added memoryInfoCallback, getMemoryBounds, newMemoryDefined

24 years agoAdded DYNINSTreportNewMem
zhichen [Mon, 14 Apr 1997 19:51:37 +0000 (19:51 +0000)]
Added DYNINSTreportNewMem

24 years agoFixing compilation problem with accept and getsockname - naim
naim [Mon, 14 Apr 1997 18:32:24 +0000 (18:32 +0000)]
Fixing compilation problem with accept and getsockname - naim

24 years agoremoved pdFunction class
newhall [Mon, 14 Apr 1997 15:33:23 +0000 (15:33 +0000)]
removed pdFunction class

24 years agoremoved class pdFunction
newhall [Mon, 14 Apr 1997 00:25:12 +0000 (00:25 +0000)]
removed class pdFunction

24 years agoremoved class pdFunction and replaced it with base class function_base and
newhall [Mon, 14 Apr 1997 00:21:39 +0000 (00:21 +0000)]
removed class pdFunction and replaced it with base class function_base and
derived class pd_Function

24 years agoadded module base class, and pdmodule derived class
newhall [Thu, 10 Apr 1997 16:50:19 +0000 (16:50 +0000)]
added module base class, and pdmodule derived class

24 years agoDefined class 'memory' for blizzard shared-memory
zhichen [Wed, 9 Apr 1997 18:10:17 +0000 (18:10 +0000)]
Defined class 'memory' for blizzard shared-memory

24 years agoThis file has the same name as a system head file, removed and renamed
zhichen [Tue, 8 Apr 1997 20:05:23 +0000 (20:05 +0000)]
This file has the same name as a system head file, removed and renamed
to blizzard_memory.h

24 years agoDefine Blizzard Shared-memory information, such as name, boundary, etc
zhichen [Mon, 7 Apr 1997 18:36:39 +0000 (18:36 +0000)]
Define Blizzard Shared-memory information, such as name, boundary, etc

24 years agoadded TR_NEW_MEMORY, struct _traceMemory, for the memory hierarchy of
zhichen [Mon, 7 Apr 1997 17:53:38 +0000 (17:53 +0000)]
added TR_NEW_MEMORY, struct _traceMemory, for the memory hierarchy of
Blizzard

24 years agoPartial support for dlopen and dlclose on sparc-solaris platform. This is only
newhall [Thu, 3 Apr 1997 05:19:35 +0000 (05:19 +0000)]
Partial support for dlopen and dlclose on sparc-solaris platform.  This is only
support for catching dlopen and dlclose events and processing the link maps
to see what has changed.  We are not currently parsing and creating new
resources for newly mapped shared objects, because there is no code in place
to modify metric collection due to code objects being added or removed once
the program starts executing.

24 years agoAdded memory
zhichen [Wed, 2 Apr 1997 22:35:03 +0000 (22:35 +0000)]
Added memory

24 years agoadded 'Memory'
zhichen [Wed, 2 Apr 1997 22:34:52 +0000 (22:34 +0000)]
added 'Memory'

24 years agoAdded the code to allow a 2 level /Message hiearchy, where the first
sec [Sat, 29 Mar 1997 02:13:59 +0000 (02:13 +0000)]
Added the code to allow a 2 level /Message hiearchy, where the first
level is the message group (the communicatorId for MPI) and the second
level is the message tag.  While the UI only shows 2 level for MPI, all
daemons message tags are implemented in the same table, so if PVM is used
(which only has one level) the groupId is always -1.

24 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]

24 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

24 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

24 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

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

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

24 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

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

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

24 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

24 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

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

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

24 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

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

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

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

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

24 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

24 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

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

24 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'

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

24 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

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

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

24 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'

24 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

24 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