5187dbfffe
- Take raw addresses instead of ObjectPtr. gdb seems to sometimes not understand how to do the cast. - Use newer "retain" attribute to disable linker GC instead of exporting a dynamic symbol. - Add helper to get the current thread. Directly accessing dart::OSThread::current_vm_thread_ doesn't work. - Add helper to find the function or stub for a PC and disassemble. TEST=gdb Change-Id: I3825a820194673a9a9d5153cd0e0cf175acab5f4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/363403 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>