aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-10-01 17:21:06 +0000
committerTom Tromey <tromey@redhat.com>2008-10-01 17:21:06 +0000
commit8b41ec65018fe0a58338c0940a32f6486b621ecf (patch)
tree610c85585705d2ca445ed310c36bd65f1ebfd913 /gdb/symfile.c
parent712f90be028d481f1d2151824f2b4e3f75263c00 (diff)
downloadgdb-8b41ec65018fe0a58338c0940a32f6486b621ecf.zip
gdb-8b41ec65018fe0a58338c0940a32f6486b621ecf.tar.gz
gdb-8b41ec65018fe0a58338c0940a32f6486b621ecf.tar.bz2
* symfile.c (syms_from_objfile): Update.
(reread_symbols): Update. * objfiles.h (OBJF_SYMS): Remove. (OBJF_REORDERED): Renumber. (OBJF_SHARED): Likewise. (OBJF_READNOW): Likewise. (OBJF_USERLOADED): Likewise.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 5964b84..92fa9da 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -896,11 +896,6 @@ syms_from_objfile (struct objfile *objfile,
(*objfile->sf->sym_read) (objfile, mainline);
- /* Mark the objfile has having had initial symbol read attempted. Note
- that this does not mean we found any symbols... */
-
- objfile->flags |= OBJF_SYMS;
-
/* Discard cleanups as symbol reading was successful. */
discard_cleanups (old_chain);
@@ -2440,7 +2435,6 @@ reread_symbols (void)
printf_unfiltered (_("(no debugging symbols found)\n"));
wrap_here ("");
}
- objfile->flags |= OBJF_SYMS;
/* We're done reading the symbol file; finish off complaints. */
clear_complaints (&symfile_complaints, 0, 1);