gdb: add .flake8 file
[deliverable/binutils-gdb.git] / gdb / p-exp.y
index 963e8989bf10bd75e7dcd315f498abbf762c3e8d..f496ce2016e5ac78b5264c2d603dc2e707ca760a 100644 (file)
@@ -651,8 +651,7 @@ variable:   block COLONCOLON name
                            error (_("No symbol \"%s\" in specified context."),
                                   copy.c_str ());
 
-                         pstate->push_new<var_value_operation>
-                           (sym.symbol, sym.block);
+                         pstate->push_new<var_value_operation> (sym);
                        }
        ;
 
@@ -690,8 +689,7 @@ variable:   name_not_typename
                              if (symbol_read_needs_frame (sym.symbol))
                                pstate->block_tracker->update (sym);
 
-                             pstate->push_new<var_value_operation>
-                               (sym.symbol, sym.block);
+                             pstate->push_new<var_value_operation> (sym);
                              current_type = sym.symbol->type; }
                          else if ($1.is_a_field_of_this)
                            {
@@ -728,7 +726,7 @@ variable:   name_not_typename
                                lookup_bound_minimal_symbol (arg.c_str ());
                              if (msymbol.minsym != NULL)
                                pstate->push_new<var_msym_value_operation>
-                                 (msymbol.minsym, msymbol.objfile);
+                                 (msymbol);
                              else if (!have_full_symbols ()
                                       && !have_partial_symbols ())
                                error (_("No symbol table is loaded.  "
This page took 0.023123 seconds and 4 git commands to generate.