Skip to content

Use gdb.parse_and_eval to get symbol address

kalvdans1 requested to merge kalvdans1/loko:eval-to-get-unwinder-symbol into master

Since gdb.lookup_global_symbol doesn't find the symbol for some unknown reason, use gdb.parse_and_eval instead. However, it can't be used when inside a frame, because it causes recursion. Read out the symbol address from top-level code instead.

Fixes #6 (closed)

Signed-off-by: Christian Häggström kalvdans@gmail.com

Merge request reports