From 73e1c03f93f0294b464dc2b67de1f9aaae84838d Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 30 May 2018 14:54:45 -0400 Subject: Remove regcache_raw_supply Remove regcache_raw_supply, update callers to use detached_regcache::raw_supply. gdb/ChangeLog: * regcache.h (regcache_raw_supply): Remove, update callers to use detached_regcache::raw_supply. * regcache.c (regcache_raw_supply): Remove. --- gdb/tracefile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/tracefile.c') diff --git a/gdb/tracefile.c b/gdb/tracefile.c index f7e69f2..ab34ecf 100644 --- a/gdb/tracefile.c +++ b/gdb/tracefile.c @@ -394,7 +394,7 @@ tracefile_fetch_registers (struct regcache *regcache, int regno) /* We get here if no register data has been found. Mark registers as unavailable. */ for (regn = 0; regn < gdbarch_num_regs (gdbarch); regn++) - regcache_raw_supply (regcache, regn, NULL); + regcache->raw_supply (regn, NULL); /* We can often usefully guess that the PC is going to be the same as the address of the tracepoint. */ -- cgit v1.1