From f868386e72baad6f35d4288f433266e03ed2753d Mon Sep 17 00:00:00 2001 From: Alan Hayward Date: Mon, 11 Jun 2018 10:09:30 +0100 Subject: Add regcache raw_compare method gdb/ * common/common-regcache.h (raw_compare): New function. * regcache.c (regcache::raw_compare): Likewise. * regcache.h (regcache::raw_compare): New declaration. gdbserver/ * regcache.c (regcache::raw_compare): New function. * regcache.h (regcache::raw_compare): New declaration. --- gdb/regcache.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/regcache.h') diff --git a/gdb/regcache.h b/gdb/regcache.h index 3b72986db1a..41465fb20d0 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -188,6 +188,9 @@ public: virtual ~reg_buffer () = default; + /* See common/common-regcache.h. */ + bool raw_compare (int regnum, const void *buf, int offset) const override; + protected: /* Assert on the range of REGNUM. */ void assert_regnum (int regnum) const; -- cgit v1.2.1