gdb: remove TYPE_CODE macro
[deliverable/binutils-gdb.git] / gdb / compile / compile-c-support.c
index b24a6c3d22e1060e02f044ddcc8a8560025bc0dc..8499300179c06e121540a9743516c16a0a8874e2 100644 (file)
@@ -242,7 +242,7 @@ generate_register_struct (struct ui_file *stream, struct gdbarch *gdbarch,
               maximally-aligned array of the correct size.  */
 
            fputs_unfiltered ("  ", stream);
-           switch (TYPE_CODE (regtype))
+           switch (regtype->code ())
              {
              case TYPE_CODE_PTR:
                fprintf_filtered (stream, "__gdb_uintptr %s",
This page took 0.028346 seconds and 4 git commands to generate.