projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* gmon.h, gprof.h: structs of chars used to hold external
[deliverable/binutils-gdb.git]
/
gprof
/
gprof.h
diff --git
a/gprof/gprof.h
b/gprof/gprof.h
index d10f50c396a887c4b44c8a9747d6d3be31134f1e..c1b91ad355ccfbc7e08d7b483058c66794615354 100644
(file)
--- a/
gprof/gprof.h
+++ b/
gprof/gprof.h
@@
-19,10
+19,14
@@
* @(#)gprof.h 5.9 (Berkeley) 6/1/90
*/
* @(#)gprof.h 5.9 (Berkeley) 6/1/90
*/
+#include <ansidecl.h>
#include "sysdep.h"
#include "bfd.h"
#include "gmon.h"
#include "sysdep.h"
#include "bfd.h"
#include "gmon.h"
+/* AIX defines hz as a macro. */
+#undef hz
+
#ifdef MACHINE_H
# include MACHINE_H
#else
#ifdef MACHINE_H
# include MACHINE_H
#else
@@
-55,7
+59,7
@@
typedef int bool;
*/
long hz;
*/
long hz;
-typedef unsigned
short UNIT;
/* unit of profiling */
+typedef unsigned
char UNIT[2];
/* unit of profiling */
char *a_outname;
#define A_OUTNAME "a.out"
char *a_outname;
#define A_OUTNAME "a.out"
@@
-143,6
+147,13
@@
struct hdr {
int ncnt;
};
int ncnt;
};
+
+struct rawhdr {
+ char lowpc[4];
+ char highpc[4];
+ char ncnt[4];
+};
+
struct hdr h;
int debug;
struct hdr h;
int debug;
@@
-151,7
+162,7
@@
int debug;
* Each discretized pc sample has
* a count of the number of samples in its range
*/
* Each discretized pc sample has
* a count of the number of samples in its range
*/
-
UNIT
*samples;
+
int
*samples;
unsigned long s_lowpc; /* lowpc from the profile file */
unsigned long s_highpc; /* highpc from the profile file */
unsigned long s_lowpc; /* lowpc from the profile file */
unsigned long s_highpc; /* highpc from the profile file */
This page took
0.023911 seconds
and
4
git commands to generate.