This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Use tag dispatch regcache ctor in regcache_dup
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Fri, 28 Apr 2017 23:56:02 -0400
- Subject: [binutils-gdb] Use tag dispatch regcache ctor in regcache_dup
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT deb1fa3edaf10c65d1f39951779927da955e3a57 ***
Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: deb1fa3edaf10c65d1f39951779927da955e3a57
Use tag dispatch regcache ctor in regcache_dup
This patch adds a tag dispatch ctor to create read-only regcache from
a write-through regcache, also this patch deletes copy ctor and
assignment operator.
gdb:
2017-04-28 Yao Qi <yao.qi@linaro.org>
Pedro Alves <palves@redhat.com>
* regcache.c (regcache::regcache): New tag dispatch ctor.
(do_cooked_read): Moved above.
(regcache_dup): Use the tag dispatch ctor..
* regcache.h (regcache): Declare ctor, delete copy ctor and
assignment operator, remove friend regcache_dup.