Re: Option to elide single-bit bitfields when printing structures

Zack Weinberg
2001-02-24T13:05:00Z

On Fri, Feb 23, 2001 at 10:05:16AM -0800, Michael Snyder wrote:
>
> I don't think this feature is necessary. This is just an
> instance of special display of data. This is what the
> gdb scripting language is for.

Is it, then, possible to write a gdb macro which can display an
arbitrary structure type in this fashion? As far as I know, I would
have to write individual macros for each structure I wanted to see
specially. The feature I added works with every structure.

zw