X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fgnu-v3-abi.c;h=42b939d4192c218df793dd1756ee1cca3ce280ae;hb=edf0c1b7caed4e2bfb9a84fd9c226c6720da1d97;hp=ed94b846688eef1ce9a68666bab7e5ead85690bf;hpb=f41f5e616a40673b56bf68aefb99ad7d94fd17ae;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c index ed94b84668..42b939d419 100644 --- a/gdb/gnu-v3-abi.c +++ b/gdb/gnu-v3-abi.c @@ -620,7 +620,12 @@ gnuv3_print_method_ptr (const gdb_byte *contents, print_longest (stream, 'd', 1, ptr_value); } else - print_address_demangle (gdbarch, ptr_value, stream, demangle); + { + struct value_print_options opts; + + get_user_print_options (&opts); + print_address_demangle (&opts, gdbarch, ptr_value, stream, demangle); + } if (adjustment) { @@ -890,8 +895,7 @@ print_one_vtable (struct gdbarch *gdbarch, struct value *value, if (ex.reason < 0) printf_filtered (_(""), ex.message); else - print_function_pointer_address (gdbarch, addr, gdb_stdout, - opts->addressprint); + print_function_pointer_address (opts, gdbarch, addr, gdb_stdout); printf_filtered ("\n"); } }