2002-10-18 David Carlton <carlton@math.stanford.edu>
authorDavid Carlton <carlton@bactrian.org>
Fri, 18 Oct 2002 23:47:53 +0000 (23:47 +0000)
committerDavid Carlton <carlton@bactrian.org>
Fri, 18 Oct 2002 23:47:53 +0000 (23:47 +0000)
* 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.)

gdb/ChangeLog
gdb/symtab.h

index 230c0bb253125fa544563b1861db5cf4ff295c11..406040687f9ae552e08bb1024347ee98036a55d9 100644 (file)
@@ -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 *.
index a76a0ebd5b69e7af44acc6dca4e38c80e0f9bd45..6dfc9d4b6f57535c113064da7f79dfbccbd5cd03 100644 (file)
@@ -750,15 +750,6 @@ struct partial_symbol
 #define PSYMBOL_CLASS(psymbol)         (psymbol)->aclass
 \f
 
-/* 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;
This page took 0.035565 seconds and 4 git commands to generate.