aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-01-18 01:24:12 +0000
committerPedro Alves <palves@redhat.com>2009-01-18 01:24:12 +0000
commite74994b5210df3516cd2b5a41abaa77c9a423b5c (patch)
tree61db237ffaae762326984b0809a4eff7498f8c0d /gdb
parent3464b8c2e0efffd01a0d64112fe390d49a063977 (diff)
downloadgdb-e74994b5210df3516cd2b5a41abaa77c9a423b5c.zip
gdb-e74994b5210df3516cd2b5a41abaa77c9a423b5c.tar.gz
gdb-e74994b5210df3516cd2b5a41abaa77c9a423b5c.tar.bz2
* hppa-hpux-tdep.c (hppa_hpux_write_pc): Remove 'return'.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/hppa-hpux-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 29d6ca2..d889651 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-18 Pedro Alves <pedro@codesourcery.com>
+
+ PR build/9186:
+ * hppa-hpux-tdep.c (hppa_hpux_write_pc): Remove 'return'.
+
2009-01-18 Nick Roberts <nickrob@snap.net.nz>
* thread.c (thread_command): Move call to annotate_thread_changed
diff --git a/gdb/hppa-hpux-tdep.c b/gdb/hppa-hpux-tdep.c
index d054686..cad04f7 100644
--- 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