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/7] find_pc_partial_function new parameter


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> find_pc_partial_function is heavily called inside GDB, therefore I
Jan> did not change its prototype and provided
Jan> find_pc_partial_function_gnu_ifunc instead.

Jan> While I have no problem with changing all the callers it means passing
Jan> everywhere the unused additional NULL parameter which may not be a win.

This approach is fine.  It is already used in many places in GDB.

This patch looked fine to me.

Tom


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