diff options
| author | bors <bors@rust-lang.org> | 2013-05-07 03:24:37 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-05-07 03:24:37 -0700 |
| commit | 4023f54deb814529fe5be572b33e9df561ed494a (patch) | |
| tree | ebefcafda634b9c847af0c3d7432fca6bd4397e8 | |
| parent | bdb52e58b43736b1351fa20a2b3dcff619a5fd09 (diff) | |
| parent | 24de5bb649434fc57e1c06bbbe74bbc4662526ce (diff) | |
| download | rust-4023f54deb814529fe5be572b33e9df561ed494a.tar.gz rust-4023f54deb814529fe5be572b33e9df561ed494a.zip | |
auto merge of #6255 : brson/rust/nobreakpoint, r=graydon
These breakpoints make it difficult to debug coretest
| -rw-r--r-- | src/libcore/stackwalk.rs | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/libcore/stackwalk.rs b/src/libcore/stackwalk.rs index 987d4064ab9..24237694502 100644 --- a/src/libcore/stackwalk.rs +++ b/src/libcore/stackwalk.rs @@ -64,7 +64,7 @@ fn test_simple_deep() { if i == 0 { return } for walk_stack |_frame| { - breakpoint(); + // Would be nice to test something here... } run(i - 1); } @@ -72,24 +72,12 @@ fn test_simple_deep() { run(10); } -fn breakpoint() { - unsafe { - rustrt::rust_dbg_breakpoint() - } -} - fn frame_address(f: &fn(x: *u8)) { unsafe { rusti::frame_address(f) } } -pub mod rustrt { - pub extern { - pub unsafe fn rust_dbg_breakpoint(); - } -} - pub mod rusti { #[abi = "rust-intrinsic"] pub extern "rust-intrinsic" { |
