dyninst.git
19 years agoadding support for Fortran
beyerj [Thu, 30 Aug 2001 18:12:54 +0000 (18:12 +0000)]
adding support for Fortran

19 years agoUse stl standard names for deleting items form a list.
hollings [Thu, 30 Aug 2001 15:59:04 +0000 (15:59 +0000)]
Use stl standard names for deleting items form a list.

19 years agoremoved unnecessary passing of current time into
schendel [Thu, 30 Aug 2001 01:58:51 +0000 (01:58 +0000)]
removed unnecessary passing of current time into
sampleAggregator::aggregate()

19 years agoadded documentation for the new aggregation code; removed unused code to
schendel [Thu, 30 Aug 2001 01:58:49 +0000 (01:58 +0000)]
added documentation for the new aggregation code; removed unused code to
delay aggregation code

19 years agoChanges to work towards compatability with IBM's version of dyninst.
hollings [Wed, 29 Aug 2001 23:25:23 +0000 (23:25 +0000)]
Changes to work towards compatability with IBM's version of dyninst.
major visible change is that the BPatch_{struct,union,function,etc}
enum is now called BPatch_Data{....}.

Also added a bunch of #ifdef IBM_BPATCH_COMPAT to provide
implementations of IBM specific functions (some of which will
probably be moved to our version too).

19 years agoreplace parens with underscores for COMPILE line since parens causing
schendel [Tue, 28 Aug 2001 19:39:38 +0000 (19:39 +0000)]
replace parens with underscores for COMPILE line since parens causing
labs g++ 2.95.3 wrapper to fail

19 years agoThis commit fixes the problem loading libdyninstRT.dll by
chadd [Tue, 28 Aug 2001 18:07:11 +0000 (18:07 +0000)]
This commit fixes the problem loading libdyninstRT.dll by
paradynd on WinNT/Win2k.

M dyninstAPI/src/pdwinnt.C
M rtinst/src/RTinst.c

19 years agoAdded the -xs flag to force debugging into into executable rather than
hollings [Tue, 28 Aug 2001 15:42:32 +0000 (15:42 +0000)]
Added the -xs flag to force debugging into into executable rather than
.o file.

19 years agoChanges to improving parsing of Fortran common blocks with the SunPro
hollings [Tue, 28 Aug 2001 15:28:55 +0000 (15:28 +0000)]
Changes to improving parsing of Fortran common blocks with the SunPro
compilers.  Should also fix some issues realted to local variables with
this compiler.

Added setLanguage support for Elf object format.

19 years agofix bug so don't try to set initial actual value for aggComponents
schendel [Tue, 28 Aug 2001 02:50:46 +0000 (02:50 +0000)]
fix bug so don't try to set initial actual value for aggComponents
  associated associated with a sampleAggregator parent of a shared COMP
  (component) type mdn;  - - - - - - - - - - - - - - - - - - - - - - - - -
added to the debug tracing

19 years agofix bug so don't try to set initial actual value for aggComponents
schendel [Tue, 28 Aug 2001 02:48:42 +0000 (02:48 +0000)]
fix bug so don't try to set initial actual value for aggComponents
associated associated with a sampleAggregator parent of a shared COMP
(component) type mdn;  - - - - - - - - - - - - - - - - - - - - - - - - -
add member to indicate if initial actual value has been set; assert if
an initial actual value is attempted to be set if has already been set

19 years agofix bug so don't try to set initial actual value for aggComponents
schendel [Tue, 28 Aug 2001 02:48:41 +0000 (02:48 +0000)]
fix bug so don't try to set initial actual value for aggComponents
associated associated with a sampleAggregator parent of a shared COMP
(component) type mdn;  - - - - - - - - - - - - - - - - - - - - - - - - -
gave each mdn ability to know it's initial actual value

19 years agofix bug so don't try to set initial actual value for aggComponents
schendel [Tue, 28 Aug 2001 02:48:39 +0000 (02:48 +0000)]
fix bug so don't try to set initial actual value for aggComponents
associated associated with a sampleAggregator parent of a shared COMP
(component) type mdn;  - - - - - - - - - - - - - - - - - - - - - - - - -
made certain debug trace statements print out more

19 years agoFixed up name resolution (findFunction -> findFuncByAddr)
bernat [Mon, 27 Aug 2001 19:33:43 +0000 (19:33 +0000)]
Fixed up name resolution (findFunction -> findFuncByAddr)

19 years agochanged use of visi_DataValues so specific bucket values to be returned
schendel [Thu, 23 Aug 2001 14:54:22 +0000 (14:54 +0000)]
changed use of visi_DataValues so specific bucket values to be returned
  are indicated;

19 years agoupdated DEPENDS file somewhat to reflect include file changes
schendel [Thu, 23 Aug 2001 14:53:26 +0000 (14:53 +0000)]
updated DEPENDS file somewhat to reflect include file changes

19 years agothe old aggregation code, which is has been rewritten
schendel [Thu, 23 Aug 2001 14:50:10 +0000 (14:50 +0000)]
the old aggregation code, which is has been rewritten

19 years agomake_Nan(), implemented now in pdRate.C, hopefully can go away soon with
schendel [Thu, 23 Aug 2001 14:49:49 +0000 (14:49 +0000)]
make_Nan(), implemented now in pdRate.C, hopefully can go away soon with
  conversion of the visis to use new time and sample value types

19 years agoinitialize graph data to NaN;
schendel [Thu, 23 Aug 2001 14:44:52 +0000 (14:44 +0000)]
initialize graph data to NaN;
fixed smoothing code so that NaN data values aren't taken into account in
  smoothing, was causing initial graph points to be to small (and rise from
  close to zero) when smoothed

19 years agochanged use of visi_DataValues so specific bucket values to be returned
schendel [Thu, 23 Aug 2001 14:44:51 +0000 (14:44 +0000)]
changed use of visi_DataValues so specific bucket values to be returned
  are indicated;
reorganized in various places

19 years agochanged visi_DataValues so instead of all datagrid bucket values being
schendel [Thu, 23 Aug 2001 14:44:50 +0000 (14:44 +0000)]
changed visi_DataValues so instead of all datagrid bucket values being
  returned, only specified bucket values are returned;
changed so initial actual value is sent in addition to the change in
  sampling value data, which allows actual value at any point to be
  reconstructed by integrating across change in sample value and adding
  initial actual value;

19 years agostore the initial actual value for the metric;
schendel [Thu, 23 Aug 2001 14:44:49 +0000 (14:44 +0000)]
store the initial actual value for the metric;
made some inline functions non-inline because of size;
changed Values function so instead of all datagrid bucket values being
  returned, only specified bucket values are returned;
passing metric type into functions for metric type specific handling;
changed method to get data for all of the buckets;

19 years agomade some inline functions non-inline because of size;
schendel [Thu, 23 Aug 2001 14:44:48 +0000 (14:44 +0000)]
made some inline functions non-inline because of size;
adjusted datagrid cell Value function so it still returns the actual value
  for SampledFunction type of metrics and the normalized value for
  EventCounter metrics, the implementation needs to be changed since the
  format of the histogram has been changed so that the change in sample
  value (instead of the actual value) is stored for each bucket for
  SampledFunction metrics;
uses the initial actual value for the metric

19 years agochanged visi_DataValues so instead of all datagrid bucket values being
schendel [Thu, 23 Aug 2001 14:44:46 +0000 (14:44 +0000)]
changed visi_DataValues so instead of all datagrid bucket values being
  returned, only specified bucket values are returned

19 years agoadded explicit template instantiation for new aggregation code
schendel [Thu, 23 Aug 2001 14:44:42 +0000 (14:44 +0000)]
added explicit template instantiation for new aggregation code

19 years agocreated a maxSample constant of type pdSample
schendel [Thu, 23 Aug 2001 14:44:41 +0000 (14:44 +0000)]
created a maxSample constant of type pdSample

19 years agoadded NaN constant of type pdRate; initialize to NaN by default;
schendel [Thu, 23 Aug 2001 14:44:40 +0000 (14:44 +0000)]
added NaN constant of type pdRate; initialize to NaN by default;
add ability to print out "NaN" in output operator for pdRate

19 years agoremove global field from histogram class;
schendel [Thu, 23 Aug 2001 14:44:38 +0000 (14:44 +0000)]
remove global field from histogram class;
first step in removal of metric style field;
fixed so flushUnsentBuckets sets the lastBinSent;
keep track of initial actual value so that current currentActualValue can
  be calculated;

19 years agothe rewrite of the aggregation code
schendel [Thu, 23 Aug 2001 14:44:36 +0000 (14:44 +0000)]
the rewrite of the aggregation code

19 years agoinitialize to NaN by default; created a maxSample constant of type pdSample
schendel [Thu, 23 Aug 2001 14:44:35 +0000 (14:44 +0000)]
initialize to NaN by default; created a maxSample constant of type pdSample

19 years agoadded NaN constant of type pdRate; initialize to NaN by default
schendel [Thu, 23 Aug 2001 14:44:34 +0000 (14:44 +0000)]
added NaN constant of type pdRate; initialize to NaN by default

19 years agochanged aggregation classes and implementation and updated clients to use
schendel [Thu, 23 Aug 2001 14:44:33 +0000 (14:44 +0000)]
changed aggregation classes and implementation and updated clients to use
  new aggregation code;
added members to turn on and off the debug streams

19 years agopulled metric style declaration out of hist.h into seperate file
schendel [Thu, 23 Aug 2001 14:44:32 +0000 (14:44 +0000)]
pulled metric style declaration out of hist.h into seperate file

19 years agoadd cvs id line; first step in removal of metric style field;
schendel [Thu, 23 Aug 2001 14:44:31 +0000 (14:44 +0000)]
add cvs id line; first step in removal of metric style field;
remove global field from histogram class;
keep track of initial actual value so that current currentActualValue can
  be calculated;

19 years agoaggregation defines which can be included without importing full
schendel [Thu, 23 Aug 2001 14:44:29 +0000 (14:44 +0000)]
aggregation defines which can be included without importing full
  aggregation header file

19 years agonot using, but added in case someone needs in the future
schendel [Thu, 23 Aug 2001 14:44:28 +0000 (14:44 +0000)]
not using, but added in case someone needs in the future

19 years agochanged aggregation classes and implementation and updated clients to use
schendel [Thu, 23 Aug 2001 14:44:24 +0000 (14:44 +0000)]
changed aggregation classes and implementation and updated clients to use
  new aggregation code;

19 years agoremoved redundant setting of the initial daemon start time
schendel [Thu, 23 Aug 2001 14:44:22 +0000 (14:44 +0000)]
removed redundant setting of the initial daemon start time

19 years agochanged aggregation classes and implementation and updated clients to use
schendel [Thu, 23 Aug 2001 14:44:20 +0000 (14:44 +0000)]
changed aggregation classes and implementation and updated clients to use
  new aggregation code;
set initial start time for metrics from continue callback;
first step in removal of metric style field;
reconcile MT and non-MT checking of top level mdn type;
added on ostream<< function for a metricDefinitionNode;
set initial start time for metrics;
changed so initial actual value is sent in addition to the change in
  sampling value data, which allows actual value at any point to be
  reconstructed by integrating across change in sample value and adding
  initial actual value;
add ability to update aggregation intervals;
reorganize updateValue and aggregation of levels;

19 years agochanged aggregation classes and implementation and updated clients to use
schendel [Thu, 23 Aug 2001 14:44:17 +0000 (14:44 +0000)]
changed aggregation classes and implementation and updated clients to use
  new aggregation code;
reorganized internal metrics;
removed passing of node weight and internal node indicator when passing
  sample data from daemon to nfront-end;
first step in removal of metric style field;
changed so initial actual value is sent in addition to the change in
  sampling value data, which allows actual value at any point to be
  reconstructed by integrating across change in sample value and adding
  initial actual value;
changed internal metric's member metricDefinitonNode field to be a top
  level mdn type, so will work with sendInitialActualValue;
reconcile MT and non-MT checking of top level mdn type;
clean up metric completion in regards to final metric samples being sent;
updated to use new Vector erase function;
removed compiler warning;
set initial start time for metrics from continue callback;
process::continueProc(); set initial start time for metrics;
added on ostream<< function for a metricDefinitionNode;
add ability to update aggregation intervals;
reorganize updateValue and aggregation of levels;

19 years agoremoved cvs log lines
schendel [Thu, 23 Aug 2001 14:44:16 +0000 (14:44 +0000)]
removed cvs log lines

19 years agofirst step in removal of metric style field; remove compiler warning;
schendel [Thu, 23 Aug 2001 14:44:15 +0000 (14:44 +0000)]
first step in removal of metric style field; remove compiler warning;
changed aggregation classes and implementation and updated clients to use
  new aggregation code;

19 years agoremove compiler warning
schendel [Thu, 23 Aug 2001 14:44:14 +0000 (14:44 +0000)]
remove compiler warning

19 years agoremoved cvs log lines;
schendel [Thu, 23 Aug 2001 14:44:13 +0000 (14:44 +0000)]
removed cvs log lines;
created consistent metric update value functions;
changed aggregation classes and implementation and updated clients to use
  new aggregation code;
first step in removal of metric style field;
changed so initial actual value is sent in addition to the change in
  sampling value data, which allows actual value at any point to be
  reconstructed by integrating across change in sample value and adding
  initial actual value;

19 years agocreated consistent metric update value functions;
schendel [Thu, 23 Aug 2001 14:44:12 +0000 (14:44 +0000)]
created consistent metric update value functions;
reorganized in internal metrics
changed aggregation classes and implementation and updated clients to use
  new aggregation code;
first step in removal of metric style field;
changed so initial actual value is sent in addition to the change in
  sampling value data, which allows actual value at any point to be
  reconstructed by integrating across change in sample value and adding
  initial actual value;

19 years agochanged bucket_width internal metric to sampling_rate;
schendel [Thu, 23 Aug 2001 14:44:10 +0000 (14:44 +0000)]
changed bucket_width internal metric to sampling_rate;
reorganized internal metrics; first step in removal of metric style field;

19 years agochanged bucket_width internal metric to sampling_rate;
schendel [Thu, 23 Aug 2001 14:44:08 +0000 (14:44 +0000)]
changed bucket_width internal metric to sampling_rate;
reorganized internal metrics;
first step in removal of metric style field;
changed so initial actual value is sent in addition to the change in
  sampling value data, which allows actual value at any point to be
  reconstructed by integrating across change in sample value and adding
  initial actual value;

19 years agoinclude additional header file
schendel [Thu, 23 Aug 2001 14:44:06 +0000 (14:44 +0000)]
include additional header file

19 years agoremove compiler warning; include additional header file
schendel [Thu, 23 Aug 2001 14:44:05 +0000 (14:44 +0000)]
remove compiler warning; include additional header file

19 years agoremove compiler warning; add ability to update aggregation intervals;
schendel [Thu, 23 Aug 2001 14:44:04 +0000 (14:44 +0000)]
remove compiler warning; add ability to update aggregation intervals;
removed unnecessary code;

19 years agofirst step in removal of metric style field; cleaned up in various ways
schendel [Thu, 23 Aug 2001 14:44:01 +0000 (14:44 +0000)]
first step in removal of metric style field; cleaned up in various ways
  changed aggregation classes and implementation and updated clients to use
new aggregation code; removed unneeded friend function declarations;
  created consistent metric update value functions

19 years agoadded ability to register a callback to be called when calling
schendel [Thu, 23 Aug 2001 14:43:59 +0000 (14:43 +0000)]
added ability to register a callback to be called when calling
  process::continueProc()

19 years agoupdated DEPENDS file to reflect include file changes
schendel [Thu, 23 Aug 2001 14:43:58 +0000 (14:43 +0000)]
updated DEPENDS file to reflect include file changes

19 years agochanged aggregation classes and implementation and updated clients to use
schendel [Thu, 23 Aug 2001 14:43:55 +0000 (14:43 +0000)]
changed aggregation classes and implementation and updated clients to use
  new aggregation code; removed unneeded friend function declarations;
deleted aggregation operator aggAvg

19 years agofixed bug from my previous commit, where I was translating NaN values into
schendel [Thu, 23 Aug 2001 14:43:54 +0000 (14:43 +0000)]
fixed bug from my previous commit, where I was translating NaN values into
  0 values when transferring samples between front-end and visis, now NaN
  values are preserved;
changed so initial actual value is sent in addition to the change in
  sampling value data, which allows actual value at any point to be
  reconstructed by integrating across change in sample value and adding
  initial actual value

19 years agochanged so initial actual value is sent in addition to the change in
schendel [Thu, 23 Aug 2001 14:43:47 +0000 (14:43 +0000)]
changed so initial actual value is sent in addition to the change in
  sampling value data, which allows actual value at any point to be
  reconstructed by integrating across change in sample value and adding
  initial actual value;
for sampleFunction metrics, reconstructing each buckets actual value by
  keeping a running total (integrating) of the samples

19 years agoreorganized sample data histogram callback function;
schendel [Thu, 23 Aug 2001 14:43:46 +0000 (14:43 +0000)]
reorganized sample data histogram callback function;
remove global field from histogram class;
add intelligence to know what to use for an aggregation interval;

19 years agochanged so initial actual value is sent in addition to the change in
schendel [Thu, 23 Aug 2001 14:43:44 +0000 (14:43 +0000)]
changed so initial actual value is sent in addition to the change in
  sampling value data, which allows actual value at any point to be
  reconstructed by integrating across change in sample value and adding
  initial actual value;

19 years agochanged aggregation classes and implementation and updated clients to use
schendel [Thu, 23 Aug 2001 14:43:42 +0000 (14:43 +0000)]
changed aggregation classes and implementation and updated clients to use
  new aggregation code;
removed unneeded friend function declarations;
added ability for a metricInstance to know whether an initialActualValue
  has been sent on a perfStream;
remove global field from histogram class;
reorganized sample data histogram callback function;
added intelligence to know what to use for an aggregation interval;
changed so initial actual value is sent in addition to the change in
  sampling value data, which allows actual value at any point to be
  reconstructed by integrating across change in sample value and adding
  initial actual value;
reorganized sample data histogram callback function;
first step in removal of metric style field; update various static member

19 years agoremove global field from histogram class;
schendel [Thu, 23 Aug 2001 14:43:41 +0000 (14:43 +0000)]
remove global field from histogram class;
changed aggregation classes and implementation and updated clients to use
  new aggregation code; reorganized sample data histogram callback function;
  updated to use new Vector erase function;
added ability for a metricInstance to know whether an initialActualValue
  has been sent on a perfStream; first step in removal of metric style
  field;
cleaned up function names and implementation of daemon's sending the time
  it started to the front-end;

19 years agofirst step in removal of metric style field; update various static member
schendel [Thu, 23 Aug 2001 14:43:40 +0000 (14:43 +0000)]
first step in removal of metric style field; update various static member
  definitions;
remove global field from histogram class;
cleaned up function names and implementation of daemon's sending the time
  it started to the front-end;
changed so initial actual value is sent in addition to the change in
  sampling value data, which allows actual value at any point to be
  reconstructed by integrating across change in sample value and adding
  initial actual value;

19 years agocleaned up function names and implementation of daemon's sending the time
schendel [Thu, 23 Aug 2001 14:43:38 +0000 (14:43 +0000)]
cleaned up function names and implementation of daemon's sending the time
  it started to the front-end;
changed so initial actual value is sent in addition to the change in
  sampling value data, which allows actual value at any point to be
  reconstructed by integrating across change in sample value and adding
  initial actual value;
cleaned up calculation of network delay time, now take multiple samples
  of network delay time and use the average of these samples;
reorganized batchSampleDataCallback;

19 years agocleaned up function names and implementation of daemon's sending the time
schendel [Thu, 23 Aug 2001 14:43:37 +0000 (14:43 +0000)]
cleaned up function names and implementation of daemon's sending the time
  it started to the front-end;
changed so initial actual value is sent in addition to the change in
  sampling value data, which allows actual value at any point to be
  reconstructed by integrating across change in sample value and adding
  initial actual value;
cleaned up calculation of network delay time, now take multiple samples
  of network delay time and use the average of these samples;
reorganized batchSampleDataCallback;
removed passing of node weight and internal node indicator when passing
  sample data from daemon to front-end;
changed aggregation classes and implementation and updated clients to use
  new aggregation code;

19 years agocleaned up function names and implementation of daemon's sending the time
schendel [Thu, 23 Aug 2001 14:43:35 +0000 (14:43 +0000)]
cleaned up function names and implementation of daemon's sending the time
  it started to the front-end

19 years agochanged aggregation classes and implementation and updated clients to use
schendel [Thu, 23 Aug 2001 14:43:34 +0000 (14:43 +0000)]
changed aggregation classes and implementation and updated clients to use
  new aggregation code;
added ability for a metricInstance to know whether an initialActualValue
  has been sent on a perfStream

19 years agoremoved passing of node weight and internal node indicator when passing
schendel [Thu, 23 Aug 2001 14:43:32 +0000 (14:43 +0000)]
removed passing of node weight and internal node indicator when passing
  sample data from daemon to front-end;
cleaned up function names and implementation of daemon's sending the time
  it started to the front-end;
changed so initial actual value is sent in addition to the change in
  sampling value data, which allows actual value at any point to be
  reconstructed by integrating across change in sample value and adding
  initial actual value

19 years agochanged so initial actual value is sent in addition to the change in
schendel [Thu, 23 Aug 2001 14:43:31 +0000 (14:43 +0000)]
changed so initial actual value is sent in addition to the change in
  sampling value data, which allows actual value at any point to be
  reconstructed by integrating across change in sample value and adding
  initial actual value

19 years agofixed a bug in a previous commit which caused NT to not compile
schendel [Thu, 23 Aug 2001 14:43:29 +0000 (14:43 +0000)]
fixed a bug in a previous commit which caused NT to not compile

19 years agoreorganized some paradyn specific code
schendel [Thu, 23 Aug 2001 14:43:28 +0000 (14:43 +0000)]
reorganized some paradyn specific code

19 years agochanged MACRO into an inline function; added ability to register a callback
schendel [Thu, 23 Aug 2001 14:43:24 +0000 (14:43 +0000)]
changed MACRO into an inline function; added ability to register a callback
  to be called when calling process::continueProc()

19 years agoreorganized internal metrics; changed MACRO into an inline function;
schendel [Thu, 23 Aug 2001 14:43:22 +0000 (14:43 +0000)]
reorganized internal metrics; changed MACRO into an inline function;
removed compiler warning; created consistent metric update value functions;
added ability to register a callback to be called when calling
  process::continueProc()

19 years agochanged MACRO into an inline function
schendel [Thu, 23 Aug 2001 14:43:20 +0000 (14:43 +0000)]
changed MACRO into an inline function

19 years agoadded ability to register a callback to be called when calling
schendel [Thu, 23 Aug 2001 14:43:18 +0000 (14:43 +0000)]
added ability to register a callback to be called when calling
process::continueProc()

19 years agoremoved compiler warning; reorganized internal metrics
schendel [Thu, 23 Aug 2001 14:43:17 +0000 (14:43 +0000)]
removed compiler warning; reorganized internal metrics

19 years agoremoved compiler warning
schendel [Thu, 23 Aug 2001 14:43:14 +0000 (14:43 +0000)]
removed compiler warning

19 years agoadded members to turn on and off the debug streams
schendel [Thu, 23 Aug 2001 14:43:12 +0000 (14:43 +0000)]
added members to turn on and off the debug streams

19 years agoremoved compiler warning; added a member which removes (erase) an element
schendel [Thu, 23 Aug 2001 14:43:11 +0000 (14:43 +0000)]
removed compiler warning; added a member which removes (erase) an element

19 years agomade default initialization of timeLength to be in uninitialized state
schendel [Thu, 23 Aug 2001 14:43:09 +0000 (14:43 +0000)]
made default initialization of timeLength to be in uninitialized state
  added additional timeStamp constants

19 years agoadded const version of index operator
schendel [Thu, 23 Aug 2001 14:43:08 +0000 (14:43 +0000)]
added const version of index operator

19 years agoadded const version of index operator
schendel [Thu, 23 Aug 2001 14:36:02 +0000 (14:36 +0000)]
added const version of index operator

19 years agoYou know, "for (int i; i < foo; i++)" isn't really a wise idea.
bernat [Wed, 22 Aug 2001 18:26:54 +0000 (18:26 +0000)]
You know, "for (int i; i < foo; i++)" isn't really a wise idea.
Sigh.

19 years agoFixed problem with reading a zero-length data segment.
bernat [Wed, 22 Aug 2001 01:31:28 +0000 (01:31 +0000)]
Fixed problem with reading a zero-length data segment.

19 years agoaix.C: Check all running threads for a given breakpoint address instead
bernat [Mon, 20 Aug 2001 22:23:46 +0000 (22:23 +0000)]
aix.C: Check all running threads for a given breakpoint address instead
of an arbitrarily picked one.

sharedobject.*: continuing name updates

19 years agoChanged the symtab (Image class) function lookup methods. Function calls
bernat [Mon, 20 Aug 2001 19:59:04 +0000 (19:59 +0000)]
Changed the symtab (Image class) function lookup methods. Function calls
were changed to match the new names.

19 years agoChanged a loop iterator from "int" to "unsigned int", the same as the
bernat [Mon, 20 Aug 2001 19:58:25 +0000 (19:58 +0000)]
Changed a loop iterator from "int" to "unsigned int", the same as the
value it was compared with.

19 years agoAdded a check to prevent reading a non-existent string pool (which would
bernat [Wed, 15 Aug 2001 14:45:35 +0000 (14:45 +0000)]
Added a check to prevent reading a non-existent string pool (which would
cause parsing to fail).

19 years agoThis fixes a bug with the Paradynd NT build
chadd [Fri, 10 Aug 2001 18:55:28 +0000 (18:55 +0000)]
This fixes a bug with the Paradynd NT build

19 years agoThis commit fixes the bugs introduced into
chadd [Thu, 9 Aug 2001 15:06:14 +0000 (15:06 +0000)]
This commit fixes the bugs introduced into
paradyn by the Win2k and WinCE commits.
--inclusion of MapSymbols in the Win2K Makefile
--adds DLLMain() to RTinst.c so paradyn works on win2k

19 years agoUndo the #ifdef's from the my commit.
gurari [Wed, 8 Aug 2001 18:58:16 +0000 (18:58 +0000)]
Undo the #ifdef's from the my commit.

19 years agoDo deferred relocation and instrumentation for Paradyn only.
gurari [Wed, 8 Aug 2001 18:50:40 +0000 (18:50 +0000)]
Do deferred relocation and instrumentation for Paradyn only.

19 years agoThis commit fixes c++ style comments to c style comments in the listed
chadd [Tue, 7 Aug 2001 20:49:01 +0000 (20:49 +0000)]
This commit fixes c++ style comments to c style comments in the listed
files

dyninstAPI_RT/h/dyninstAPI_RT.h
dyninstAPI_RT/src/RTcommon.c
dyninstAPI_RT/src/RTheap.c
common/h/Types.h

19 years agoI've changed function relocation so that it dynamically allocates a buffer for
gurari [Tue, 7 Aug 2001 17:01:19 +0000 (17:01 +0000)]
I've changed function relocation so that it dynamically allocates a buffer for
copying a function into, rather than using a statically allocated buffer.

19 years agoMade cosmetic changes to handling deferred function relocation and
gurari [Mon, 6 Aug 2001 23:22:53 +0000 (23:22 +0000)]
Made cosmetic changes to handling deferred function relocation and
instrumentation.

19 years agoAdded handling of set o7 and tail call optimization LocalAlterations at the
gurari [Mon, 6 Aug 2001 23:21:59 +0000 (23:21 +0000)]
Added handling of set o7 and tail call optimization LocalAlterations at the
same location.

19 years agoChanged handleIfDueToSharedObjectMapping to cause a return from the
buck [Fri, 3 Aug 2001 19:08:24 +0000 (19:08 +0000)]
Changed handleIfDueToSharedObjectMapping to cause a return from the
r_brk routine by modifying registers to emulate a ret instruction,
rather than by moving the program counter where we believe a ret
instruction to be.

19 years agoThis commit provides code for the Windows CE 3.0 Pocket PC
chadd [Wed, 1 Aug 2001 15:39:49 +0000 (15:39 +0000)]
This commit provides code for the Windows CE 3.0 Pocket PC
platform (for MIPS based devices).

A core/dyninstAPI/mips-unknown-wince2.11
A core/dyninstAPI/h/baseTrampTemplate.h
A core/dyninstAPI/h/remoteDevice.h
A core/dyninstAPI/src/asmExterns.h
A core/dyninstAPI/src/remoteDevice.C
A core/dyninstAPI/src/deviceStructs.h
A core/dyninstAPI/src/MapSymbols.C
A core/dyninstAPI/src/MapSymbols.h
A core/dyninstAPI/src/wincetypes.h
A core/dyninstAPI/src/w32CONTEXT.h
A core/dyninstAPI_RT/mips-unknown-wince2.11
A core/dyninstAPI/mips-unknown-wince2.11/helper
A core/dyninstAPI/mips-unknown-wince2.11/helper/Makefile
A core/dyninstAPI/mips-unknown-wince2.11/helper/DyninstClient.cpp
A core/dyninstAPI/mips-unknown-wince2.11/helper/DyninstClient.vcp
A core/dyninstAPI/mips-unknown-wince2.11/helper/CE-mipsasm.S
A core/dyninstAPI/mips-unknown-wince2.11/helper/DyninstClient.vcw
A core/dyninstAPI/mips-unknown-wince2.11/helper/DyninstClient.vcl
A core/dyninstAPI/mips-unknown-wince2.11/helper/DyninstClient.vcb
A core/dyninstAPI/mips-unknown-wince2.11/helper/DyninstClient.vco
A core/dyninstAPI/mips-unknown-wince2.11/depends
A core/dyninstAPI/mips-unknown-wince2.11/Makefile
A core/dyninstAPI_RT/mips-unknown-wince2.11/Makefile
A core/dyninstAPI_RT/mips-unknown-wince2.11/depends

M core/dyninstAPI/h/BPatch.h
M core/dyninstAPI/h/BPatch_Set.h
M core/dyninstAPI/h/BPatch_dll.h
M core/dyninstAPI/i386-unknown-nt4.0/Makefile
M core/dyninstAPI/src/AddressHandle-mips.C
M core/dyninstAPI/src/BPatch.C
M core/dyninstAPI/src/BPatch_flowGraph.C
M core/dyninstAPI/src/BPatch_module.C
M core/dyninstAPI/src/BPatch_templates.C
M core/dyninstAPI/src/BPatch_thread.C
M core/dyninstAPI/src/CodeView.h
M core/dyninstAPI/src/Object-nt.C
M core/dyninstAPI/src/Object-nt.h
M core/dyninstAPI/src/Object.h
M core/dyninstAPI/src/arch-mips.h
M core/dyninstAPI/src/arch.h
M core/dyninstAPI/src/ast.C
M core/dyninstAPI/src/ast.h
M core/dyninstAPI/src/dynamiclinking.h
M core/dyninstAPI/src/inst-mips.C
M core/dyninstAPI/src/inst-winnt.C
M core/dyninstAPI/src/instPoint.h
M core/dyninstAPI/src/os.h
M core/dyninstAPI/src/pdwinnt.C
M core/dyninstAPI/src/pdwinnt.h
M core/dyninstAPI/src/process.C
M core/dyninstAPI/src/process.h
M core/dyninstAPI/src/stats.C
M core/dyninstAPI/src/symtab.C
M core/dyninstAPI/src/symtab.h
M core/dyninstAPI/tests/src/test_util.C
M core/dyninstAPI/tests/src/test_util.h
M core/dyninstAPI_RT/h/dyninstAPI_RT.h
M core/dyninstAPI_RT/src/RTcommon.c
M core/dyninstAPI_RT/src/RTheap.c
M core/dyninstAPI_RT/src/RTwinnt.c
M core/common/h/Types.h
M core/common/h/fraction.h
M core/common/h/headers.h
M core/common/h/int64iostream.h
M core/common/h/ntHeaders.h
M core/common/src/String.C
M core/common/src/Time.C
M core/common/src/Timer.C
M core/common/src/pathName.C
M core/common/src/timing.C

19 years agoAdded a few lines to facilitate the removal of a metricDefinitionNode, so
gurari [Tue, 31 Jul 2001 19:10:24 +0000 (19:10 +0000)]
Added a few lines to facilitate the removal of a metricDefinitionNode, so
an assertion would not fail.

19 years agoInsert is no longer called called from anywhere.
gurari [Mon, 30 Jul 2001 22:28:04 +0000 (22:28 +0000)]
Insert is no longer called called from anywhere.

19 years agoChange call to Vector::insert to call to Vector::push_back.
gurari [Mon, 30 Jul 2001 22:27:21 +0000 (22:27 +0000)]
Change call to Vector::insert to call to Vector::push_back.

19 years agoJust cosmetic changes to my previous commit.
gurari [Fri, 27 Jul 2001 21:02:49 +0000 (21:02 +0000)]
Just cosmetic changes to my previous commit.