Revision: 11902
Author:   [email protected]
Date:     Fri Jun 22 02:36:39 2012
Log:      Actually put debug information on stack when aborting.

[email protected]
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10627015
http://code.google.com/p/v8/source/detail?r=11902

Modified:
 /branches/bleeding_edge/src/debug.cc
 /branches/bleeding_edge/src/debug.h

=======================================
--- /branches/bleeding_edge/src/debug.cc        Wed Jun 20 01:58:41 2012
+++ /branches/bleeding_edge/src/debug.cc        Fri Jun 22 02:36:39 2012
@@ -896,8 +896,18 @@
                                    Address c_entry_fp,
                                    Address last_fp,
                                    Address larger_fp,
+                                   Address last_in_fp,
+                                   Address last_out_fp,
                                    int count,
                                    int end) {
+  OS::PrintError("start:       %d\n", start);
+  OS::PrintError("c_entry_fp:  %p\n", static_cast<void*>(c_entry_fp));
+  OS::PrintError("last_fp:     %p\n", static_cast<void*>(last_fp));
+  OS::PrintError("larger_fp:   %p\n", static_cast<void*>(larger_fp));
+  OS::PrintError("last_in_fp:  %p\n", static_cast<void*>(last_in_fp));
+  OS::PrintError("last_out_fp: %p\n", static_cast<void*>(last_out_fp));
+  OS::PrintError("count:       %d\n", count);
+  OS::PrintError("end:         %d\n", end);
   OS::Abort();
 }

@@ -1010,6 +1020,8 @@
                                frame->fp(),
                                thread_local_.last_fp_,
                                NULL,
+                               thread_local_.step_into_fp_,
+                               thread_local_.step_out_fp_,
                                count,
                                0xFEEEEEEE);
       } else if (it.frame()->fp() != thread_local_.last_fp_) {
@@ -1018,6 +1030,8 @@
                                frame->fp(),
                                thread_local_.last_fp_,
                                it.frame()->fp(),
+                               thread_local_.step_into_fp_,
+                               thread_local_.step_out_fp_,
                                count,
                                0xFEEEEEEE);
       }
=======================================
--- /branches/bleeding_edge/src/debug.h Tue Jun 19 07:29:48 2012
+++ /branches/bleeding_edge/src/debug.h Fri Jun 22 02:36:39 2012
@@ -236,6 +236,8 @@
                                         Address c_entry_fp,
                                         Address last_fp,
                                         Address larger_fp,
+                                        Address last_in_fp,
+                                        Address last_out_fp,
                                         int count,
                                         int end));
   Object* Break(Arguments args);

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to