dyninst.git
19 years agoC/C++ determination/reporting.
wylie [Tue, 20 Jun 2000 21:45:57 +0000 (21:45 +0000)]
C/C++ determination/reporting.

19 years agoStandardization of mutatee startup options.
wylie [Tue, 20 Jun 2000 21:45:29 +0000 (21:45 +0000)]
Standardization of mutatee startup options.
C/C++ determination/reporting.

19 years agoAdded missing retval type for gettimeofday
wylie [Thu, 15 Jun 2000 19:43:36 +0000 (19:43 +0000)]
Added missing retval type for gettimeofday

19 years agoClean-up Alpha processes on paradynd exit
paradyn [Thu, 15 Jun 2000 19:24:29 +0000 (19:24 +0000)]
Clean-up Alpha processes on paradynd exit

19 years agoNew Alpha-only template instantiations (moved from paradynd/src/templatesPD.C)
paradyn [Thu, 15 Jun 2000 18:56:11 +0000 (18:56 +0000)]
New Alpha-only template instantiations (moved from paradynd/src/templatesPD.C)

19 years agoRemoved new Alpha template instantiations (moved to dyninstAPI/src/templates1.C)
paradyn [Thu, 15 Jun 2000 18:55:05 +0000 (18:55 +0000)]
Removed new Alpha template instantiations (moved to dyninstAPI/src/templates1.C)

19 years agoOops! Corrected sense of string equality test when loading libdyninst
paradyn [Thu, 15 Jun 2000 17:45:47 +0000 (17:45 +0000)]
Oops!  Corrected sense of string equality test when loading libdyninst

19 years agoTidied definitions to avoid compiler warnings
paradyn [Thu, 15 Jun 2000 16:35:10 +0000 (16:35 +0000)]
Tidied definitions to avoid compiler warnings

19 years agoBuild problem/warnings
paradyn [Thu, 15 Jun 2000 15:24:44 +0000 (15:24 +0000)]
Build problem/warnings

19 years agoTidy in response to compiler warnings
wylie [Wed, 14 Jun 2000 23:05:23 +0000 (23:05 +0000)]
Tidy in response to compiler warnings

19 years agoTidy to remove compiler warnings
wylie [Wed, 14 Jun 2000 23:04:23 +0000 (23:04 +0000)]
Tidy to remove compiler warnings

19 years agoConsolidation of DYNINSTAPI_RT_LIB/PARADYN_LIB handling
wylie [Wed, 14 Jun 2000 23:03:21 +0000 (23:03 +0000)]
Consolidation of DYNINSTAPI_RT_LIB/PARADYN_LIB handling

19 years agoTidy up to take care of compiler warnings
wylie [Wed, 14 Jun 2000 23:01:53 +0000 (23:01 +0000)]
Tidy up to take care of compiler warnings

19 years agoPrototype tidy
wylie [Wed, 14 Jun 2000 23:01:29 +0000 (23:01 +0000)]
Prototype tidy

19 years agoIgnore cxx_repository
paradyn [Wed, 14 Jun 2000 22:51:57 +0000 (22:51 +0000)]
Ignore cxx_repository

19 years agoParadynd port to Alpha (and tidy)
paradyn [Wed, 14 Jun 2000 22:39:41 +0000 (22:39 +0000)]
Paradynd port to Alpha (and tidy)

19 years agoAlpha port
paradyn [Wed, 14 Jun 2000 22:36:27 +0000 (22:36 +0000)]
Alpha port

19 years agoAlpha port/tidy
paradyn [Wed, 14 Jun 2000 22:30:02 +0000 (22:30 +0000)]
Alpha port/tidy

19 years agoAlpha port
paradyn [Wed, 14 Jun 2000 22:28:46 +0000 (22:28 +0000)]
Alpha port

19 years agoTweaks for Alpha port
paradyn [Wed, 14 Jun 2000 22:26:48 +0000 (22:26 +0000)]
Tweaks for Alpha port

19 years agoStandard definitions for PDYN_div1000, PDYN_divMillion & PDYN_mulMillion
paradyn [Wed, 14 Jun 2000 22:24:01 +0000 (22:24 +0000)]
Standard definitions for PDYN_div1000, PDYN_divMillion & PDYN_mulMillion

19 years agoObsolete (for a long time!)
wylie [Sun, 11 Jun 2000 21:51:48 +0000 (21:51 +0000)]
Obsolete (for a long time!)

19 years agoIgnore mutatee build failures (often due to missing or unlicensed compilers)
paradyn [Fri, 9 Jun 2000 16:45:35 +0000 (16:45 +0000)]
Ignore mutatee build failures (often due to missing or unlicensed compilers)

19 years agoAdded <math.h> to define fabs.
paradyn [Fri, 9 Jun 2000 14:49:19 +0000 (14:49 +0000)]
Added <math.h> to define fabs.

19 years agoAdded workaround for x86 performance consultant stall problem.
pcroth [Thu, 8 Jun 2000 15:27:17 +0000 (15:27 +0000)]
Added workaround for x86 performance consultant stall problem.
Replaced RCS log spec with id.

19 years agoImplement branch around unneeded instrumentation slots on Alpha.
buck [Tue, 6 Jun 2000 00:37:13 +0000 (00:37 +0000)]
Implement branch around unneeded instrumentation slots on Alpha.

20 years agoStay attached to the child until it completes DYNINSTinit
mirg [Fri, 2 Jun 2000 17:25:43 +0000 (17:25 +0000)]
Stay attached to the child until it completes DYNINSTinit

20 years ago+ Set the address of the signal handler in the child to that of the parent
mirg [Fri, 2 Jun 2000 17:25:17 +0000 (17:25 +0000)]
+ Set the address of the signal handler in the child to that of the parent
+ Do not attach to the parent while handling fork() -- use
  kill(SIGSTOP) to stop and kill(SIGCONT) to continue the process.

20 years ago+ use writeDataSpace instead of writeTextSpace - no saving of the contents
nick [Wed, 31 May 2000 18:58:33 +0000 (18:58 +0000)]
+ use writeDataSpace instead of writeTextSpace - no saving of the contents
at the target location as we don't need to.

20 years agoupdates the daemon, util library, igen, dyninstAPI, and dyninstAPI test suite
schendel [Wed, 31 May 2000 18:32:36 +0000 (18:32 +0000)]
updates the daemon, util library, igen, dyninstAPI, and dyninstAPI test suite
to use the -fno-impilicit-templates flag instead of the -fexplicit-templates
flag, which is depracated.

20 years ago+ Fixed /proc/PID/maps reading code to handle 2.4's one-line-at-a-time
nick [Wed, 31 May 2000 18:01:02 +0000 (18:01 +0000)]
+ Fixed /proc/PID/maps reading code to handle 2.4's one-line-at-a-time
read behaviour.

20 years ago+ Fixed small logical typo
nick [Wed, 31 May 2000 17:59:18 +0000 (17:59 +0000)]
+ Fixed small logical typo

20 years agoClean up the test1 program:
jasonxie [Tue, 30 May 2000 15:01:39 +0000 (15:01 +0000)]
Clean up the test1 program:
  enable the mutator to discern mutatees built with C or C++ compilers

20 years agoline iformation for alpha-dec-osf4.0 and rs6000-ibm-aix4.2 platforms.
tikir [Wed, 24 May 2000 00:06:15 +0000 (00:06 +0000)]
line iformation for alpha-dec-osf4.0 and rs6000-ibm-aix4.2 platforms.

20 years agoline information for rs6000-ibm-aix4.2 and alpha-dec-osf4.0 platforms.
tikir [Wed, 24 May 2000 00:04:53 +0000 (00:04 +0000)]
line information for rs6000-ibm-aix4.2 and alpha-dec-osf4.0  platforms.

20 years agoDo not launch the 'RPCthread' since our catchup instrumentation is smart enough
zhichen [Mon, 22 May 2000 15:12:55 +0000 (15:12 +0000)]
Do not launch the 'RPCthread' since our catchup instrumentation is smart enough
to avoid interleaving instrumentation

20 years agoFixed the bug that the 'visi' freezes when a process terminates
zhichen [Mon, 22 May 2000 15:11:43 +0000 (15:11 +0000)]
Fixed the bug that the 'visi' freezes when a process terminates

20 years agoRemove bogus mmap failure case
zandy [Tue, 16 May 2000 18:10:15 +0000 (18:10 +0000)]
Remove bogus mmap failure case

20 years agoCorrected length of address strings (to include terminating null) Release3_0
wylie [Tue, 16 May 2000 01:31:48 +0000 (01:31 +0000)]
Corrected length of address strings (to include terminating null)

20 years agoNew symbol comparison function which prefers global symbols
mirg [Tue, 16 May 2000 01:12:40 +0000 (01:12 +0000)]
New symbol comparison function which prefers global symbols
over local ones and local symbols over weak ones.

20 years agoFixed #if logic for stop_process
paradyn [Mon, 15 May 2000 16:35:18 +0000 (16:35 +0000)]
Fixed #if logic for stop_process

20 years agoMake detach-on-the-fly play nicely with BPatch_thread::detach
zandy [Sun, 14 May 2000 20:39:25 +0000 (20:39 +0000)]
Make detach-on-the-fly play nicely with BPatch_thread::detach

20 years agoToplevel make.config DETACH_ON_THE_FLY define now interpreted
zandy [Sun, 14 May 2000 19:02:52 +0000 (19:02 +0000)]
Toplevel make.config DETACH_ON_THE_FLY define now interpreted

20 years agoDetach-on-the-fly bugfix for syscall/inferior RPC waiting.
zandy [Sun, 14 May 2000 19:02:28 +0000 (19:02 +0000)]
Detach-on-the-fly bugfix for syscall/inferior RPC waiting.

20 years agoSimple MPICH applications do not contain the PMPI_Pack_size()
mirg [Sun, 14 May 2000 18:36:22 +0000 (18:36 +0000)]
Simple MPICH applications do not contain the PMPI_Pack_size()
routine, which we use to determine the size of messages being
transferred. In these cases, we will use our own PMPI_Pack_size(),
which is fairly accurate for standard MPI types.

20 years ago+ Occasionaly, the frontend started MPI-flavored paradyn daemons
mirg [Sun, 14 May 2000 18:35:37 +0000 (18:35 +0000)]
+ Occasionaly, the frontend started MPI-flavored paradyn daemons
  on a local host through a remote shell -- host names were not
  resolved properly.
+ Changed the default remote shell for MPICH applications from "ssh"
  to "rsh".

20 years agoConditionized debug/trace info on TABLE_DEBUG build flag.
wylie [Fri, 12 May 2000 23:24:31 +0000 (23:24 +0000)]
Conditionized debug/trace info on TABLE_DEBUG build flag.

20 years agoFix dlopen failures for Linux detach-on-the-fly
zandy [Fri, 12 May 2000 20:54:21 +0000 (20:54 +0000)]
Fix dlopen failures for Linux detach-on-the-fly

20 years agoThis commit addresses three MIPS-specific stack-walk issues:
chambrea [Fri, 12 May 2000 17:30:24 +0000 (17:30 +0000)]
This commit addresses three MIPS-specific stack-walk issues:

1) Identifying function frame sizes for functions whose frame size
is larger than 2^16.

2) Identifying whether the stack frame of the current function is active
in the case when the pc is within instrumentation at a function exit
point.

3) Correctly representing the Frame object fp_ value so that error
checking can be appropriately performed.

20 years agoAdd detach-on-the-fly for Linux
zandy [Thu, 11 May 2000 04:52:09 +0000 (04:52 +0000)]
Add detach-on-the-fly for Linux

20 years agoThread support for sol2.7
zhichen [Fri, 5 May 2000 15:18:17 +0000 (15:18 +0000)]
Thread support for sol2.7

20 years agoThis commit adds two new commands to dyner command set: listinst, deleteinst.
altinel [Thu, 4 May 2000 19:24:23 +0000 (19:24 +0000)]
This commit adds two new commands to dyner command set: listinst, deleteinst.
With listinst you can look at all the instrumentation points, and the deleteinst
command removes inserted code from the mutatee.

Mehmet

20 years agoIn test1, test case 42 and 43 are to test instrutmenting standard C++
jasonxie [Thu, 4 May 2000 18:19:39 +0000 (18:19 +0000)]
In test1, test case 42 and 43 are to test instrutmenting standard C++
library. test 44 is to test C++ member functions(pure virtual,
virtual, constant and inline functions).

20 years agoRemoved extra debugging line left over from previous commit.
bernat [Thu, 4 May 2000 18:05:24 +0000 (18:05 +0000)]
Removed extra debugging line left over from previous commit.

20 years agoIBM xlC hackery and activation of test#31 for rs6000-ibm-aix4.1
paradyn [Tue, 2 May 2000 19:54:39 +0000 (19:54 +0000)]
IBM xlC hackery and activation of test#31 for rs6000-ibm-aix4.1

20 years agoAdded C++ mutatee builds (and switched native cc to xlc)
paradyn [Tue, 2 May 2000 19:48:10 +0000 (19:48 +0000)]
Added C++ mutatee builds (and switched native cc to xlc)

20 years agocxx apparently was looking at the ".c" mutatee extension and deciding to
paradyn [Mon, 1 May 2000 21:19:14 +0000 (21:19 +0000)]
cxx apparently was looking at the ".c" mutatee extension and deciding to
compile as C instead of C++ -- the "-x cxx" should convince it otherwise.

20 years agoEnabled test 1.31 for Solaris/x86, Linux/x86, and NT 4.0.
mihai [Mon, 1 May 2000 17:35:21 +0000 (17:35 +0000)]
Enabled test 1.31 for Solaris/x86, Linux/x86, and NT 4.0.

20 years agoImplemented base trampoline guard code for Solaris/x86, Linux/x86, and NT 4.0.
mihai [Mon, 1 May 2000 17:33:42 +0000 (17:33 +0000)]
Implemented base trampoline guard code for Solaris/x86, Linux/x86, and NT 4.0.

20 years agoCorrected format of comment -- oops!
wylie [Mon, 1 May 2000 14:32:33 +0000 (14:32 +0000)]
Corrected format of comment -- oops!

20 years agoRe-enabled C++ tests 40 & 41;
wylie [Sun, 30 Apr 2000 22:54:30 +0000 (22:54 +0000)]
Re-enabled C++ tests 40 & 41;
Partial sanitization by reducing propensity for null pointer de-referencing.

20 years agoRe-enabled C++ tests 40 & 41
wylie [Sun, 30 Apr 2000 22:52:32 +0000 (22:52 +0000)]
Re-enabled C++ tests 40 & 41
Added hack to keep call24_1() instru'ble when compiled by g++

20 years agoThis update fixes the problems about C++ support at mutatee programs
altinel [Fri, 28 Apr 2000 23:13:32 +0000 (23:13 +0000)]
This update fixes the problems about C++ support at mutatee programs
that Jason reported last week. However, test 24 still fails as call24_1
function is classified as uninstrumentable and hence can not be found.
We are working on this problem. In test 26 (struct elements test), number
of fields are not checked any more since C++ compilers might add some
extra fields to structures.

Mehmet

20 years agoInitial MPI-related instrumentation added (x86-solaris)
mirg [Fri, 28 Apr 2000 22:43:04 +0000 (22:43 +0000)]
Initial MPI-related instrumentation added (x86-solaris)

20 years agoAdding one more process to a set of running ones set it running, but
mirg [Fri, 28 Apr 2000 22:42:39 +0000 (22:42 +0000)]
Adding one more process to a set of running ones set it running, but
did not properly reflect this fact in daemon structures. The daemon
did not report internal metrics in this case.

20 years agoHandle the case when multiple daemons run on the same node. Not the
mirg [Fri, 28 Apr 2000 22:39:20 +0000 (22:39 +0000)]
Handle the case when multiple daemons run on the same node. Not the
proper solution, but works ok.

20 years ago+ new readDataSpace_, writeDataSpace_ ptrace-based functions
mirg [Fri, 28 Apr 2000 22:37:45 +0000 (22:37 +0000)]
+ new readDataSpace_, writeDataSpace_ ptrace-based functions
  provided by Vic. Old ones did not work reliably, because of strange
  /proc failures.
+ Stop a process before detaching from it and continue if necessary
  after that. Otherwise, ptrace'ing a running process fails.
+ Check the return value when reading from /proc/*/stat. Otherwise,
  failures result in allocating all available memory and throwing
  bad_alloc exception.

20 years agoTidy-up
paradyn [Fri, 28 Apr 2000 20:40:17 +0000 (20:40 +0000)]
Tidy-up

20 years agoApparently long-obsolete file
paradyn [Fri, 28 Apr 2000 20:37:24 +0000 (20:37 +0000)]
Apparently long-obsolete file

20 years agoFixed a section where we were assuming that argv[] contained the environment
bernat [Thu, 27 Apr 2000 21:55:35 +0000 (21:55 +0000)]
Fixed a section where we were assuming that argv[] contained the environment
of the process as well as command line arguments. We now use getenv.

20 years agoAdded warning message when encountering invalid group values. This
chambrea [Thu, 27 Apr 2000 21:49:23 +0000 (21:49 +0000)]
Added warning message when encountering invalid group values.  This
situation should not occur, due to the recent commit protecting against
triggering catch-up instrumentation that references function arguments.

20 years agoAdded warning message when encountering invalid group values. This
chambrea [Thu, 27 Apr 2000 21:48:27 +0000 (21:48 +0000)]
Added warning message when encountering invalid group values.  This
situation should be occur, due to the recent commit protecting against
triggering catch-up instrumentation that references function arguments.

20 years agoAdded an error and assert(0) when we fail to lookup the host
bernat [Thu, 27 Apr 2000 19:12:54 +0000 (19:12 +0000)]
Added an error and assert(0) when we fail to lookup the host
the paradyn front end is running on.

20 years agoUpdated RELEASE_NUM
paradyn [Thu, 27 Apr 2000 19:09:28 +0000 (19:09 +0000)]
Updated RELEASE_NUM

20 years agoUpdated to use new socket callback mechanism for Windows NT thread library,
pcroth [Wed, 26 Apr 2000 18:12:59 +0000 (18:12 +0000)]
Updated to use new socket callback mechanism for Windows NT thread library,
put in place to avoid front-end stall problem where data would be
available on a socket but the thread library wouldn't detect the data.

20 years agoAdded support for socket state callbacks to support changes in thread
pcroth [Wed, 26 Apr 2000 18:10:52 +0000 (18:10 +0000)]
Added support for socket state callbacks to support changes in thread
library's "select" mechanism under Windows NT.

20 years agoThis commit added a test, and skips catchup if it accesses parameter
zhichen [Wed, 26 Apr 2000 16:37:18 +0000 (16:37 +0000)]
This commit added a test, and skips catchup if it accesses parameter

20 years agouse the same rounding mechanism for determining process time via a jiffies per sec...
schendel [Tue, 25 Apr 2000 21:34:44 +0000 (21:34 +0000)]
use the same rounding mechanism for determining process time via a jiffies per sec value as in the rtinst library

20 years agodetermine jiffies/sec from one cpu idle time instead of cumulative idle time
schendel [Tue, 25 Apr 2000 21:33:27 +0000 (21:33 +0000)]
determine jiffies/sec from one cpu idle time instead of cumulative idle time
round the jiffies/sec in a consistent way as the daemon

20 years agoOne more fixup attempt
wylie [Mon, 24 Apr 2000 15:19:32 +0000 (15:19 +0000)]
One more fixup attempt

20 years agoFix-up MUTLIBS
wylie [Mon, 24 Apr 2000 15:06:53 +0000 (15:06 +0000)]
Fix-up MUTLIBS

20 years agoSanitization of mutatee MABIs
wylie [Mon, 24 Apr 2000 03:51:08 +0000 (03:51 +0000)]
Sanitization of mutatee MABIs

20 years agoReplaced mutatee -ldl with MUTLIBS;
wylie [Mon, 24 Apr 2000 03:22:19 +0000 (03:22 +0000)]
Replaced mutatee -ldl with MUTLIBS;
Added PGI C/C++ mutatee compilers (as "native")

20 years agoConditional definition of MUTLIBS for mutatees
wylie [Mon, 24 Apr 2000 03:19:36 +0000 (03:19 +0000)]
Conditional definition of MUTLIBS for mutatees

20 years agoAdded MUTLIBS for mutatees
wylie [Mon, 24 Apr 2000 03:18:48 +0000 (03:18 +0000)]
Added MUTLIBS for mutatees

20 years agoTidy-up of mutate name handling
wylie [Mon, 24 Apr 2000 02:51:18 +0000 (02:51 +0000)]
Tidy-up of mutate name handling

20 years agoTidy-up of mutatee name handling
wylie [Mon, 24 Apr 2000 02:50:58 +0000 (02:50 +0000)]
Tidy-up of mutatee name handling

20 years agoSanitized the mutatee builds, adding missing C/C++ mutatee builds
wylie [Mon, 24 Apr 2000 02:37:32 +0000 (02:37 +0000)]
Sanitized the mutatee builds, adding missing C/C++ mutatee builds

20 years agoAdded NATIVE_CXX and GNU_CXX mutatee builds
wylie [Mon, 24 Apr 2000 02:35:56 +0000 (02:35 +0000)]
Added NATIVE_CXX and GNU_CXX mutatee builds

20 years agoFixed build warnings
wylie [Mon, 24 Apr 2000 02:33:19 +0000 (02:33 +0000)]
Fixed build warnings

20 years agoChanged type-size inconsistency message into a BPatchWarning
wylie [Mon, 24 Apr 2000 02:31:43 +0000 (02:31 +0000)]
Changed type-size inconsistency message into a BPatchWarning

20 years agoConditionalized type tracing
wylie [Mon, 24 Apr 2000 02:29:33 +0000 (02:29 +0000)]
Conditionalized type tracing

20 years agoAdded native and GNU C++ compilers
paradyn [Mon, 24 Apr 2000 00:47:40 +0000 (00:47 +0000)]
Added native and GNU C++ compilers

20 years agoFixed build problems
wylie [Mon, 24 Apr 2000 00:37:41 +0000 (00:37 +0000)]
Fixed build problems

20 years agoRe-organized conditional compilation guards to allow WinNT build
paradyn [Fri, 21 Apr 2000 14:35:35 +0000 (14:35 +0000)]
Re-organized conditional compilation guards to allow WinNT build

20 years agoredirect the trace socket to /dev/null upon mpi_fork()
mirg [Thu, 20 Apr 2000 22:50:59 +0000 (22:50 +0000)]
redirect the trace socket to /dev/null upon mpi_fork()

20 years ago+ mpi_fork instrumentation
mirg [Thu, 20 Apr 2000 22:50:25 +0000 (22:50 +0000)]
+ mpi_fork instrumentation
+ do not crash on negative hash indices in DYNINSTTGroup_FindUniqueId

20 years agodo not set the stop-on-fork flag for MPI applications (!BPATCH_LIB)
mirg [Thu, 20 Apr 2000 22:48:28 +0000 (22:48 +0000)]
do not set the stop-on-fork flag for MPI applications (!BPATCH_LIB)

20 years agoAdded instMPI() - MPI-related instrumentation. Since it is the same
mirg [Thu, 20 Apr 2000 22:45:45 +0000 (22:45 +0000)]
Added instMPI() - MPI-related instrumentation. Since it is the same
on all platforms we could call it on AIX and IRIX as well, instead
of inlining the same code in init-*.C

20 years agompi flavor only:
mirg [Thu, 20 Apr 2000 22:43:57 +0000 (22:43 +0000)]
mpi flavor only:
      instrument MPI functions
      instrument fork() to perform cleanup/detach
      do not instrument exec() at all