Changeset 2e94d94f


Ignore:
Timestamp:
Sep 29, 2022, 3:19:12 PM (21 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master
Children:
da77728
Parents:
f58522b0
Message:

Fixed a few bugs in the processor listing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gdb/utils-gdb.py

    rf58522b0 r2e94d94f  
    159159
    160160                # if we already saw the root, then go forward
    161                 my_next = self.curr['_X4link']['_X4nextPY13__tE_generic__1']
     161                my_next = self.curr['_X4linkS5dlink_S9processor__1']['_X4nextPY13__tE_generic__1']
    162162                self.curr = my_next.cast(cfa_t.processor_ptr)
    163163
     
    355355                ))
    356356                tls = tls_for_proc( processor )
    357                 thrd = tls['_X11this_threadVPS7thread$_1']
     357                thrd = thread_for_proc( processor )
    358358                if thrd != 0x0:
    359359                        tname = '{} {}'.format(thrd['self_cor']['name'].string(), str(thrd))
Note: See TracChangeset for help on using the changeset viewer.