* hppa-hpux-tdep.c (hppa_hpux_write_pc): Remove 'return'.
authorPedro Alves <palves@redhat.com>
Sun, 18 Jan 2009 01:24:12 +0000 (01:24 +0000)
committerPedro Alves <palves@redhat.com>
Sun, 18 Jan 2009 01:24:12 +0000 (01:24 +0000)
gdb/ChangeLog
gdb/hppa-hpux-tdep.c

index 29d6ca289a06511c6d4cfbbe9ab2929d53fdb19b..d8896512189efed808995e5a914ad25119ae7225 100644 (file)
@@ -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
index d0546865c63c15eb6ae1f6c1accfee328594882b..cad04f7b4632bb8db52e9024fca7022da39e96e5 100644 (file)
@@ -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