aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-12-04 03:24:36 +0000
committerJohn Gilmore <gnu@cygnus>1991-12-04 03:24:36 +0000
commit7a6093e8805d6a88bea7cc337a68538f43b11e01 (patch)
tree12158a1c432a82fe23e8cf8507911c7c9d3eaab2 /gdb/coffread.c
parent2e00f40a385a94838f7d74c508cedc7975463a22 (diff)
downloadgdb-7a6093e8805d6a88bea7cc337a68538f43b11e01.zip
gdb-7a6093e8805d6a88bea7cc337a68538f43b11e01.tar.gz
gdb-7a6093e8805d6a88bea7cc337a68538f43b11e01.tar.bz2
* coffread.c (coff_symfile_read): Avoid select_source_symtab,
since it is not needed and can cause errors when examining ".o" files. * symfile.c (compact_misc_function_vector): Handle empty vector.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index 21addf5..f942625 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -752,10 +752,6 @@ coff_symfile_read (sf, addr, mainline)
/* Go over the misc symbol bunches and install them in vector. */
condense_misc_bunches (!mainline);
-
- /* Make a default for file to list. */
-
- select_source_symtab (0); /* FIXME, this might be too slow, see dbxread */
}
static void