Re: [c++] Pointer to member overhaul

Ulrich Weigand
2007-01-08T16:02:44Z

Dan Jacobowitz wrote:

> Interesting - which ones?

FAIL: gdb.cp/classes.exp: print Bar::z
FAIL: gdb.cp/printmethod.exp: print virtual method.
FAIL: gdb.cp/printmethod.exp: print nonvirtual method.

> I didn't expect s390x to be affected
> but it might have to do with the old definition of the virtual
> function pointer check, which hardcoded the number "0x80000000".

Exactly. The default load address for the main executable on
s390x happens to be 0x80000000, which caused confusion with
the virtual function pointer encoding.

Bye,
Ulrich

--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com