diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-05-02 04:28:42 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-05-02 04:28:42 +0000 |
commit | e1ce8aa5ed46310d716472d19d2e87da2833d599 (patch) | |
tree | cacaf1a83d8e388b049c2b3bc454f311dd34b6e2 /gdb/coffread.c | |
parent | 04a0511c0af3d07f7b4587fbf4715d2b956f1fad (diff) | |
download | gdb-e1ce8aa5ed46310d716472d19d2e87da2833d599.zip gdb-e1ce8aa5ed46310d716472d19d2e87da2833d599.tar.gz gdb-e1ce8aa5ed46310d716472d19d2e87da2833d599.tar.bz2 |
The list of changes is too long to fit in the cvs log (since it truncates!).
Look at the ChangeLog for Apr 30 and May 1.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r-- | gdb/coffread.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c index 0472591..9ef0092 100644 --- a/gdb/coffread.c +++ b/gdb/coffread.c @@ -394,7 +394,7 @@ make_blockvector () /* Manage the vector of line numbers. */ -static +static void record_line (line, pc) int line; CORE_ADDR pc; @@ -616,6 +616,7 @@ coff_symfile_init (sf) of the line table (minimum and maximum file offset) so that the mainline code can read the whole thing for efficiency. */ +/* ARGSUSED */ static void find_linenos (abfd, asect, vpinfo) bfd *abfd; @@ -653,6 +654,11 @@ find_linenos (abfd, asect, vpinfo) } +/* The BFD for this file -- only good while we're actively reading + symbols into a psymtab or a symtab. */ + +static bfd *symfile_bfd; + /* Read a symbol file, after initialization by coff_symfile_init. */ /* FIXME! Addr and Mainline are not used yet -- this will not work for shared libraries or add_file! */ @@ -1897,6 +1903,7 @@ read_struct_type (index, length, lastsym) /* Read a definition of an enumeration type, and create and return a suitable type object. Also defines the symbols that represent the values of the type. */ +/* Currently assumes it's sizeof (int) and doesn't use length. */ static struct type * read_enum_type (index, length, lastsym) @@ -1960,6 +1967,7 @@ read_enum_type (index, length, lastsym) /* Now fill in the fields of the type-structure. */ + /* FIXME: Should be sizeof (int) on target, not host. */ TYPE_LENGTH (type) = sizeof (int); TYPE_CODE (type) = TYPE_CODE_ENUM; TYPE_NFIELDS (type) = nsyms; |