Re: [RFA] Patch for PR gdb/2477

Daniel Jacobowitz
2008-07-14T18:21:21Z

On Mon, Jul 14, 2008 at 11:11:59AM -0700, Paul Pluzhnikov wrote:
> There is something special about zero -- it very frequently occurs
> in correct C++ programs :)

Well, true :-)

> I've also added a "non-zero but invalid" pointer test at ~0UL.
> Is there a "canonical" invalid address I should be testing instead?

Nope, this is fine.

The patch is OK - if you'll update the dependencies for cp-abi.o in
Makefile.in also.

--
Daniel Jacobowitz
CodeSourcery