gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdb / go-valprint.c
index fe2ee46ef1d565588cf22ef060f3392c02776684..1933e98ed29e3daca53082e9722ee44b4a865eed 100644 (file)
@@ -92,7 +92,7 @@ go_value_print_inner (struct value *val, struct ui_file *stream,
 {
   struct type *type = check_typedef (value_type (val));
 
-  switch (TYPE_CODE (type))
+  switch (type->code ())
     {
       case TYPE_CODE_STRUCT:
        {
This page took 0.045402 seconds and 4 git commands to generate.