This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Patch for PR gdb/2477


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]