Skip to content

Commit deb7967

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents 3968914 + 5002ecd commit deb7967

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

debug/kgdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ def invoke(self, arg, from_tty):
766766
if entry['kind'] == self.SUCCESS:
767767
print('Match succeeds')
768768
elif entry['kind'] == self.FUNCTION:
769-
debugFunctionName = entry['debugName'].string("iso-8859-1")
769+
debugFunctionName = entry['debug_name'].string("iso-8859-1")
770770
functionName = entry['function'].string("iso-8859-1")
771771
print(debugFunctionName + '(', end='')
772772
name = functionName if functionName[:5] == 'hook_' else debugFunctionName

debug/klldb.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def __call__(self, debugger, command, exe_ctx, result):
125125

126126

127127
class LogEntry:
128-
typename = 'MatchLog'
128+
typename = 'match_log'
129129

130130
def __init__(self, exe_ctx, root, idx):
131131
self.exe_ctx = exe_ctx
@@ -142,7 +142,7 @@ def _field_expr(self, field):
142142

143143
def get_match_function_args(self):
144144
return target_call(self.exe_ctx, 'get_match_fn_args', 'void **',
145-
['MatchLog *'], [self.root])
145+
['match_log *'], [self.root])
146146

147147
@property
148148
def kind(self):
@@ -170,7 +170,7 @@ def subject(self):
170170
def debug_name(self):
171171
err = lldb.SBError()
172172
return self.exe_ctx.process.ReadCStringFromMemory(
173-
to_address(self._field_expr('debugName')), 65536, err)
173+
to_address(self._field_expr('debug_name')), 65536, err)
174174

175175
@property
176176
def function(self):
@@ -201,7 +201,7 @@ def _get_match_log_size(self):
201201
return target_call(self.exe_ctx, 'getmatch_log_size', 'size_t').data.uint64[0]
202202

203203
def _get_match_log(self):
204-
return target_call(self.exe_ctx, 'getmatch_log', 'MatchLog *')
204+
return target_call(self.exe_ctx, 'getmatch_log', 'match_log *')
205205

206206
def _type_to_sort(self, ty):
207207
return {

0 commit comments

Comments
 (0)