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


On 12/18/2013 05:43 AM, Doug Evans wrote:
> This patch removes the function abbreviations from the debugging output.

Function abbreviations are also mentioned in linux-nat debugging output.
IWBN to keep them consistent.

> In one example it's wrong (GPS vs get_detach_signal), and I rarely
> keep in cache the translation to function name.

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

-- 
Yao (éå)


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