summaryrefslogtreecommitdiff
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
commit408acf78bae0d7d1d5fc12ce7474ba9c6dd9a5b1 (patch)
treeef424375fa6f20910fb969d7432730ceaa200047 /gdb/xcoffread.c
parent5e42fb544abbf809b80aaa0d78c5a3eedb82b69d (diff)
downloadgdb-408acf78bae0d7d1d5fc12ce7474ba9c6dd9a5b1.tar.gz
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 05fb159bcd7..243dab81de4 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 ':':