gdb/
[deliverable/binutils-gdb.git] / gdb / jv-typeprint.c
index cc0f2bb7ed428cbb31ad9b42a403fb06976ff833..43995babacf37d54881f8f1d4908100dc5b027b9 100644 (file)
@@ -1,5 +1,6 @@
 /* Support for printing Java types for GDB, the GNU debugger.
-   Copyright (C) 1997, 1998, 1999, 2000, 2007 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 1999, 2000, 2007, 2008, 2009
+   Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -184,7 +185,7 @@ java_type_print_base (struct type *type, struct ui_file *stream, int show,
                    fprintf_filtered (stream, "public ");
                }
 
-             if (TYPE_FIELD_STATIC (type, i))
+             if (field_is_static (&TYPE_FIELD (type, i)))
                fprintf_filtered (stream, "static ");
 
              java_print_type (TYPE_FIELD_TYPE (type, i),
This page took 0.023351 seconds and 4 git commands to generate.