aboutsummaryrefslogtreecommitdiff
path: root/gdb/mdebugread.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/mdebugread.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/mdebugread.c')
-rw-r--r--gdb/mdebugread.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index 3cf5b76..d4aebc4 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -1522,10 +1522,6 @@ parse_type (int fd, union aux_ext *ax, unsigned int aux_index, int *bs,
if (t->fBitfield)
{
int width = AUX_GET_WIDTH (bigend, ax);
-#if 0 /* OBSOLETE CFront */
-// OBSOLETE /* Inhibit core dumps with some cfront generated objects that
-// OBSOLETE corrupt the TIR. */
-#endif /* OBSOLETE CFront */
/* Inhibit core dumps if TIR is corrupted. */
if (bs == (int *) NULL)
{
@@ -3043,22 +3039,6 @@ parse_partial_symbols (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 sh.value, 0,
-// OBSOLETE psymtab_language, objfile);
-// OBSOLETE }
-#endif /* OBSOLETE CFront */
}
goto check_enum;
case 't':
@@ -3205,11 +3185,6 @@ parse_partial_symbols (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 ':':