Re: [PATCH 1/1] gdb: set the cache information in 'get_prev_frame_maybe_check_cycle'

Tom Tromey <[email protected]>
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
Andrew> Comparing to null_frame_id always returns false, see
Andrew> frame_id::operator== for details.

I wonder if this could be changed.

This comparison behavior seems difficult to use, to me, whereas
comparing against "null" seems more normal... in ordinary code it's
really only NaNs that have this weird property and I tend to think
that's a bad model.

Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.