2004-12-05 Randolph Chung <tausq@debian.org>
[deliverable/binutils-gdb.git] / gdb / scm-exp.c
index ee7f21d96165d61ea6abd1f1c40914cd860021e1..0de7428209b889ed30a2bc88a47edaed6b28878b 100644 (file)
@@ -1,5 +1,6 @@
 /* Scheme/Guile language support routines for GDB, the GNU debugger.
-   Copyright 1995, 1996, 2000 Free Software Foundation, Inc.
+
+   Copyright 1995, 1996, 2000, 2003 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -309,10 +310,10 @@ tryagain:
       if (!skipping)
        {
          struct value *val = scm_evaluate_string (str.ptr, lexptr - str.ptr);
-         if (!is_scmvalue_type (VALUE_TYPE (val)))
+         if (!is_scmvalue_type (value_type (val)))
            error ("quoted scm form yields non-SCM value");
          svalue = extract_signed_integer (VALUE_CONTENTS (val),
-                                          TYPE_LENGTH (VALUE_TYPE (val)));
+                                          TYPE_LENGTH (value_type (val)));
          goto handle_immediate;
        }
       return;
This page took 0.023369 seconds and 4 git commands to generate.