dyninst.git
24 years agoFixing problem when using cc and -MM - naim
naim [Thu, 21 Aug 1997 18:57:25 +0000 (18:57 +0000)]
Fixing problem when using cc and -MM - naim

24 years agoCheck case when PARADYN_LIB is not defined - naim
naim [Thu, 21 Aug 1997 14:37:50 +0000 (14:37 +0000)]
Check case when PARADYN_LIB is not defined - naim

24 years agoFixing another problem with my previous commit - naim
naim [Wed, 20 Aug 1997 22:23:10 +0000 (22:23 +0000)]
Fixing another problem with my previous commit - naim

24 years agoFixing a small error with my previous commit - naim
naim [Wed, 20 Aug 1997 22:08:29 +0000 (22:08 +0000)]
Fixing a small error with my previous commit - naim

24 years agoAdding support to dynamically link libdyninstRT by using dlopen on sparc-
naim [Tue, 19 Aug 1997 19:50:20 +0000 (19:50 +0000)]
Adding support to dynamically link libdyninstRT by using dlopen on sparc-
solaris - naim

24 years agoPorted the Dyninst API to Windows NT.
buck [Mon, 18 Aug 1997 01:34:08 +0000 (01:34 +0000)]
Ported the Dyninst API to Windows NT.

24 years agoNow base trampolines are reconstructed from a process' instPoint's, instead
ssuen [Fri, 15 Aug 1997 23:18:59 +0000 (23:18 +0000)]
Now base trampolines are reconstructed from a process' instPoint's, instead
of from its instInstances.

24 years agoCorrected mistake of reconstructing base trampolines from instInstance's.
ssuen [Fri, 15 Aug 1997 23:17:48 +0000 (23:17 +0000)]
Corrected mistake of reconstructing base trampolines from instInstance's.
Now base trampolines are reconstructed from instPoint's.

24 years agoAdded instantiation of vector<const instPoint *>
ssuen [Fri, 15 Aug 1997 23:16:04 +0000 (23:16 +0000)]
Added instantiation of  vector<const instPoint *>

24 years agoAdded support of MPI programs using `US' network interface on SP2.
ssuen [Sat, 9 Aug 1997 20:26:07 +0000 (20:26 +0000)]
Added support of MPI programs using `US' network interface on SP2.

24 years agoAdded test to catch case where process::walkStack is not moving up stack.
ssuen [Wed, 6 Aug 1997 20:47:17 +0000 (20:47 +0000)]
Added test to catch case where process::walkStack is not moving up stack.

24 years agoFixing problem with inferiorRPC, non-shared memory sampling and sigalrm - naim
naim [Tue, 29 Jul 1997 14:35:55 +0000 (14:35 +0000)]
Fixing problem with inferiorRPC, non-shared memory sampling and sigalrm - naim

24 years agoAdded recovery of base trampolines after an AIX load.
ssuen [Sat, 26 Jul 1997 21:21:58 +0000 (21:21 +0000)]
Added recovery of base trampolines after an AIX load.

24 years agoFixing problem with fork/exec on aix - naim
naim [Fri, 25 Jul 1997 21:16:03 +0000 (21:16 +0000)]
Fixing problem with fork/exec on aix - naim

24 years agoFixing for/exec on aix + various fixes for forc/exec on other platforms - naim
naim [Fri, 25 Jul 1997 21:10:01 +0000 (21:10 +0000)]
Fixing for/exec on aix + various fixes for forc/exec on other platforms - naim

24 years agohanges so that mini trampolines now live in the data segment heap.
ssuen [Thu, 24 Jul 1997 05:31:35 +0000 (05:31 +0000)]
hanges so that mini trampolines now live in the data segment heap.

24 years agoChanges so that mini trampolines now live in the data segment heap.
ssuen [Thu, 24 Jul 1997 05:30:44 +0000 (05:30 +0000)]
Changes so that mini trampolines now live in the data segment heap.

24 years agoMinor cleanup change - naim
naim [Tue, 22 Jul 1997 21:57:17 +0000 (21:57 +0000)]
Minor cleanup change - naim

24 years agoChanges to make fork work on aix. Also, some change to make exec work on
naim [Tue, 22 Jul 1997 19:09:54 +0000 (19:09 +0000)]
Changes to make fork work on aix. Also, some change to make exec work on
solaris. Althought it works now, there are still some things to be done
for exec related to the visis - naim

24 years agobug fix to my previous commit
newhall [Sat, 19 Jul 1997 19:35:09 +0000 (19:35 +0000)]
bug fix to my previous commit

24 years agofix to instrumenting leaf entry point with the following instruction
newhall [Thu, 17 Jul 1997 22:51:38 +0000 (22:51 +0000)]
fix to instrumenting leaf entry point with the following instruction
sequence: (mov  %o7, %g2, call  <func+12>, sethi)...can't relocate mov
insn in this case

24 years agoEliminated the need to link dyninst API with -lkvm on SunOS,
buck [Thu, 17 Jul 1997 16:53:04 +0000 (16:53 +0000)]
Eliminated the need to link dyninst API with -lkvm on SunOS,
and added a check for the failure of the "attach" constructor for
process.

24 years agoMinor change to my previous commit - naim
naim [Wed, 16 Jul 1997 19:24:08 +0000 (19:24 +0000)]
Minor change to my previous commit - naim

24 years agoFixing fork on sunos - naim
naim [Wed, 16 Jul 1997 19:13:48 +0000 (19:13 +0000)]
Fixing fork on sunos - naim

24 years agoFixing problem with fork on x86 - naim
naim [Mon, 14 Jul 1997 20:43:23 +0000 (20:43 +0000)]
Fixing problem with fork on x86 - naim

24 years agoFixing problem with fork - naim
naim [Mon, 14 Jul 1997 18:30:36 +0000 (18:30 +0000)]
Fixing problem with fork - naim

24 years agoFix to problem with fork - naim
naim [Mon, 14 Jul 1997 18:29:23 +0000 (18:29 +0000)]
Fix to problem with fork - naim

24 years agobug fix to VISIthreadchooseMetRes to check for 'Cancel' case. removed warnings
newhall [Sun, 13 Jul 1997 03:31:50 +0000 (03:31 +0000)]
bug fix to VISIthreadchooseMetRes to check for 'Cancel' case. removed warnings
from trace data code

24 years agoremoved obsolete files
tamches [Fri, 11 Jul 1997 22:03:34 +0000 (22:03 +0000)]
removed obsolete files

24 years agoremoved obsolete files
tamches [Fri, 11 Jul 1997 21:31:12 +0000 (21:31 +0000)]
removed obsolete files

24 years agoremoved hp files
tamches [Fri, 11 Jul 1997 21:26:25 +0000 (21:26 +0000)]
removed hp files

24 years agoEliminated warning when a process was created but not registered as a
buck [Fri, 11 Jul 1997 17:43:43 +0000 (17:43 +0000)]
Eliminated warning when a process was created but not registered as a
thread; made the API version of showErrorCallback call the API error
callback function.

24 years agoAdded BPatch_retExpr test case
hollings [Thu, 10 Jul 1997 21:45:19 +0000 (21:45 +0000)]
Added BPatch_retExpr test case
Added test case 17 for return values from func calls

24 years agoAdded BPatch_retExpr
hollings [Thu, 10 Jul 1997 21:44:51 +0000 (21:44 +0000)]
Added BPatch_retExpr
Added null type for returnOp and paramOp

24 years agoAdded BPatch_retExpr
hollings [Thu, 10 Jul 1997 21:44:21 +0000 (21:44 +0000)]
Added BPatch_retExpr

24 years agoDyninst API library now uses fork() instead of vfork() when creating
buck [Thu, 10 Jul 1997 19:59:40 +0000 (19:59 +0000)]
Dyninst API library now uses fork() instead of vfork() when creating
a new process.

24 years agoFixing minor problem that was causing fork to fail - naim
naim [Wed, 9 Jul 1997 21:57:15 +0000 (21:57 +0000)]
Fixing minor problem that was causing fork to fail - naim

24 years agoFixing race condition between inferiorRPC waiting for a system call to
naim [Wed, 9 Jul 1997 20:41:36 +0000 (20:41 +0000)]
Fixing race condition between inferiorRPC waiting for a system call to
finish and an enable request comming from paradyn - naim

24 years agoleaf --> noStackFrame and isLeafFunc() --> hasNoStackFrame()
tamches [Wed, 9 Jul 1997 19:31:39 +0000 (19:31 +0000)]
leaf --> noStackFrame and isLeafFunc() --> hasNoStackFrame()

24 years agoisLeafFunc() --> hasNoStackFrame()
tamches [Wed, 9 Jul 1997 19:30:14 +0000 (19:30 +0000)]
isLeafFunc() --> hasNoStackFrame()

24 years agohasNoStackFrame() replaces leaf, which is not kept here anymore;
tamches [Wed, 9 Jul 1997 19:29:53 +0000 (19:29 +0000)]
hasNoStackFrame() replaces leaf, which is not kept here anymore;
instead, we use func's hasNoStackFrame()

24 years agoisLeaf() --> hasNoStackFrame() for instPoint and pd_Function
tamches [Wed, 9 Jul 1997 19:29:12 +0000 (19:29 +0000)]
isLeaf() --> hasNoStackFrame() for instPoint and pd_Function
no leaf vrble kept in instPoint anymore; we use func's hasNoStackFrame()

24 years agoisLeaf() --> hasNoStackFrame() for instPoint and pd_Function.
tamches [Wed, 9 Jul 1997 19:28:24 +0000 (19:28 +0000)]
isLeaf() --> hasNoStackFrame() for instPoint and pd_Function.
No leaf flag kept in instPoint anymore; we use func's hasNoStackFrame()

24 years agoAdded support for the x86 Solaris platform.
buck [Tue, 8 Jul 1997 19:18:21 +0000 (19:18 +0000)]
Added support for the x86 Solaris platform.

24 years agoAdded support for the x86 Solaris platform and dynamically linked
buck [Tue, 8 Jul 1997 19:14:00 +0000 (19:14 +0000)]
Added support for the x86 Solaris platform and dynamically linked
executables to the dyninst API library.

24 years agoMinor fix to cleanup_drn. We should only use it when computingCost is
naim [Thu, 3 Jul 1997 21:49:08 +0000 (21:49 +0000)]
Minor fix to cleanup_drn. We should only use it when computingCost is
false - naim

24 years agoFixing EXIT_NAME symbol - naim
naim [Thu, 3 Jul 1997 21:45:55 +0000 (21:45 +0000)]
Fixing EXIT_NAME symbol - naim

24 years agoFixed hang due to us not handling the case in which we send a SIGSTOP to
ssuen [Thu, 3 Jul 1997 20:03:12 +0000 (20:03 +0000)]
Fixed hang due to us not handling the case in which we send a SIGSTOP to
a process to stop it, but it has *already* stopped due to another signal,
such as a SIGTRAP.

24 years agodummy set_breakpoint_for_syscall_completion
tamches [Tue, 1 Jul 1997 16:54:56 +0000 (16:54 +0000)]
dummy set_breakpoint_for_syscall_completion

24 years agocode to defer an inferior rpc until syscall is complete
tamches [Tue, 1 Jul 1997 16:54:42 +0000 (16:54 +0000)]
code to defer an inferior rpc until syscall is complete

24 years agocode to defer an inferiorRPC until a syscall is complete
tamches [Tue, 1 Jul 1997 16:54:20 +0000 (16:54 +0000)]
code to defer an inferiorRPC until a syscall is complete

24 years agocode to defer an inferior rpc until syscall is completed
tamches [Tue, 1 Jul 1997 16:53:48 +0000 (16:53 +0000)]
code to defer an inferior rpc until syscall is completed

24 years agoadded define of NULL
tamches [Tue, 1 Jul 1997 16:53:14 +0000 (16:53 +0000)]
added define of NULL

24 years agodummy set_breakpoint_for_syscall_completion()
tamches [Tue, 1 Jul 1997 16:52:54 +0000 (16:52 +0000)]
dummy set_breakpoint_for_syscall_completion()

24 years agoextra arg to launchRPCifAppropriate
tamches [Tue, 1 Jul 1997 16:52:26 +0000 (16:52 +0000)]
extra arg to launchRPCifAppropriate

24 years agosmall fix to prev commit
tamches [Fri, 27 Jun 1997 22:22:15 +0000 (22:22 +0000)]
small fix to prev commit

24 years agoremoved some warnings
tamches [Fri, 27 Jun 1997 18:21:20 +0000 (18:21 +0000)]
removed some warnings

24 years agoadded a template
tamches [Fri, 27 Jun 1997 18:19:32 +0000 (18:19 +0000)]
added a template

24 years agoseveralResourceInfoCallback
tamches [Fri, 27 Jun 1997 18:18:51 +0000 (18:18 +0000)]
severalResourceInfoCallback

24 years agooptimized newResource. optimized some memory ops when parsing.
tamches [Fri, 27 Jun 1997 18:17:41 +0000 (18:17 +0000)]
optimized newResource.  optimized some memory ops when parsing.

24 years agooptimizations
tamches [Fri, 27 Jun 1997 18:16:33 +0000 (18:16 +0000)]
optimizations

24 years agonew template
tamches [Fri, 27 Jun 1997 18:15:51 +0000 (18:15 +0000)]
new template

24 years agooptimized newResource w.r.t. its igen behavior
tamches [Fri, 27 Jun 1997 18:15:39 +0000 (18:15 +0000)]
optimized newResource w.r.t. its igen behavior

24 years agonew param to newResource. send_now() is new.
tamches [Fri, 27 Jun 1997 18:15:08 +0000 (18:15 +0000)]
new param to newResource.  send_now() is new.

24 years agonew param to newResource
tamches [Fri, 27 Jun 1997 18:14:08 +0000 (18:14 +0000)]
new param to newResource

24 years agomk_list() is new. Code to exclude call sites from metric
tamches [Tue, 24 Jun 1997 19:59:23 +0000 (19:59 +0000)]
mk_list() is new.  Code to exclude call sites from metric
instantiation, as appropriate.

24 years agodummy mk_list()
tamches [Tue, 24 Jun 1997 19:57:25 +0000 (19:57 +0000)]
dummy mk_list()

24 years agomk_list() is new
tamches [Tue, 24 Jun 1997 19:56:52 +0000 (19:56 +0000)]
mk_list() is new

24 years agochanged msg for error #86
newhall [Tue, 24 Jun 1997 18:18:03 +0000 (18:18 +0000)]
changed msg for error #86

24 years agochanged exclude_node to exclude
newhall [Tue, 24 Jun 1997 17:13:19 +0000 (17:13 +0000)]
changed exclude_node to exclude

24 years agoAdded features to the dyninst API library, including an optional "else"
buck [Mon, 23 Jun 1997 19:15:33 +0000 (19:15 +0000)]
Added features to the dyninst API library, including an optional "else"
in a BPatch_ifExpr; the BPatch_setMutationsActive call to temporarily
disable all snippets; and the replaceFunctionCall and removeFunctionCall
member functions of BPatch_thread to retarget or NOOP out a function
call.

24 years agonil static member as an optimization
tamches [Mon, 23 Jun 1997 17:17:58 +0000 (17:17 +0000)]
nil static member as an optimization

24 years agoclass instPoint now in its own .h file
tamches [Mon, 23 Jun 1997 17:15:26 +0000 (17:15 +0000)]
class instPoint now in its own .h file

24 years agosome additional hash functions
tamches [Mon, 23 Jun 1997 17:13:40 +0000 (17:13 +0000)]
some additional hash functions

24 years agouse of dictionary find() as an optimization. Use of improved
tamches [Mon, 23 Jun 1997 17:13:25 +0000 (17:13 +0000)]
use of dictionary find() as an optimization.  Use of improved
hash functions (util.h) as an optimization

24 years agochanged some string params to references, as an optimization
tamches [Mon, 23 Jun 1997 17:11:37 +0000 (17:11 +0000)]
changed some string params to references, as an optimization

24 years agoinclude of instPoint is new
tamches [Mon, 23 Jun 1997 17:11:05 +0000 (17:11 +0000)]
include of instPoint is new

24 years agocheckReturnInstance takes a reference param; slight optimization
tamches [Mon, 23 Jun 1997 17:10:41 +0000 (17:10 +0000)]
checkReturnInstance takes a reference param; slight optimization

24 years agouse of dictionary find() as an optimization
tamches [Mon, 23 Jun 1997 17:10:15 +0000 (17:10 +0000)]
use of dictionary find() as an optimization

24 years agoenum opCode moved to ast.h, since it really has to do with ASTs.
tamches [Mon, 23 Jun 1997 17:09:54 +0000 (17:09 +0000)]
enum opCode moved to ast.h, since it really has to do with ASTs.

24 years agoclass instPoint moved to another file
tamches [Mon, 23 Jun 1997 17:06:48 +0000 (17:06 +0000)]
class instPoint moved to another file

24 years agoinclude of instPoint.h is new
tamches [Mon, 23 Jun 1997 17:06:29 +0000 (17:06 +0000)]
include of instPoint.h is new

24 years agoopCode moved into this file
tamches [Mon, 23 Jun 1997 17:06:09 +0000 (17:06 +0000)]
opCode moved into this file

24 years agoinstPointType moved to another file
tamches [Mon, 23 Jun 1997 17:05:44 +0000 (17:05 +0000)]
instPointType moved to another file

24 years agoslight changes to #include
tamches [Mon, 23 Jun 1997 17:05:07 +0000 (17:05 +0000)]
slight changes to #include

24 years agoused dictionary find() to achieve some speedup
tamches [Mon, 23 Jun 1997 17:04:36 +0000 (17:04 +0000)]
used dictionary find() to achieve some speedup

24 years agoremoved unnecessary OBJS
tamches [Mon, 23 Jun 1997 17:01:38 +0000 (17:01 +0000)]
removed unnecessary OBJS

24 years agoMinor change to adjust to aix.C not changing the leading "." of function names
ssuen [Thu, 19 Jun 1997 21:45:16 +0000 (21:45 +0000)]
Minor change to adjust to aix.C not changing the leading "." of function names
to "_" but instead just skipping the leading "."

24 years agoChanging the leading "." in function names to "_" was causing problems, so
ssuen [Thu, 19 Jun 1997 21:43:30 +0000 (21:43 +0000)]
Changing the leading "." in function names to "_" was causing problems, so
now we just skip the leading "."

24 years agoChanging "Visi" button to the place where it was before, but as a button
naim [Tue, 17 Jun 1997 20:51:41 +0000 (20:51 +0000)]
Changing "Visi" button to the place where it was before, but as a button
instead of as a menu - naim

24 years agoAdded support to solaris platforms to find the target of call instructions that
newhall [Tue, 17 Jun 1997 20:11:24 +0000 (20:11 +0000)]
Added support to solaris platforms to find the target of call instructions that
are in dynamic executables and shared objects and that are bound after startup
by the runtime linker (delayed binding).
Added process methods: findpdFunctionIn, hasBeenBound, findCallee

24 years ago*** empty log message ***
newhall [Tue, 17 Jun 1997 19:38:56 +0000 (19:38 +0000)]
*** empty log message ***

24 years agowe are no longer removing leading underscore from function names in
newhall [Tue, 17 Jun 1997 19:37:35 +0000 (19:37 +0000)]
we are no longer removing leading underscore from function names in
image::defineFunction

24 years agoadded Object.C
mjrg [Mon, 16 Jun 1997 22:09:39 +0000 (22:09 +0000)]
added Object.C

24 years agoFixed the problem of doing `delete this' with the following (original) line
ssuen [Mon, 16 Jun 1997 22:09:07 +0000 (22:09 +0000)]
Fixed the problem of doing `delete this' with the following (original) line
in function metricDefinitionNode::removeThisInstance
  aggregators[u]->removeFromAggregate(this);

24 years agoAdded `int deleteComp = 1' to end of argument list for function
ssuen [Mon, 16 Jun 1997 22:07:15 +0000 (22:07 +0000)]
Added `int deleteComp = 1' to end of argument list for function
  metricDefinitionNode::removeFromAggregate
to control whether or not to `delete' the `comp' argument.

24 years agochanged a delete to free() to fix a purify FMM hit
tamches [Mon, 16 Jun 1997 18:46:14 +0000 (18:46 +0000)]
changed a delete to free() to fix a purify FMM hit

24 years agodelete rpcBuffers[j]; to remove a memory leak
tamches [Mon, 16 Jun 1997 18:45:31 +0000 (18:45 +0000)]
delete rpcBuffers[j];   to remove a memory leak

24 years agoAdded comments to checkAndInstallInstrumentation()
tamches [Mon, 16 Jun 1997 18:11:10 +0000 (18:11 +0000)]
Added comments to checkAndInstallInstrumentation()

24 years agoChanged iPgetFunction and iPgetCallee to return const function_base *
ssuen [Sun, 15 Jun 1997 19:19:42 +0000 (19:19 +0000)]
Changed iPgetFunction and iPgetCallee to return const function_base *