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: [PATCH 3/9] directly recurse using c_type_print


> This is a minor fix to change the C type printer to directly recurse
> rather than doing so via the generic type_print function.  This allows
> us to pass the flags through more easily.

I've always wondered why we seem to be consistently recursing via
the generic entry point. The same happens with the expression evaluator,
for instance, at least for the Ada evaluator. I don't see a testcase
were recursing directly rather than via the generic interface would
be incorrect. Even in the case where the Ada evaluator calls the C
(aka "standard") evaluator, there is no reason that I can think of
that the evaluator would need to revert back to Ada for that subexp.

-- 
Joel


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