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:
guoshengyuan1
2025-08-19 20:32:52 +08:00
committed by Alan C. Assis
parent 8730b52170
commit 2dae11461d

View File

@@ -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(