emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The new "pp" command in gud is no longer so dangerous...


From: Richard M. Stallman
Subject: Re: The new "pp" command in gud is no longer so dangerous...
Date: Thu, 10 Nov 2005 15:49:17 -0500

    > It would be better to handle that case by treating all values
    > as ok, rather than treating all values as bad.
    > At least that would work as well as the old code.

    Well, there is no "old code" in this case.

It is useless to have the button and make it do nothing.
Meanwhile, just testing for a valid data type ought to enable
it to avoid most crashes.  So wouldn't it be better, in the
case where you can't test the pointer's validity, to assume
"yes" instead of assume "no"?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]