mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
* cp-valprint.c (cp_print_class_method): Call unpack_pointer() with
actually incoming type.
This commit is contained in:
parent
adb616d7c2
commit
1947a811e8
@ -1,3 +1,8 @@
|
||||
2003-04-14 Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
* cp-valprint.c (cp_print_class_method): Call unpack_pointer() with
|
||||
actually incoming type.
|
||||
|
||||
2003-04-13 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* ppc-linux-tdep.c: Use get_frame_base, get_frame_pc,
|
||||
|
@ -87,7 +87,7 @@ cp_print_class_method (char *valaddr,
|
||||
fprintf_filtered (stream, "<unknown>");
|
||||
return;
|
||||
}
|
||||
addr = unpack_pointer (lookup_pointer_type (builtin_type_void), valaddr);
|
||||
addr = unpack_pointer (type, valaddr);
|
||||
if (METHOD_PTR_IS_VIRTUAL (addr))
|
||||
{
|
||||
offset = METHOD_PTR_TO_VOFFSET (addr);
|
||||
|
Loading…
Reference in New Issue
Block a user