aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2002-10-18 23:47:53 +0000
committerDavid Carlton <carlton@bactrian.org>2002-10-18 23:47:53 +0000
commit1efc7aaabae6515f681f570d6c1ad280076303ed (patch)
treece0ec2281322a9593183cdf23b27f7fe75e7afdc /gdb/symtab.h
parent7e1d63ec945b750ec26d9493b9851f036f97df6c (diff)
downloadgdb-1efc7aaabae6515f681f570d6c1ad280076303ed.zip
gdb-1efc7aaabae6515f681f570d6c1ad280076303ed.tar.gz
gdb-1efc7aaabae6515f681f570d6c1ad280076303ed.tar.bz2
2002-10-18 David Carlton <carlton@math.stanford.edu>
* symtab.h: Delete 'struct source' and 'struct sourcevector'. (Also, I fixed up a date reference for an earlier ChangeLog entry of mine; sorry about that.)
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index a76a0eb..6dfc9d4 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -750,15 +750,6 @@ struct partial_symbol
#define PSYMBOL_CLASS(psymbol) (psymbol)->aclass
-/* Source-file information. This describes the relation between source files,
- line numbers and addresses in the program text. */
-
-struct sourcevector
-{
- int length; /* Number of source files described */
- struct source *source[1]; /* Descriptions of the files */
-};
-
/* Each item represents a line-->pc (or the reverse) mapping. This is
somewhat more wasteful of space than one might wish, but since only
the files which are actually debugged are read in to core, we don't
@@ -797,14 +788,6 @@ struct linetable
struct linetable_entry item[1];
};
-/* All the information on one source file. */
-
-struct source
-{
- char *name; /* Name of file */
- struct linetable contents;
-};
-
/* How to relocate the symbols from each section in a symbol file.
Each struct contains an array of offsets.
The ordering and meaning of the offsets is file-type-dependent;