source: trunk/src/binutils/gprof/source.h@ 1767

Last change on this file since 1767 was 610, checked in by bird, 22 years ago

This commit was generated by cvs2svn to compensate for changes in r609,
which included commits to RCS files with non-trunk default branches.

  • Property cvs2svn:cvs-rev set to 1.1.1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 2.2 KB
RevLine 
[10]1/* source.h
2
[609]3 Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
[10]4
5This file is part of GNU Binutils.
6
7This program is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program; if not, write to the Free Software
19Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
20
21
22#ifndef source_h
23#define source_h
24
25typedef struct source_file
26 {
27 struct source_file *next;
28 const char *name; /* Name of source file. */
29 unsigned long ncalls; /* # of "calls" to this file. */
30 int num_lines; /* # of lines in file. */
31 int nalloced; /* Number of lines allocated. */
32 void **line; /* Usage-dependent per-line data. */
33 }
34Source_File;
35
36/* Options. */
[609]37
38/* Create annotated output files? */
39extern bfd_boolean create_annotation_files;
[10]40
41/* List of directories to search for source files. */
42extern Search_List src_search_list;
43
44/* Chain of source-file descriptors. */
45extern Source_File *first_src_file;