This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>> +    /* Set this flag if a "More frames" message is to be printed.  */
>> +    PRINT_MORE_FRAMES = 16,
>> };

Sergio> Not that I want you to fix this, but I like when bitflags are set using
Sergio> the "1 << X" notation.  Oh, well...

I added a patch for this and I also changed this code to use
DEF_ENUM_FLAGS_TYPE, which seems better.  I'll send this change
separately.

>> +	  assert ((flags & PRINT_MORE_FRAMES) != 0);

Sergio> gdb_assert here, right?

Oops, yes.  I made this change.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]