> On 13 Jun 2017, at 12:33, Yao Qi wrote: > > On Tue, Jun 13, 2017 at 12:29 PM, Yao Qi wrote: > >> >> This patch was posted here >> https://sourceware.org/ml/gdb-patches/2017-05/msg00492.html but the >> problem was fixed in a different way. However, I think the patch is still >> useful to shorten the code. > > Add Alan to CC. > > It is an RFC, because I am not sure people like it or hate it :) My only objection to this would be that “enable_if” is fairly confusing. However, having said that, I think the end result is quite nice, and calling the functions is very simple, so I withdraw my objection. It would be nice if the header files could use “LongType” instead of the longer “enable_if” block, however I remember when I tried this myself and couldn’t find a way around it. Alan. &j!z޶|yb֫rnr