mirror of
https://github.com/apache/nuttx.git
synced 2026-03-23 14:05:12 +08:00
nxgdb: change the symbol g_statenames to nxsched_get_stateinfo::g_statenames
I0680e48d8ff8847c8712e1a54efe32d320e7c84d changes the scope of the symbol definition. So nxgdb needs to synchronize this modification. Signed-off-by: guoshengyuan1 <guoshengyuan1@xiaomi.com>
This commit is contained in:
committed by
Alan C. Assis
parent
8730b52170
commit
2dae11461d
@@ -216,7 +216,7 @@ class Nxinfothreads(gdb.Command):
|
||||
def invoke(self, args, from_tty):
|
||||
npidhash = gdb.parse_and_eval("g_npidhash")
|
||||
pidhash = gdb.parse_and_eval("g_pidhash")
|
||||
statenames = gdb.parse_and_eval("g_statenames")
|
||||
statenames = gdb.parse_and_eval("nxsched_get_stateinfo::g_statenames")
|
||||
|
||||
if utils.is_target_smp():
|
||||
gdb.write(
|
||||
|
||||
Reference in New Issue
Block a user