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: [RFA 01/67] Add add_cmd function overloads


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

>> We shouldn't really have the NULL case, anymore.  It is still
>> possible but I don't expect it to be used.  Should we assert CFUNC
>> != NULL?

Pedro> If that's possible, then it'd be nice to add ATTRIBUTE_NONNULL
Pedro> on the declaration too.

I added this.

Tom


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