Option to elide single-bit bitfields when printing structures

Zack Weinberg zackw@Stanford.EDU
Sat Feb 24 13:05:00 GMT 2001


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



More information about the Gdb-patches mailing list