Move elf32.em and elf-generic.em functions
[deliverable/binutils-gdb.git] / gdb / c-valprint.c
index 7a1de70f6a13ad11d725cb16a0d77ee496d4c16b..c4306f1488f15af88abb2f44c4b732630235effb 100644 (file)
@@ -197,7 +197,6 @@ print_unpacked_pointer (struct type *type, struct type *elttype,
          struct value *vt_val;
          struct symbol *wsym = NULL;
          struct type *wtype;
-         struct block *block = NULL;
 
          if (want_space)
            fputs_filtered (" ", stream);
@@ -206,7 +205,7 @@ print_unpacked_pointer (struct type *type, struct type *elttype,
            {
              const char *search_name
                = MSYMBOL_SEARCH_NAME (msymbol.minsym);
-             wsym = lookup_symbol_search_name (search_name, block,
+             wsym = lookup_symbol_search_name (search_name, NULL,
                                                VAR_DOMAIN).symbol;
            }
 
@@ -564,7 +563,6 @@ c_val_print (struct type *type,
                         &c_decorations);
       break;
     }
-  gdb_flush (stream);
 }
 \f
 void
This page took 0.023932 seconds and 4 git commands to generate.