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 2/6] gdbserver: remove function abbrevs from debugging text


>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

Yao> The function names in debugging output will be out of sync as function
Yao> names are changed, unless macro __func__ is used.  However, __func__
Yao> is defined in C99 and we are using C90 (?) in GDB.

FWIW we found out a while back that gdbserver actually relies on GNU C
-- see the ax_debug and ax_debug_1 defines in ax.c.  And, BFD
unconditionally uses "long long" in spots.  So while the rule is
officially that gdb is C89, in practice that isn't actually true.

Tom


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