From: Philippe Proulx Date: Tue, 14 Nov 2023 15:23:35 +0000 (-0500) Subject: Remove `src/plugins/ctf/common/bfcr/btr.gdb` X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=035f34f68da05e2a5a11aaf9b52de1ade3c54329;p=babeltrace.git Remove `src/plugins/ctf/common/bfcr/btr.gdb` 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 Change-Id: I3ced5c5e57ee55013820cac77cdb456f3f984b0a Reviewed-on: https://review.lttng.org/c/babeltrace/+/11375 Tested-by: jenkins Reviewed-by: Michael Jeanson --- diff --git a/src/plugins/ctf/common/bfcr/btr.gdb b/src/plugins/ctf/common/bfcr/btr.gdb deleted file mode 100644 index 71cc0f6e..00000000 --- a/src/plugins/ctf/common/bfcr/btr.gdb +++ /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