Skip to content

Commit a9495e0

Browse files
committed
change lookup from OsString.inner.inner.0 -> OsString.inner.inner.bytes
1 parent 6067b36 commit a9495e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/gdb_providers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def __init__(self, valobj):
7171
self._valobj = valobj
7272
buf = self._valobj["inner"]["inner"]
7373
is_windows = "Wtf8Buf" in buf.type.name
74-
vec = buf[ZERO_FIELD] if is_windows else buf
74+
vec = buf["bytes"] if is_windows else buf
7575

7676
self._length = int(vec["len"])
7777
self._data_ptr = unwrap_unique_or_non_null(vec["buf"]["inner"]["ptr"])

0 commit comments

Comments
 (0)