2003-07-07 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / eval.c
index c266cd1e33e200072f9d4d716e115e3e1cef4f4c..914a552070405c6c48ce7c829dc59e172694fedf 100644 (file)
@@ -454,7 +454,7 @@ evaluate_subexp_standard (struct type *expect_type,
        (*pos) += 2;
        if (val == NULL)
          error ("Value of register %s not available.",
-                frame_map_regnum_to_name (regno));
+                frame_map_regnum_to_name (get_selected_frame (), regno));
        else
          return val;
       }
This page took 0.034806 seconds and 4 git commands to generate.