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] Code cleanup: Make function typedef for find memory region


> Jan> Implementation should name the field in the interface to be able to jump
> Jan> there.
> 
> I like this idea.

The documentation I write in that case is:

    /* Implement the to_do_this target_ops method.  */

This avoid duplication, and refers back to the routine that this
function is supposed to implement.

-- 
Joel


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