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: [no-commit-intention] Naive unnamed fields for main_type [Re: [patch] Fix gdb-gdb.py for flds_bnds copy-pastes]


> I naively tried first to just use unnamed field which makes everything great:

Hmmm, true! This flds_bnds union has been bugging me (when debugging)
pretty much ever since it was introduced.

Personally, I don't know what the obstacles are for switching to C99
(technical, FSF policy?). For this particular issue, I feel that it
would not exist if struct main_type was a C++ class. So that could be
another way out of that annoying union. (thinking aloud)

-- 
Joel


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