mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
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.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user