From 4e8199b572f2035b7749cba276ece3a26630d23e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:21 +0200 Subject: Adding upstream version 1.67.1+dfsg1. Signed-off-by: Daniel Baumann --- src/etc/natvis/intrinsic.natvis | 12 ++++++++++-- src/etc/natvis/liballoc.natvis | 23 +++++++++++------------ 2 files changed, 21 insertions(+), 14 deletions(-) (limited to 'src/etc/natvis') diff --git a/src/etc/natvis/intrinsic.natvis b/src/etc/natvis/intrinsic.natvis index 277e57aaf..8c16a562e 100644 --- a/src/etc/natvis/intrinsic.natvis +++ b/src/etc/natvis/intrinsic.natvis @@ -1,6 +1,10 @@  - + + + + + {(char*)data_ptr,[length]s8} (char*)data_ptr,[length]s8 @@ -15,7 +19,11 @@ - + + + + + {{ len={length} }} length diff --git a/src/etc/natvis/liballoc.natvis b/src/etc/natvis/liballoc.natvis index bf6c02b91..c4ad98ec1 100644 --- a/src/etc/natvis/liballoc.natvis +++ b/src/etc/natvis/liballoc.natvis @@ -12,20 +12,19 @@ - {{ len={tail <= head ? head - tail : buf.cap - tail + head} }} + {{ len={len} }} - tail <= head ? head - tail : buf.cap - tail + head + len buf.cap - - - tail <= head ? head - tail : buf.cap - tail + head + + len - + - buf.ptr.pointer.pointer[i] - i = (i + 1 == buf.cap ? 0 : i + 1) + buf.ptr.pointer.pointer[(i + head) % buf.cap] + i = i + 1 @@ -85,7 +84,7 @@ - + {{ len={ptr.pointer.length} }} ptr.pointer.length @@ -115,7 +114,7 @@ - + {{ len={ptr.pointer.length} }} ptr.pointer.length @@ -144,7 +143,7 @@ - + {{ len={ptr.pointer.length} }} ptr.pointer.length @@ -173,7 +172,7 @@ - + {{ len={ptr.pointer.length} }} ptr.pointer.length -- cgit v1.2.3