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: [RFC][PATCH v2][PR remote/16896] Invalidate a register in cache when a remote target failed to write it.


Hi Pedro,

>> +}
>> +
>> +struct cleanup *
>> +make_cleanup_regcache_invalidate (struct regcache *regcache, int regnum)
> 
> As nothing is calling this outside regcache.c, please make it static.
> 

Should I exclude make_cleanup_regcache_invalidate from regcache.h as well in
this case?

Thank you for the review! And sorry for the formatting errors.

Best,

Pierre


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