Re: [RFA] Patch for PR gdb/2477

Daniel Jacobowitz
2008-07-15T19:03:55Z

On Tue, Jul 15, 2008 at 08:52:14PM +0200, Ulrich Weigand wrote:
> The c2 pointer will therefore show up as 0x3ffff:
>
> p acp->c2^M
> $10 = (A *) 0x3ffff^M
> (gdb) FAIL: gdb.cp/class2.exp: p acp->c2
>
> Any suggestions how to fix this?

Ignoring the number entirely should preserve the intention of the test
- we're interested in the "A *" and in there being no error message.
"${hex}f"?

--
Daniel Jacobowitz
CodeSourcery