From 0ec9f11447514a797ae13760825fa45f9deedd8c Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 30 May 2018 14:54:35 -0400 Subject: Remove regcache_register_status Remove regcache_register_status, change callers to use reg_buffer::get_register_status directly. gdb/ChangeLog: * regcache.h (regcache_register_status): Remove, update callers to use reg_buffer::get_register_status directly instead. * regcache.c (regcache_register_status): Remove. --- gdb/ctf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/ctf.c') diff --git a/gdb/ctf.c b/gdb/ctf.c index cae5d22..1ab095d 100644 --- a/gdb/ctf.c +++ b/gdb/ctf.c @@ -1262,7 +1262,7 @@ ctf_target::fetch_registers (struct regcache *regcache, int regno) /* Make sure we stay within block bounds. */ if (offset + regsize >= trace_regblock_size) break; - if (regcache_register_status (regcache, regn) == REG_UNKNOWN) + if (regcache->get_register_status (regn) == REG_UNKNOWN) { if (regno == regn) { -- cgit v1.1