diff options
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index dcae841..a078de4 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -3844,7 +3844,7 @@ tfile_fetch_registers (struct target_ops *ops, /* Make sure we stay within block bounds. */ if (offset + regsize >= trace_regblock_size) break; - if (!regcache_valid_p (regcache, regn)) + if (regcache_register_status (regcache, regn) == REG_UNKNOWN) { if (regno == regn) { |