dyninst.git
21 years agoadditions to the header files for line information on sparc solaris platform
tikir [Tue, 14 Mar 2000 22:28:45 +0000 (22:28 +0000)]
additions to the header files for line information on sparc solaris platform
It addes the new container class BPatch_Set.

21 years agoFixed assort small hangs on Alpha.
hollings [Tue, 14 Mar 2000 00:49:21 +0000 (00:49 +0000)]
Fixed assort small hangs on Alpha.

21 years agoSeveral enhancements to dyner. Development is still in progres....
altinel [Tue, 14 Mar 2000 00:26:54 +0000 (00:26 +0000)]
Several enhancements to dyner. Development is still in progres....

Mehmet Altinel

21 years agoCorrected TARGETS
paradyn [Mon, 13 Mar 2000 16:23:57 +0000 (16:23 +0000)]
Corrected TARGETS

21 years agoCorrected test4 mutatee targetlists
paradyn [Mon, 13 Mar 2000 16:06:25 +0000 (16:06 +0000)]
Corrected test4 mutatee targetlists

21 years agoFixe compiler warning on mips.
hollings [Mon, 13 Mar 2000 04:22:34 +0000 (04:22 +0000)]
Fixe compiler warning on mips.

21 years agoRmoved extra SRCS macro.
hollings [Mon, 13 Mar 2000 00:17:48 +0000 (00:17 +0000)]
Rmoved extra SRCS macro.

21 years agoAdded stdin, stdout, stderr, file descriptors.
hollings [Sun, 12 Mar 2000 23:31:01 +0000 (23:31 +0000)]
Added stdin, stdout, stderr, file descriptors.

21 years agoAdded code for vfork tracking.
hollings [Sun, 12 Mar 2000 23:30:16 +0000 (23:30 +0000)]
Added code for vfork tracking.

21 years agoAdded test case 1.29.
hollings [Sun, 12 Mar 2000 23:28:27 +0000 (23:28 +0000)]
Added test case 1.29.
Added test cast 4.*
Added extra ignores for gcc and cc compiled files.

21 years agofork/exec/exit Callbacks.
hollings [Sun, 12 Mar 2000 23:27:14 +0000 (23:27 +0000)]
fork/exec/exit Callbacks.
New code for redirecting stdin, stdout, stderr.

21 years agoAdded srcObject and fork/exec/exit callbacks.
hollings [Sun, 12 Mar 2000 23:26:04 +0000 (23:26 +0000)]
Added srcObject and fork/exec/exit callbacks.

21 years agoUpdate error 102 (shmget/at failure)
wylie [Sun, 12 Mar 2000 22:38:02 +0000 (22:38 +0000)]
Update error 102 (shmget/at failure)

21 years agoTidy
wylie [Sun, 12 Mar 2000 22:29:47 +0000 (22:29 +0000)]
Tidy

21 years agoTidied-up shmget() error value handing.
wylie [Sun, 12 Mar 2000 22:26:56 +0000 (22:26 +0000)]
Tidied-up shmget() error value handing.

21 years agoType correction
wylie [Sun, 12 Mar 2000 22:25:17 +0000 (22:25 +0000)]
Type correction

21 years agoTidy
wylie [Sun, 12 Mar 2000 22:23:34 +0000 (22:23 +0000)]
Tidy

21 years agoMoved and updated definitions of per-process maximum number of counters and
wylie [Sun, 12 Mar 2000 22:20:45 +0000 (22:20 +0000)]
Moved and updated definitions of per-process maximum number of counters and
timers, used when determining size of paradynd's shared memory segments.
Originally 10000 (of each), and recently increased to 51200, maxima are
reduced once more to 12800 (for non-threaded case) so that segment sizes
are less than the OS-configurable default of 1MB.

21 years agoTidy
wylie [Sun, 12 Mar 2000 22:11:40 +0000 (22:11 +0000)]
Tidy

21 years agoIgnore the mutatees and libtests
paradyn [Thu, 9 Mar 2000 17:02:54 +0000 (17:02 +0000)]
Ignore the mutatees and libtests

21 years agoAdd a save of the stack pointer to provide access to local variables
hollings [Thu, 9 Mar 2000 16:31:27 +0000 (16:31 +0000)]
Add a save of the stack pointer to provide access to local variables
from either gcc or DEC compiler.

21 years agoFix alpha bugs related to attach and naitive compile use.
hollings [Thu, 9 Mar 2000 16:30:31 +0000 (16:30 +0000)]
Fix alpha bugs related to attach and naitive compile use.

21 years agoAdded dependencies for Types.obj file.
pcroth [Wed, 8 Mar 2000 17:20:16 +0000 (17:20 +0000)]
Added dependencies for Types.obj file.

21 years agoExorcised obsolete/inappropriate blizzard_memory.h dependencies
paradyn [Tue, 7 Mar 2000 17:41:37 +0000 (17:41 +0000)]
Exorcised obsolete/inappropriate blizzard_memory.h dependencies

21 years agoAdded (missing) Types module
paradyn [Tue, 7 Mar 2000 16:19:15 +0000 (16:19 +0000)]
Added (missing) Types module

21 years agoObsolete
wylie [Tue, 7 Mar 2000 00:33:30 +0000 (00:33 +0000)]
Obsolete

21 years agoAdded Id
wylie [Tue, 7 Mar 2000 00:27:52 +0000 (00:27 +0000)]
Added Id

21 years agoSeparated interfaces to remote warnings
wylie [Tue, 7 Mar 2000 00:20:13 +0000 (00:20 +0000)]
Separated interfaces to remote warnings

21 years agoMoved /Process hierarchy to /Machine hierarchy.
zhichen [Mon, 6 Mar 2000 21:41:10 +0000 (21:41 +0000)]
Moved /Process hierarchy to /Machine hierarchy.

21 years agoNew variable, DYNINSThasInitialized. For checking presence of pre-linked
zandy [Mon, 6 Mar 2000 21:30:35 +0000 (21:30 +0000)]
New variable, DYNINSThasInitialized.  For checking presence of pre-linked
runtime inst library in inferior process during parsing.

21 years agoCheck for presence of pre-linked runtime inst library in inferior process
zandy [Mon, 6 Mar 2000 21:30:07 +0000 (21:30 +0000)]
Check for presence of pre-linked runtime inst library in inferior process
during parsing.

21 years agoRemoved extraneous load instruction in trampoline guard.
bernat [Mon, 6 Mar 2000 17:34:55 +0000 (17:34 +0000)]
Removed extraneous load instruction in trampoline guard.

21 years agoMade MT_THREAD and non-MT_THREAD calls consistent for postRPCtoDo, etc.
paradyn [Mon, 6 Mar 2000 16:46:53 +0000 (16:46 +0000)]
Made MT_THREAD and non-MT_THREAD calls consistent for postRPCtoDo, etc.

21 years agoNew files for x86 dynamic heaps.
zandy [Sun, 5 Mar 2000 15:44:25 +0000 (15:44 +0000)]
New files for x86 dynamic heaps.

21 years agoDynamic heaps for x86 solaris and linux. Isolate SVR4 specific heap code
zandy [Sat, 4 Mar 2000 01:30:26 +0000 (01:30 +0000)]
Dynamic heaps for x86 solaris and linux.  Isolate SVR4 specific heap code
from RTheap.c.

21 years agoDynamic heaps for x86 Solaris and Linux, bug fixes
zandy [Sat, 4 Mar 2000 01:29:21 +0000 (01:29 +0000)]
Dynamic heaps for x86 Solaris and Linux, bug fixes

21 years agoNew dynamic heap features and bug fixes
zandy [Sat, 4 Mar 2000 01:26:22 +0000 (01:26 +0000)]
New dynamic heap features and bug fixes

21 years agoMore aggressive dynamic heap testing in test 12
zandy [Sat, 4 Mar 2000 01:25:42 +0000 (01:25 +0000)]
More aggressive dynamic heap testing in test 12

21 years agoEnable dynamic heaps on x86-Solaris and Linux
zandy [Sat, 4 Mar 2000 01:25:20 +0000 (01:25 +0000)]
Enable dynamic heaps on x86-Solaris and Linux
Add low memory heap buffer for inferiorRPCs of DYNINSTos_malloc
Dynamic heap bugs fixes

21 years agoEnable dynamic heaps on x86-Solaris and Linux
zandy [Sat, 4 Mar 2000 01:24:16 +0000 (01:24 +0000)]
Enable dynamic heaps on x86-Solaris and Linux

21 years ago - DYNINSTfork did not send one field(ptr_size) over the
mirg [Fri, 3 Mar 2000 22:09:53 +0000 (22:09 +0000)]
- DYNINSTfork did not send one field(ptr_size) over the
  tracelink, while the daemon expected to receive it.
- DYNINSTexecFailed reset errno back to zero. Now it is saved and
  restored.

21 years ago - Added an alias for the initial instrumentation of fork
mirg [Fri, 3 Mar 2000 22:09:09 +0000 (22:09 +0000)]
- Added an alias for the initial instrumentation of fork

21 years ago - Added several aliases for the initial instrumentation of
mirg [Fri, 3 Mar 2000 22:08:53 +0000 (22:08 +0000)]
- Added several aliases for the initial instrumentation of
  fork and execve
- Created new AstNodes for each instrumentation request

21 years ago - baseTable::addRows did not increment the numberOfRows for the
mirg [Fri, 3 Mar 2000 22:08:30 +0000 (22:08 +0000)]
- baseTable::addRows did not increment the numberOfRows for the
  non-threaded version.

21 years ago - The process structure for a child did not copy a thread structure
mirg [Fri, 3 Mar 2000 22:06:57 +0000 (22:06 +0000)]
- The process structure for a child did not copy a thread structure
  from the parent.
- Unlike other platforms i386_unknown_solaris2_5 did not
  instrument the main entry point. It used RPC to call DYNINSTinit, but
  failed to stop at the beginning of main. Changed to use the same
  mechanism as on other platforms. The dyninst library is not affected.
- Do not close the ioLink upon a process termination since it
  might be used by its children. Hope that the operating system
  will close this link when no processes are left around
- execlp() may call execve() repeatedly until it succeeds. We could
  not handle the second exec due to the failing assertion.

21 years ago - Properly handled the case when we read less than we expected
mirg [Fri, 3 Mar 2000 22:06:23 +0000 (22:06 +0000)]
- Properly handled the case when we read less than we expected
  from /proc/$pid/mem

21 years agoChange for place holder for new semantics of pre/post insn inst at function
hollings [Thu, 2 Mar 2000 23:49:24 +0000 (23:49 +0000)]
Change for place holder for new semantics of pre/post insn inst at function
entry and exit.

21 years agoM dyninstAPI/src/inst-mips.C
mihai [Thu, 2 Mar 2000 23:25:04 +0000 (23:25 +0000)]
M dyninstAPI/src/inst-mips.C
M dyninstAPI/src/tramp-mips.S

This commit includes the changes necessary for the base trampoline
recursive guard on IRIX.

There are two base trampolines in tramp-mips.C, one without the guard
code and one with the guard code. The base trampoling with the guard
code has its labels prefixed with "baseNonRecursiveTramp" (as opposed
to "baseTramp"). The guard code is position among the following labels
inside the base tramp:

baseNonRecursiveTramp_guardOnPre_begin
...
baseNonRecursiveTramp_guardOnPre_end

baseNonRecursiveTramp_guardOffPre_begin
...
baseNonRecursiveTramp_guardOffPre_end

baseNonRecursiveTramp_guardOnPost_begin
...
baseNonRecursiveTramp_guardOnPost_end

baseNonRecursiveTramp_guardOffPost_begin
...
baseNonRecursiveTramp_guardOffPost_end

The tramp-mips.S file contains a more complete description of the base
tramp layout.

In inst-mips.C, the function installBaseTramp() has an extra argument
(bool trampRecursiveDesired) that default to false. If set to true,
installBaseTramp() will use the standard base template. If set to
false [default], installBaseTramp() will use the non recursive base
tramp.

Also, in inst-mips.C, there is a new base template class to reflect
the above label offsets in the non recursive base trampoline. This
class is called NonRecursiveTrampTemplate, it inherits from
trampTemplate:

class NonRecursiveTrampTemplate : public trampTemplate
{
  ...
};

An object of type NonRecursiveTrampTemplate is currently initialized
inside initTramps(), and used inside installBaseTramp().

If things do not work, please email mihai@cs.wisc.edu.

21 years agoReplace stub isRunning in aix.C with a functional version.
bernat [Thu, 2 Mar 2000 20:54:05 +0000 (20:54 +0000)]
Replace stub isRunning in aix.C with a functional version.

21 years agoCorrected Dyninst compile error with previous commit.
chambrea [Thu, 2 Mar 2000 20:11:27 +0000 (20:11 +0000)]
Corrected Dyninst compile error with previous commit.

21 years agoAdded initial mappings to MPI functions to gather data and group data.
chambrea [Thu, 2 Mar 2000 18:39:58 +0000 (18:39 +0000)]
Added initial mappings to MPI functions to gather data and group data.

21 years agoCleaned up IRIX-MPI mpirun command-line parsing.
chambrea [Thu, 2 Mar 2000 18:38:56 +0000 (18:38 +0000)]
Cleaned up IRIX-MPI mpirun command-line parsing.

21 years agoAdded code to ensure that the application/paradynd trace connection
chambrea [Thu, 2 Mar 2000 18:37:53 +0000 (18:37 +0000)]
Added code to ensure that the application/paradynd trace connection
is correctly established.

21 years agoAdded support to allow MDL access to function arguments after the 8th argument
chambrea [Thu, 2 Mar 2000 18:36:29 +0000 (18:36 +0000)]
Added support to allow MDL access to function arguments after the 8th argument
by accessing arguments off the stack.

21 years agoSome minor fixes to get local variables type info and to generate COFF stab info
altinel [Wed, 1 Mar 2000 15:44:59 +0000 (15:44 +0000)]
Some minor fixes to get local variables type info and to generate COFF stab info
on alpha platform with gcc 2.95.1.

Mehmet, 3/1/00

21 years agoFinally fixed the broken tests on AIX.
bernat [Fri, 25 Feb 2000 17:16:03 +0000 (17:16 +0000)]
Finally fixed the broken tests on AIX.

Added a member vrble to the process object which tracks the location
of the trampoline guard flag. This had been global, which creates problems
if multiple processes are being run by Dyninst/Paradyn. This fixes
those problems.

21 years agoFixes problem with the recursive trampoline guards that was causing
bernat [Wed, 23 Feb 2000 22:54:07 +0000 (22:54 +0000)]
Fixes problem with the recursive trampoline guards that was causing
the Dyninst tests to fail.

21 years agoFixed format problem
paradyn [Wed, 23 Feb 2000 15:27:02 +0000 (15:27 +0000)]
Fixed format problem

21 years agoAdds support for use of shared memory sampling on Windows NT platform.
pcroth [Tue, 22 Feb 2000 23:11:17 +0000 (23:11 +0000)]
Adds support for use of shared memory sampling on Windows NT platform.

21 years agoAdds support for use of shared memory sampling with Paradyn on Windows NT
pcroth [Tue, 22 Feb 2000 23:10:01 +0000 (23:10 +0000)]
Adds support for use of shared memory sampling with Paradyn on Windows NT
platform.

21 years agoAs part of adding shared memory sampling support for Windows NT, updated to
pcroth [Tue, 22 Feb 2000 23:05:14 +0000 (23:05 +0000)]
As part of adding shared memory sampling support for Windows NT, updated to
satisfy quirks of the Visual C++ compiler.

21 years agoAdds support for iostreams-style output of Microsoft's __int64 data type.
pcroth [Tue, 22 Feb 2000 23:03:57 +0000 (23:03 +0000)]
Adds support for iostreams-style output of Microsoft's __int64 data type.

21 years agoUpdated a test so that an axis is resized only if an observed value for
pcroth [Tue, 22 Feb 2000 21:17:12 +0000 (21:17 +0000)]
Updated a test so that an axis is resized only if an observed value for
the curve is greater than the current maximum on the axis.  (Formerly,
it resized if the max of the new values was different from the current
axis max.)

21 years agoUpdated to fix build problems with changes in files from util to dyninst library
pcroth [Mon, 21 Feb 2000 20:12:11 +0000 (20:12 +0000)]
Updated to fix build problems with changes in files from util to dyninst library

21 years agoRelocated from util/h along with other Object-handling files
paradyn [Mon, 21 Feb 2000 19:02:56 +0000 (19:02 +0000)]
Relocated from util/h along with other Object-handling files

21 years agoRelocated to dyninstAPI/src along with other Object handling files
paradyn [Mon, 21 Feb 2000 18:58:15 +0000 (18:58 +0000)]
Relocated to dyninstAPI/src along with other Object handling files

21 years agoLast round of fixups for mips and sparc for the tramp recursion guard.
bernat [Mon, 21 Feb 2000 15:04:09 +0000 (15:04 +0000)]
Last round of fixups for mips and sparc for the tramp recursion guard.

21 years agoFurther fixups.
bernat [Fri, 18 Feb 2000 21:03:12 +0000 (21:03 +0000)]
Further fixups.

21 years agoFixup.
bernat [Fri, 18 Feb 2000 20:59:30 +0000 (20:59 +0000)]
Fixup.

21 years agoDisabled the WALLTIME_* workarounds.
bernat [Fri, 18 Feb 2000 20:41:48 +0000 (20:41 +0000)]
Disabled the WALLTIME_* workarounds.

21 years agoSet Paradyn to always enable trampoline recursion guards.
bernat [Fri, 18 Feb 2000 20:41:17 +0000 (20:41 +0000)]
Set Paradyn to always enable trampoline recursion guards.

21 years agoAdded trampoline guards, both arch-independent code and AIX/Power code.
bernat [Fri, 18 Feb 2000 20:40:51 +0000 (20:40 +0000)]
Added trampoline guards, both arch-independent code and AIX/Power code.

21 years agoConditionalized building of ParadynMT components
paradyn [Wed, 16 Feb 2000 23:57:57 +0000 (23:57 +0000)]
Conditionalized building of ParadynMT components

21 years agoMoved Object-* from util to dyninstAPI.
hollings [Tue, 15 Feb 2000 23:56:21 +0000 (23:56 +0000)]
Moved Object-* from util to dyninstAPI.

21 years agoMoved Object-* files from util to dyninstAPI
hollings [Tue, 15 Feb 2000 23:54:21 +0000 (23:54 +0000)]
Moved Object-* files from util to dyninstAPI

21 years agoMoved files from util to dyninstAPI.
hollings [Tue, 15 Feb 2000 23:53:09 +0000 (23:53 +0000)]
Moved files from util to dyninstAPI.

21 years agoMoved Object-* files from util to dyninstAPI
hollings [Tue, 15 Feb 2000 23:47:54 +0000 (23:47 +0000)]
Moved Object-* files from util to dyninstAPI
Extracted BPatch_function from BPatch_snipet (both .h and .C)

21 years agoAdded trampRecursive support.
bernat [Tue, 15 Feb 2000 22:22:57 +0000 (22:22 +0000)]
Added trampRecursive support.

bool trampRecursiveOn;
bool isTrampRecursive();
bool setTrampRecursive();

21 years agoAdded trampRecursive support (defaults to false in constructor).
bernat [Tue, 15 Feb 2000 22:22:10 +0000 (22:22 +0000)]
Added trampRecursive support (defaults to false in constructor).

21 years agoDynamically locate stack boundaries for safe dynamic heap allocation
zandy [Tue, 15 Feb 2000 19:20:32 +0000 (19:20 +0000)]
Dynamically locate stack boundaries for safe dynamic heap allocation

21 years agoDon't rollover when calculating region_hi
zandy [Tue, 15 Feb 2000 19:19:47 +0000 (19:19 +0000)]
Don't rollover when calculating region_hi

21 years agoWorkaround for the problem on x86 Solaris when daemon fails to stop process
pcroth [Wed, 9 Feb 2000 19:49:58 +0000 (19:49 +0000)]
Workaround for the problem on x86 Solaris when daemon fails to stop process
at the beginning of main, and running the process causes the front end to
dump core.  The problem is due to the front end seeing zero-length application
IO strings (even though the daemon didn't send a zero-length string).  This
change protects the front end against dumping core in these situations.

21 years agoFixed problem in which the table visi does not show values when switching
pcroth [Wed, 9 Feb 2000 19:46:14 +0000 (19:46 +0000)]
Fixed problem in which the table visi does not show values when switching
between current, average, and total values after the process has exited.

21 years agoFixed a problem in which changing a curve from smoothed to unsmoothed may
pcroth [Wed, 9 Feb 2000 19:44:17 +0000 (19:44 +0000)]
Fixed a problem in which changing a curve from smoothed to unsmoothed may
cause curves to be drawn above the "data area" of the histogram.  Now,
switching the "smoothness" of a curve causes the y-axis to rescale if needed.

21 years agoChanges to work with gcc 2.9.5 on Alphas.
hollings [Wed, 9 Feb 2000 18:44:15 +0000 (18:44 +0000)]
Changes to work with gcc 2.9.5 on Alphas.

21 years agoChanges to work with gcc 295 on alpha
hollings [Wed, 9 Feb 2000 18:43:13 +0000 (18:43 +0000)]
Changes to work with gcc 295 on alpha

21 years agoFixed three problems of ketchup instrumentation, and some fixes to the thread-aware...
zhichen [Fri, 4 Feb 2000 21:52:45 +0000 (21:52 +0000)]
Fixed three problems of ketchup instrumentation, and some fixes to the thread-aware daemon,
tidy things a bit for the thread-aware rtinstLib

21 years agoFixed problem with histogram legend interpreting backslashes from NT pathnames
pcroth [Fri, 21 Jan 2000 22:57:39 +0000 (22:57 +0000)]
Fixed problem with histogram legend interpreting backslashes from NT pathnames
as escape sequences.

21 years agoFixed AIX mpi check ; added trailing period to error message,
bernat [Fri, 21 Jan 2000 20:34:32 +0000 (20:34 +0000)]
Fixed AIX mpi check ; added trailing period to error message,
which allows us to see invisible characters which might be in the OS string

21 years agoUpdated handling of stream "manipulators" (like endl, ends, and flush) to fix
pcroth [Tue, 18 Jan 2000 17:46:40 +0000 (17:46 +0000)]
Updated handling of stream "manipulators" (like endl, ends, and flush) to fix
compatibility problem with new native IRIX compiler.  Changes should also
make handling of manipulators platform- and compiler-independent.

21 years ago- Updates to extract type info from executables in Coff format
altinel [Tue, 11 Jan 2000 21:57:16 +0000 (21:57 +0000)]
- Updates to extract type info from executables in Coff format
- Updates to make type info available on more platforms
- Some bug fixes to parse C++ stab recors

Mehmet Altinel

21 years ago- New file to extract type info from executables in Coff format
altinel [Tue, 11 Jan 2000 21:55:33 +0000 (21:55 +0000)]
- New file to extract type info from executables in Coff format
- Updates to make type info available on more platforms
- Some bug fixes to parse C++ stab recors

Mehmet Altinel

21 years agoadded a initialization
zhichen [Mon, 10 Jan 2000 17:03:27 +0000 (17:03 +0000)]
added a initialization

21 years agoFixed a traceRecord alignment bug, and a assert in logLine(...)
zhichen [Mon, 10 Jan 2000 15:37:45 +0000 (15:37 +0000)]
Fixed a traceRecord alignment bug, and a assert in logLine(...)

21 years agoCleaned up some ugly code.
cain [Thu, 6 Jan 2000 20:21:15 +0000 (20:21 +0000)]
Cleaned up some ugly code.

21 years agoAdded convenience functions that make instrumentation requests for all
cain [Thu, 6 Jan 2000 20:20:56 +0000 (20:20 +0000)]
Added convenience functions that make instrumentation requests for all
dynamic call sites in an application. This is useful when debugging.

21 years agoAdded hooks to use the inclusive sync_wait and io_wait metrics for call
cain [Thu, 6 Jan 2000 20:20:20 +0000 (20:20 +0000)]
Added hooks to use the inclusive sync_wait and io_wait metrics for call
graph based PC searches.

21 years agoAdded code used by the new performance consultant to refine a search along a
cain [Thu, 6 Jan 2000 20:19:18 +0000 (20:19 +0000)]
Added code used by the new performance consultant to refine a search along a
given search path.

21 years agoAdded code that limits call graph searches to a current resource hierarchy.
cain [Thu, 6 Jan 2000 20:16:35 +0000 (20:16 +0000)]
Added code that limits call graph searches to a current resource hierarchy.

21 years agoBail when read returns zero
wylie [Wed, 22 Dec 1999 22:03:34 +0000 (22:03 +0000)]
Bail when read returns zero