diff options
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r-- | gdb/rs6000-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index baf6b67..bcabea5 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -4542,7 +4542,7 @@ ppc_process_record_op31 (struct gdbarch *gdbarch, struct regcache *regcache, return -1; case 1014: /* Data Cache Block set to Zero */ - if (target_auxv_search (¤t_target, AT_DCACHEBSIZE, &at_dcsz) <= 0 + if (target_auxv_search (current_target, AT_DCACHEBSIZE, &at_dcsz) <= 0 || at_dcsz == 0) at_dcsz = 128; /* Assume 128-byte cache line size (POWER8) */ |