Skip to content

Instantly share code, notes, and snippets.

@jonleighton
Created December 7, 2017 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonleighton/c050092691c809ab7f12fa8113c6cb43 to your computer and use it in GitHub Desktop.
Save jonleighton/c050092691c809ab7f12fa8113c6cb43 to your computer and use it in GitHub Desktop.
(gdb) p textinput
$6 = core::cell::RefMut<script::textinput::TextInput<script_traits::ScriptToConstellationChan>> {value: 0x7fffeca35e48, borrow: core::cell::BorrowRefMut {borrow: 0x7fffeca35e40}}
(gdb) p textinput.get_absolute_selection_range()
Could not find function named 'core::cell::RefMut<script::textinput::TextInput<script_traits::ScriptToConstellationChan>>::get_absolute_selection_range'
(gdb) info functions get_absolute_selection_range
All functions matching regular expression "get_absolute_selection_range":
File components/script/textinput.rs:
static fn script::textinput::TextInput<script_traits::ScriptToConstellationChan>::get_absolute_selection_range<script_traits::ScriptToConstellationChan>(script::textinput::TextInput<script_traits::ScriptToConstellationChan> *) -> core::ops::range::Range<usize>;
(gdb) p textinput.get_absolute_selection_range<script_traits::ScriptToConstellationChan>()
syntax error in expression, near `>()'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment