aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-10-06 19:27:13 +0000
committerAndrew Cagney <cagney@redhat.com>2003-10-06 19:27:13 +0000
commit41989fcd807079207bf6a6ed39eb72ff4f3087eb (patch)
treee46d581dce0d02f6af0befc359ed86a4b07a2604 /gdb/xcoffread.c
parent28a86f5cc006038eeefb09bf74b756b3aacc1afa (diff)
downloadgdb-41989fcd807079207bf6a6ed39eb72ff4f3087eb.zip
gdb-41989fcd807079207bf6a6ed39eb72ff4f3087eb.tar.gz
gdb-41989fcd807079207bf6a6ed39eb72ff4f3087eb.tar.bz2
2003-10-06 Andrew Cagney <cagney@redhat.com>
* breakpoint.c, breakpoint.h: Remove obsolete code and comments. * buildsym.c, dbxread.c, gdbtypes.c, mdebugread.c: Ditto. * monitor.c, sparc-tdep.c, stabsread.c: Ditto. * stabsread.h, xcoffread.c: Ditto.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 05fb159..243dab8 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -2635,22 +2635,6 @@ scan_xcoff_symtab (struct objfile *objfile)
psymtab_language, objfile);
p += 1;
}
-#if 0 /* OBSOLETE CFront */
-// OBSOLETE /* The semantics of C++ state that "struct foo { ... }"
-// OBSOLETE also defines a typedef for "foo". Unfortuantely, cfront
-// OBSOLETE never makes the typedef when translating from C++ to C.
-// OBSOLETE We make the typedef here so that "ptype foo" works as
-// OBSOLETE expected for cfront translated code. */
-// OBSOLETE else if (psymtab_language == language_cplus)
-// OBSOLETE {
-// OBSOLETE /* Also a typedef with the same name. */
-// OBSOLETE add_psymbol_to_list (namestring, p - namestring,
-// OBSOLETE VAR_DOMAIN, LOC_TYPEDEF,
-// OBSOLETE &objfile->static_psymbols,
-// OBSOLETE symbol.n_value, 0,
-// OBSOLETE psymtab_language, objfile);
-// OBSOLETE }
-#endif /* OBSOLETE CFront */
}
goto check_enum;
@@ -2799,11 +2783,6 @@ scan_xcoff_symtab (struct objfile *objfile)
case '9':
case '-':
case '#': /* for symbol identification (used in live ranges) */
-#if 0 /* OBSOLETE CFront */
-// OBSOLETE /* added to support cfront stabs strings */
-// OBSOLETE case 'Z': /* for definition continuations */
-// OBSOLETE case 'P': /* for prototypes */
-#endif /* OBSOLETE CFront */
continue;
case ':':