зеркало из https://github.com/github/ruby.git
Add imemo types to global namespace in lldb helpers
This commit is contained in:
Родитель
bb12aa4d15
Коммит
d154d5d281
|
@ -168,6 +168,12 @@ def lldb_init(debugger):
|
|||
|
||||
value_types = []
|
||||
g = globals()
|
||||
|
||||
imemo_types = target.FindFirstType('enum imemo_type')
|
||||
|
||||
for member in imemo_types.GetEnumMembers():
|
||||
g[member.GetName()] = member.GetValueAsUnsigned()
|
||||
|
||||
for enum in target.FindFirstGlobalVariable('ruby_dummy_gdb_enums'):
|
||||
enum = enum.GetType()
|
||||
members = enum.GetEnumMembers()
|
||||
|
|
Загрузка…
Ссылка в новой задаче