projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid NULL dereference.
[deliverable/binutils-gdb.git]
/
gdb
/
hppa-hpux-tdep.c
diff --git
a/gdb/hppa-hpux-tdep.c
b/gdb/hppa-hpux-tdep.c
index d0546865c63c15eb6ae1f6c1accfee328594882b..cad04f7b4632bb8db52e9024fca7022da39e96e5 100644
(file)
--- a/
gdb/hppa-hpux-tdep.c
+++ b/
gdb/hppa-hpux-tdep.c
@@
-1404,7
+1404,7
@@
hppa_hpux_write_pc (struct regcache *regcache, CORE_ADDR pc)
if (flags & HPPA_HPUX_SS_INSYSCALL)
regcache_cooked_write_unsigned (regcache, HPPA_R31_REGNUM, pc | 0x3);
-
return
hppa_write_pc (regcache, pc);
+ hppa_write_pc (regcache, pc);
}
static CORE_ADDR
This page took
0.023249 seconds
and
4
git commands to generate.