Re: [RFA] Ensure result of make_cleanup is never NULL.

Jan Kratochvil
2012-04-16T14:56:12Z

On Mon, 16 Apr 2012 16:40:11 +0200, Joel Brobecker wrote:
> Just a tiny idea, not really important, but JIC: Could we use an enum
> intead of a define so that GDB prints "CLEANUP_FENCEPOST" rather than
> a numeric value when we print a cleanup pointer that's the fencepost?

It will not work, it is a pointer, not enum.

Maybe one could add something to gdb-gdb.py but it also did not work for me.

Jan