File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
13
13
14
14
### Fixed
15
15
16
+ - ` tt coredump ` : adjust Tarantool GDB-extention to avoid load failure if ` main_cord `
17
+ symbol is ` optimized out ` in gdb session.
18
+
16
19
## [ 2.11.0] - 2025-09-10
17
20
18
21
The release supports Tarantool Config Storage in ` tt cluster failover ` commands and
Original file line number Diff line number Diff line change @@ -1560,7 +1560,7 @@ def _init(cls):
1560
1560
if not hasattr (cls , '_containers_map' ):
1561
1561
cls ._containers_map = cls .__build_containers_map (cls ._containers )
1562
1562
1563
- __symbol_re = re .compile ('(\w+)(?:\s*\+\s*(\d+))?' )
1563
+ __symbol_re = re .compile (r '(\w+)(?:\s*\+\s*(\d+))?' )
1564
1564
1565
1565
@classmethod
1566
1566
def lookup_entry_info (cls , address ):
@@ -2582,16 +2582,14 @@ def fiber():
2582
2582
2583
2583
2584
2584
class Cord (object ):
2585
- __main_cord_fibers = gdb .parse_and_eval ('main_cord.alive' )
2586
- __list_entry_info = RlistLut .lookup_entry_info (__main_cord_fibers .address )
2587
-
2588
2585
def __init__ (self ):
2589
2586
self .__cord_ptr = cord ()
2590
2587
2591
2588
def fibers (self ):
2592
2589
fibers = self .__cord_ptr ['alive' ]
2593
2590
fibers = Rlist (fibers .address )
2594
- fibers = map (lambda x : self .__class__ .__list_entry_info .container_from_field (x ), fibers )
2591
+ list_entry_info = RlistLut .lookup_entry_info_by_container (ContainerFieldInfo ("cord::alive" ))
2592
+ fibers = map (lambda x : list_entry_info .container_from_field (x ), fibers )
2595
2593
return itertools .chain (fibers , [self .__cord_ptr ['sched' ].address ])
2596
2594
2597
2595
def fiber (self , fid ):
You can’t perform that action at this time.
0 commit comments