aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-09-24 13:51:55 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-09-24 13:51:55 +0000
commita61d6db83d94b3956816f5e1f8c3837ac514fc27 (patch)
tree5d7dc19cd8611fb66717ece1e3bbf736bf7b600f /gdb/objfiles.c
parent2659903bfac3c387c0578ea9dce248a435354ff0 (diff)
downloadgdb-a61d6db83d94b3956816f5e1f8c3837ac514fc27.zip
gdb-a61d6db83d94b3956816f5e1f8c3837ac514fc27.tar.gz
gdb-a61d6db83d94b3956816f5e1f8c3837ac514fc27.tar.bz2
Remove solib-sunos.c
gdb/ 2013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com> Remove solib-sunos.c. * Makefile.in (ALLDEPFILES): Remove solib-sunos.c. * config/m68k/obsd.mh (NATDEPFILES): Remove solib-sunos.o. * objfiles.c (rt_common_objfile): Remove. (free_objfile): Remove rt_common_objfile comparison. * objfiles.h (rt_common_objfile): Remove. * solib-sunos.c: Remove. * symfile.c (reread_symbols): Remove solib-sunos.c comment.
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r--gdb/objfiles.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 2b8cf4e..1681547 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -63,8 +63,6 @@ DEFINE_REGISTRY (objfile, REGISTRY_ACCESS_FIELD)
/* Externally visible variables that are owned by this module.
See declarations in objfile.h for more info. */
-struct objfile *rt_common_objfile; /* For runtime common symbols */
-
struct objfile_pspace_info
{
struct obj_section **sections;
@@ -612,9 +610,6 @@ free_objfile (struct objfile *objfile)
if (objfile == symfile_objfile)
symfile_objfile = NULL;
- if (objfile == rt_common_objfile)
- rt_common_objfile = NULL;
-
/* Before the symbol table code was redone to make it easier to
selectively load and remove information particular to a specific
linkage unit, gdb used to do these things whenever the monolithic