Skip to content

Commit

Permalink
Make gdb stop spamming "No RTTI symbol" warnings in yt_fiber_printers
Browse files Browse the repository at this point in the history
e7034cabf97d282830954046742a5be9f4f5a3af
  • Loading branch information
E1pp committed Jun 4, 2024
1 parent 9d91f66 commit 9db71d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ynd/gdb/14/pretty_printers/yt_fibers_printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,13 @@ def parse_vector(addresses, fibers):


def parse_util_list(addresses, fibers):
down_cast = (str(fibers).find("(NYT::NConcurrency::NDetail::TFiberBase*)") != -1)
for line in format_string_multiline(fibers).split('\n'):
if line.find('[') == -1:
continue
address = line.split(' ')[-3].replace(']', '')
if down_cast:
address = obtain_fiber_address(address)
addresses.append(address)

def get_registered_fiber_addresses():
Expand Down

0 comments on commit 9db71d8

Please sign in to comment.