Skip to content

Instantly share code, notes, and snippets.

@durka
Created October 12, 2017 12:54
Show Gist options
  • Save durka/2064d30a5b241a133562d97cd8612fec to your computer and use it in GitHub Desktop.
Save durka/2064d30a5b241a133562d97cd8612fec to your computer and use it in GitHub Desktop.
(gdb) break collect.rs:1441 │·
Breakpoint 1 at 0x7ffff647cfd0: collect.rs:1441. (2 locations) │·
(gdb) run src/test/run-pass/trait-alias.rs │·
Starting program: /home/aburka/rust/vis/build/x86_64-unknown-linux-gnu/stage1/bin/rustc src/test/run-pass/trait-alias.rs │·
[Thread debugging using libthread_db enabled] │·
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". │·
[New Thread 0x7fffedc07700 (LWP 10583)] │·
[Switching to Thread 0x7fffedc07700 (LWP 10583)] │·
│·
Thread 2 "rustc" hit Breakpoint 1, rustc_typeck::collect::explicit_predicates_of (def_id=..., │·
tcx=...) at src/librustc_typeck/collect.rs:1445 │·
1445 let mut index = parent_count + has_own_self as u32; │·
(gdb) p predicates │·
$1 = <optimized out>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment