about summary refs log tree commit diff
path: root/src/libcore/stackwalk.rs
diff options
context:
space:
mode:
authorPaul Stansifer <paul.stansifer@gmail.com>2012-08-22 17:24:52 -0700
committerPaul Stansifer <paul.stansifer@gmail.com>2012-08-23 11:14:14 -0700
commit29f32b4a7298b0807408658bc8add1de8a06ab12 (patch)
treec989293754f94ce2c22cee3902af0c57d33e6dd0 /src/libcore/stackwalk.rs
parent226fd87199fb0184fb39ffc5dff3865cfdc9f362 (diff)
downloadrust-29f32b4a7298b0807408658bc8add1de8a06ab12.tar.gz
rust-29f32b4a7298b0807408658bc8add1de8a06ab12.zip
`m1!{...}` -> `m1!(...)`
Diffstat (limited to 'src/libcore/stackwalk.rs')
-rw-r--r--src/libcore/stackwalk.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/stackwalk.rs b/src/libcore/stackwalk.rs
index 959ee4cf5a8..3dad707a92b 100644
--- a/src/libcore/stackwalk.rs
+++ b/src/libcore/stackwalk.rs
@@ -16,7 +16,7 @@ struct Frame {
 
 fn walk_stack(visit: fn(Frame) -> bool) {
 
-    debug!{"beginning stack walk"};
+    debug!("beginning stack walk");
 
     do frame_address |frame_pointer| {
         let mut frame_address: *Word = unsafe {
@@ -25,14 +25,14 @@ fn walk_stack(visit: fn(Frame) -> bool) {
         loop {
             let fr = Frame(frame_address);
 
-            debug!{"frame: %x", unsafe { reinterpret_cast(fr.fp) }};
+            debug!("frame: %x", unsafe { reinterpret_cast(fr.fp) });
             visit(fr);
 
             unsafe {
                 let next_fp: **Word = reinterpret_cast(frame_address);
                 frame_address = *next_fp;
                 if *frame_address == 0u {
-                    debug!{"encountered task_start_wrapper. ending walk"};
+                    debug!("encountered task_start_wrapper. ending walk");
                     // This is the task_start_wrapper_frame. There is
                     // no stack beneath it and it is a foreign frame.
                     break;