This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 4/5] Remove make_cleanup_regcache_invalidate
- From: Tom Tromey <tom at tromey dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Mon, 25 Sep 2017 19:36:04 -0600
- Subject: Re: [RFA 4/5] Remove make_cleanup_regcache_invalidate
- Authentication-results: sourceware.org; auth=none
- References: <20170924024608.4346-1-tom@tromey.com> <20170924024608.4346-5-tom@tromey.com> <20170925200408.GH8425@1170ee0b50d5>
>>>>> "Yao" == Yao Qi <qiyaoltc@gmail.com> writes:
>> + regcache_invalidator (m_regcache, m_regnum);
m_regcache-> invalidate (m_regnum)?
Yao> I don't see why we need to call ctor in dtor.
Ouch, yeah.
I'll fix.
Tom