diff options
author | David Carlton <carlton@bactrian.org> | 2002-10-18 23:47:53 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2002-10-18 23:47:53 +0000 |
commit | 8175d72d6c730fe0faf06438f285022e1c713e04 (patch) | |
tree | 2768f9e2dcf538e9835fcd7ddca6147e982ba8b3 | |
parent | f8562180955b799418ff101b5d54dc44d8c4c47d (diff) | |
download | gdb-8175d72d6c730fe0faf06438f285022e1c713e04.tar.gz |
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.)
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/symtab.h | 17 |
2 files changed, 5 insertions, 18 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 230c0bb2531..406040687f9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2002-10-18 David Carlton <carlton@math.stanford.edu> + + * symtab.h: Delete 'struct source' and 'struct sourcevector'. + 2002-10-18 Adam Fedor <fedor@gnu.org> * stabsread.c (find_name_end): New function. @@ -10,7 +14,7 @@ * config/alpha/nm-nbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1. * config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Define to 1. -2002-10-09 David Carlton <carlton@math.stanford.edu> +2002-10-17 David Carlton <carlton@math.stanford.edu> * symfile.h: Add opaque declaration for struct obstack. Declare obsavestring to take a const char *. diff --git a/gdb/symtab.h b/gdb/symtab.h index a76a0ebd5b6..6dfc9d4b6f5 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; |