bpo-33312: update Tools/gdb/libpython.py to match. (GH-6548) · python/cpython@53f67d4 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 53f67d4
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -730,7 +730,7 @@ def _get_entries(self, keys): | ||
730 | 730 | else: |
731 | 731 | offset = 8 * dk_size |
732 | 732 | |
733 | -ent_addr = keys['dk_indices']['as_1'].address | |
733 | +ent_addr = keys['dk_indices'].address | |
734 | 734 | ent_addr = ent_addr.cast(_type_unsigned_char_ptr()) + offset |
735 | 735 | ent_ptr_t = gdb.lookup_type('PyDictKeyEntry').pointer() |
736 | 736 | ent_addr = ent_addr.cast(ent_ptr_t) |