gdb/testsuite: make test names unique in gdb.python/py-format-string.exp
[deliverable/binutils-gdb.git] / gdb / cp-valprint.c
index 87a2d76bbc86181913c2382e1cc3466552570ca8..d303c83694da6e031377f049a121617e4686f1c2 100644 (file)
@@ -324,7 +324,7 @@ cp_print_value_fields (struct value *val, struct ui_file *stream,
                      i_offset += value_embedded_offset (val);
                      addr = extract_typed_address (valaddr + i_offset, i_type);
                      print_function_pointer_address (opts,
-                                                     get_type_arch (type),
+                                                     type->arch (),
                                                      addr, stream);
                    }
                }
This page took 0.024716 seconds and 4 git commands to generate.