[RFA] Make "bt N" print correct number of frames when using a frame filter

Tom Tromey tom@tromey.com
Mon Feb 12 16:45:00 GMT 2018


>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:

>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:
>>> PR python/16497 notes that using "bt" with a positive argument prints
>>> the wrong number of frames when a frame filter is in use.

Tom> Going through my un-reviewed patches today.
Tom> Ping for this one.

Tom> I don't think this was ever approved.

Tom> There's a follow-up as well (to change the enum to use
Tom> DEF_ENUM_FLAGS_TYPE), but that one was OK'd; but still pending since it
Tom> touched the same code as this patch.

This is still pending review.

Some discussion here:
https://sourceware.org/ml/gdb-patches/2017-07/msg00200.html

Original patch here:
https://sourceware.org/ml/gdb-patches/2017-04/msg00630.html

I have a branch with this patch plus the previously-approved patch to
change frame_filter_flags to use DEF_ENUM_FLAGS_TYPE, so if/when this
one is ok'd, both will go in.

thanks,
Tom



More information about the Gdb-patches mailing list