gdb: Don't dump params and locals for C frames
This commit is contained in:
parent
9720f5ac89
commit
1da77539da
@ -46,6 +46,7 @@ class CFP(gdb.Command):
|
|||||||
gdb.execute(f'p *({cfp})')
|
gdb.execute(f'p *({cfp})')
|
||||||
print()
|
print()
|
||||||
|
|
||||||
|
if self.get_int(f'{cfp}->iseq'):
|
||||||
local_size = self.get_int(f'{cfp}->iseq->body->local_table_size - {cfp}->iseq->body->param.size')
|
local_size = self.get_int(f'{cfp}->iseq->body->local_table_size - {cfp}->iseq->body->param.size')
|
||||||
param_size = self.get_int(f'{cfp}->iseq->body->param.size')
|
param_size = self.get_int(f'{cfp}->iseq->body->param.size')
|
||||||
print(f'Params (size={param_size}):')
|
print(f'Params (size={param_size}):')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user