aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-xdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/rs6000-xdep.c')
-rw-r--r--gdb/rs6000-xdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rs6000-xdep.c b/gdb/rs6000-xdep.c
index 6fb8469..2c491d4 100644
--- a/gdb/rs6000-xdep.c
+++ b/gdb/rs6000-xdep.c
@@ -258,7 +258,7 @@ frame_get_cache_fsr (fi, fdatap)
if (fi->cache_fsr)
return;
- if (fdatap = NULL) {
+ if (fdatap == NULL) {
fdatap = &work_fdata;
function_frame_info (get_pc_function_start (fi->pc), fdatap);
}