Commit Graph

118 Commits

Author SHA1 Message Date
Ian Lance Taylor
31af2d7e05 * gprof.c (main): Cast getenv return value. 1995-11-08 16:40:24 +00:00
Ken Raeburn
4a07e94f2c add tags target 1995-11-06 20:12:26 +00:00
Per Bothner
c3294c2e78 * Makefile.in (DISTSTUFF): Rename to GEN_FILES, to avoid confusion.
(all):  Depend on $(GEN_FILES), not diststuff (which also depends
	on info).
1995-11-01 20:50:55 +00:00
Ian Lance Taylor
911d6ca12a Wed Nov 1 15:23:15 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
* sym_ids.c: Include <ctype.h>.
1995-11-01 20:24:27 +00:00
Per Bothner
fc9e78507c * Makefile.in (diststuff): Also make info.
(mostlyclean):  Don't remove gprof.info*.
	(maintainer-clean realclean):  Also remove *.info*.
1995-10-25 20:24:00 +00:00
Ken Raeburn
869b94c5f6 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile.in: Add dependecies for $(OBJS) on header files.

* cg_print.c (print_cycle, print_members, cg_print_index): Fix new style output
format to make it consistent.
* dummy.c (find_call): Fix typo in error message.
1995-10-06 20:51:43 +00:00
Ian Lance Taylor
0312401c7a * Makefile.in (maintainer-clean): New target, synonym for
realclean.
1995-09-20 17:21:54 +00:00
Ian Lance Taylor
3e0d03278c * Makefile.in (install): Don't install in $(tooldir). 1995-09-08 18:38:50 +00:00
Ken Raeburn
af0786b401 some ns32k updates from Ian Dall 1995-09-05 19:04:22 +00:00
Jeff Law
d0c997a9ac * Makefile.in (install): Remove "brokensed" hack, unnecessary now
that we're using autoconf.
1995-08-22 17:01:20 +00:00
Jason Molenda
54b8ecb5f1 all v2.2 && v2.3 autoconf-generated configure scripts updated to
autoconf v2.4 (not a very big change).  fixes PR 7695.
1995-08-16 04:06:53 +00:00
Fred Fish
643f17d21f * core.c (get_src_info): Cast arg 7 of bfd_find_nearest_line
to proper type of "unsigned int *".
1995-07-20 22:13:40 +00:00
Ken Raeburn
a35809e30d add final newline 1995-07-07 02:19:13 +00:00
Ken Raeburn
379062d10f use changequote around [] 1995-06-16 19:30:48 +00:00
J.T. Conklin
9e4be2c7b6 * Makefile.in (distclean, realclean): Remove config.cache and
config.log.
1995-06-12 19:15:58 +00:00
J.T. Conklin
3ecd5c7d38 * Makefile.in (Makefile): Added config.status to dependency list.
(config.status): New target.
  (SHELL): New definition.
1995-05-18 00:58:02 +00:00
Ken Raeburn
e4fc2696d1 * Makefile.in (install): Depend on "all". 1995-04-26 01:11:57 +00:00
Ken Raeburn
4c92f0648f * Makefile.in: Change all references to MY_MACHINE to MY_TARGET, to match
configure script.
1995-04-20 21:30:10 +00:00
J.T. Conklin
7858d8dc8a * gen-c-prog.awk: Changed reference to "make-c-prog.awk" in
comment emitted by this script to gen-c-prog.awk.

* Makefile.in, configure.in: Converted to use autoconf.
* configure: New file, generated with autoconf 2.3.
* config/{mt-alpha, mt-dummy, mt-i386, mt-ns532, mt-sparc,
  mt-tahoe, mt-vax}: Removed.
1995-04-19 18:27:35 +00:00
Ken Raeburn
03c35bcb6e * __bb_exit_func.c: New file, from David Mosberger-Tang.
Thu Feb  9 16:56:07 1995  David Mosberger-Tang  <davidm@piston.cs.arizona.edu>

* All *.c: More cleanup towards GNU format.

* gmon_out.h (struct gmon_hist_hdr, struct gmon_cg_arc_record): replaced sizeof
(bfd_vma) by size (char*) because Ken tells me that bfd_vma is only guaranteed
to be at least as big as a pointer.

(GMON_Record_tag): added explicit enumeration values to ensure compatibility
across compilers.

* gmon_io.c (get_vma, put_vma): replaced sizeof(bfd_vma) by sizeof(char*).
1995-03-14 02:58:16 +00:00
Ken Raeburn
74a8911547 keep utils.{c,h} 1995-02-08 22:55:11 +00:00
Ken Raeburn
12516a373c ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
Ken Raeburn
f86ee9d623 updated for added/removed files 1995-02-07 22:59:13 +00:00
Ken Raeburn
5489fcc3d9 Lots of changes from David Mosberger-Tang; see ChangeLog and NOTES for details:
Alpha support.
Long options.
New file format to support more information; backwards compatibility.
Line-level profiling, on systems where bfd_find_nearest_line works.
Selective display of data.
1995-02-07 22:34:18 +00:00
Ken Raeburn
d4e4b3f7f5 keep ns32k stuff 1994-11-07 06:52:58 +00:00
Ken Raeburn
a051e7ccbe * printgprof.c (flatprofheader): Always set totime to 1.0 if not greater than
0.0.  Suggested by Harold Assink <carlo@sg.tn.tudelft.nl>.
1994-11-04 00:08:34 +00:00
Ken Raeburn
a67d9a42cc cfree -> free 1994-09-23 19:12:14 +00:00
Jeff Law
54a17c91d0 * gprof.h (kfromlist, ktolist, flist, Flist, elist, Elist): Make
decls extern to keep native HP compiler quiet.
1994-09-01 16:53:19 +00:00
Ian Lance Taylor
f43a7782d0 * gprof.c (funcsymbol): Ignore ___gnu_compiled as well as
__gnu_compiled, for the benefit of systems which add a leading
	underscore.
1994-08-30 15:15:09 +00:00
Ian Lance Taylor
68e01f9dea * configure.in: Change i386-*-* to i[345]86-*-*. 1994-08-24 16:50:03 +00:00
Ken Raeburn
fbcbb8c4d4 ns532 support from Ian Dall 1994-07-13 23:21:45 +00:00
Jeff Law
15aca51186 * Makefile.in (gprof): Depend on $(LIBS). 1994-06-23 17:23:30 +00:00
Ken Raeburn
bc63a3a010 keep configure.bat 1994-06-22 17:39:31 +00:00
Ken Raeburn
c06e55d99a changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs) 1994-05-27 16:58:05 +00:00
Bill Cox
9cda8e3a44 * Makefile.in (.m.c:): Added .SUFFIXES : .m
so flat_bl.c would make from flat_bl.m file.
1994-05-17 22:56:13 +00:00
Ken Raeburn
dc2b222a18 gprof.h, Makefile.in changes 1994-05-05 23:25:12 +00:00
Ken Raeburn
d20d64bb53 (TRUE, FALSE): Always use undef before defining them. 1994-05-05 23:24:57 +00:00
Ken Raeburn
8afeb6eef0 (install-info): Check for gprof.info in build dir, fall back to srcdir. Depend
on it.
1994-05-05 23:24:33 +00:00
Jeff Law
4e8e5c4ac5 * Makefile.in (MY_MACHINE): Renamed from MACHINE to avoid losing
makes (osf1) in which the value of MACHINE can not be changed.
        * config/*.mt: Changed appropriately.
1994-04-05 06:48:56 +00:00
Ian Lance Taylor
bd7fc39d75 * gprof.c (getsymtab): Change nosyms to long. Rename
get_symtab_upper_bound to bfd_get_symtab_upper_bound.  Check for
	errors from bfd_get_symtab_upper_bound and
	bfd_canonicalize_symtab.
1994-03-30 22:06:39 +00:00
Jeff Law
4b8250bda2 * gprof.c (funcsymbol): Use bfd_get_symbol_info instead of
bfd_decode_symclass.
1994-03-22 18:51:41 +00:00
Jeff Law
4e85e79f4f * Makefile.in: Avoid bug in hpux sed. 1994-03-20 23:40:41 +00:00
Roland Pesch
5ee3dd17d9 More widely useful INFO-DIR fragment. 1994-03-17 22:34:07 +00:00
David D. Zuhn
fc3a75fb2b update rev to 5.6(Cygnus) 1993-12-16 04:24:16 +00:00
David D. Zuhn
4db865d01a remove gratitious s 1993-12-16 04:22:10 +00:00
David D. Zuhn
4fe2350be4 document -v flag 1993-12-16 04:18:17 +00:00
David D. Zuhn
b4f476e939 add -v flag to gprof (print version number) 1993-12-16 04:14:45 +00:00
Jeffrey Osier
a2b3470778 gprof.texi: minor fix. 1993-11-03 11:44:35 +00:00
Sean Eric Fagan
2ea5f3252a Use BFD to determine what a symbol prefix is, be better about determining
which symbols to study, and divide by the correct amount.
1993-08-13 21:38:41 +00:00
Steve Chamberlain
b4a1e77be8 * Makefile.in: Install correctly. 1993-07-06 17:12:20 +00:00