gdb/
[deliverable/binutils-gdb.git] / gdb / tracepoint.c
index dcae84134ba8cd73e949b06adc13babc2d9de1d3..a078de4b3f486bae0958749f3cf9ae15305bc425 100644 (file)
@@ -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)
                    {
This page took 0.023661 seconds and 4 git commands to generate.