*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / mdebugread.c
index 453b983c66d300ba61b4208ab55b45fd8e85d095..d4aebc4bab961f17bf35669d20284047da04db67 100644 (file)
@@ -373,7 +373,7 @@ static FDR *
 get_rfd (int cf, int rf)
 {
   FDR *fdrs;
-  register FDR *f;
+  FDR *f;
   RFDT rfd;
 
   fdrs = debug_info->fdr;
@@ -508,7 +508,7 @@ push_parse_stack (void)
   /* Initialize new frame with previous content */
   if (top_stack)
     {
-      register struct parse_stack *prev = new->prev;
+      struct parse_stack *prev = new->prev;
 
       *new = *top_stack;
       top_stack->prev = new;
@@ -558,7 +558,7 @@ static struct mdebug_pending *
 is_pending_symbol (FDR *fh, char *sh)
 {
   int f_idx = fh - debug_info->fdr;
-  register struct mdebug_pending *p;
+  struct mdebug_pending *p;
 
   /* Linear search is ok, list is typically no more than 10 deep */
   for (p = pending_list[f_idx]; p; p = p->next)
@@ -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)
        {
@@ -2228,7 +2224,7 @@ parse_partial_symbols (struct objfile *objfile)
   char *ext_out;
   char *ext_out_end;
   EXTR *ext_block;
-  register EXTR *ext_in;
+  EXTR *ext_in;
   EXTR *ext_in_end;
   SYMR sh;
   struct partial_symtab *pst;
@@ -2936,7 +2932,7 @@ parse_partial_symbols (struct objfile *objfile)
                      if (pst && STREQ (namestring, pst->filename))
                        continue;
                      {
-                       register int i;
+                       int i;
                        for (i = 0; i < includes_used; i++)
                          if (STREQ (namestring, psymtab_include_list[i]))
                            {
@@ -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 ':':
@@ -3627,8 +3602,8 @@ parse_partial_symbols (struct objfile *objfile)
       if (objfile->ei.entry_point >= save_pst->textlow &&
          objfile->ei.entry_point < save_pst->texthigh)
        {
-         objfile->ei.entry_file_lowpc = save_pst->textlow;
-         objfile->ei.entry_file_highpc = save_pst->texthigh;
+         objfile->ei.deprecated_entry_file_lowpc = save_pst->textlow;
+         objfile->ei.deprecated_entry_file_highpc = save_pst->texthigh;
        }
 
       /* The objfile has its functions reordered if this partial symbol
@@ -4438,7 +4413,7 @@ cross_ref (int fd, union aux_ext *ax, struct type **tpp, enum type_code type_cod
    keeping the symtab sorted */
 
 static struct symbol *
-mylookup_symbol (char *name, register struct block *block,
+mylookup_symbol (char *name, struct block *block,
                 domain_enum domain, enum address_class class)
 {
   struct dict_iterator iter;
@@ -4527,7 +4502,7 @@ add_line (struct linetable *lt, int lineno, CORE_ADDR adr, int last)
 static int
 compare_blocks (const void *arg1, const void *arg2)
 {
-  register int addr_diff;
+  int addr_diff;
   struct block **b1 = (struct block **) arg1;
   struct block **b2 = (struct block **) arg2;
 
@@ -4568,8 +4543,8 @@ sort_blocks (struct symtab *s)
           compare_blocks);
 
   {
-    register CORE_ADDR high = 0;
-    register int i, j = BLOCKVECTOR_NBLOCKS (bv);
+    CORE_ADDR high = 0;
+    int i, j = BLOCKVECTOR_NBLOCKS (bv);
 
     for (i = FIRST_LOCAL_BLOCK; i < j; i++)
       if (high < BLOCK_END (BLOCKVECTOR_BLOCK (bv, i)))
This page took 0.025054 seconds and 4 git commands to generate.