Remove `src/plugins/ctf/common/bfcr/btr.gdb`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 14 Nov 2023 15:23:35 +0000 (10:23 -0500)
committerMichael Jeanson <mjeanson@efficios.com>
Mon, 20 Nov 2023 21:52:15 +0000 (16:52 -0500)
We don't use nor maintain that. I'm not even sure what it does. We used
it mostly while developing Babeltrace 2.0, but things are stable now.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I3ced5c5e57ee55013820cac77cdb456f3f984b0a
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11375
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Michael Jeanson <mjeanson@efficios.com>
src/plugins/ctf/common/bfcr/btr.gdb [deleted file]

diff --git a/src/plugins/ctf/common/bfcr/btr.gdb b/src/plugins/ctf/common/bfcr/btr.gdb
deleted file mode 100644 (file)
index 71cc0f6..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-define ctf-btr-show-stack
-    if (stack_empty($arg0))
-        printf "stack is empty!\n"
-    else
-        set $stack_size = stack_size($arg0)
-        set $stack_at = (int) ($stack_size - 1)
-        printf "%3s    %10s   %4s    %3s\n", "pos", "base addr", "blen", "idx"
-
-        while ($stack_at >= 0)
-            set $stack_entry = (struct stack_entry *) g_ptr_array_index($arg0->entries, $stack_at)
-
-            if ($stack_at == $stack_size - 1)
-                printf "%3d    %10p    %3d    %3d  <-- top\n", $stack_at, \
-                    $stack_entry->base_class, $stack_entry->base_len, \
-                    $stack_entry->index
-            else
-                printf "%3d    %10p    %3d    %3d\n", $stack_at, \
-                    $stack_entry->base_class, $stack_entry->base_len, \
-                    $stack_entry->index
-            end
-            set $stack_at = $stack_at - 1
-        end
-    end
-end
This page took 0.025769 seconds and 4 git commands to generate.