Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/gdb fix core stack traces (missing re...



details:   https://anonhg.NetBSD.org/src/rev/9ab6f9d9b795
branches:  trunk
changeset: 450427:9ab6f9d9b795
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 13 18:02:05 2019 +0000

description:
fix core stack traces (missing register 25)

diffstat:

 external/gpl3/gdb/dist/gdb/arm-bsd-tdep.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 3789c94865a9 -r 9ab6f9d9b795 external/gpl3/gdb/dist/gdb/arm-bsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/arm-bsd-tdep.c Sat Apr 13 17:54:13 2019 +0000
+++ b/external/gpl3/gdb/dist/gdb/arm-bsd-tdep.c Sat Apr 13 18:02:05 2019 +0000
@@ -83,7 +83,7 @@
     }
 
   if (regnum == ARM_PS_REGNUM || regnum == -1)
-    regcache_raw_supply (regcache, i, regs + 16 * 4);
+    regcache_raw_supply (regcache, ARM_PS_REGNUM, regs + 16 * 4);
 
   if (len >= ARMBSD_SIZEOF_GREGS + ARMBSD_SIZEOF_FPREGS)
     {



Home | Main Index | Thread Index | Old Index