This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Patch for PR gdb/2477
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