AMD64 - add missing assignments to fix garbled backtrace.
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Wed, 25 Nov 2009 16:45:45 +0000 (01:45 +0900)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Wed, 25 Nov 2009 16:45:45 +0000 (01:45 +0900)
arguments are still missing because we don't have working db_numargs().

sys/platform/pc64/x86_64/db_trace.c

index 3ccef35..ec09e5f 100644 (file)
@@ -304,6 +304,8 @@ db_nextframe(struct x86_64_frame **fp, db_addr_t *ip)
                }
                break;
        default:
+               rip = tf->tf_rip;
+               rbp = tf->tf_rbp;
                break;
        }