]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: fix maint info btrace master
authorMarkus Metzger <markus.t.metzger@intel.com>
Wed, 22 Jul 2026 07:39:24 +0000 (07:39 +0000)
committerMarkus Metzger <markus.t.metzger@intel.com>
Thu, 23 Jul 2026 05:06:21 +0000 (05:06 +0000)
commit2d3ff0f750c12b0ca2f9e572d3a22e63200ba913
tree218fd8b4bc0f2dbb438d64d4c4797b6dc6c360dd
parent85fb82cc8c960e97c5a51f51b87b19a3e6263c50
gdb: fix maint info btrace

The 'maint info btrace' command forgets to check whether the trace has
already been decoded and keeps appending the same trace to the packet
history at every command.  Fix that.

Reviewed-by: Tom Tromey <tom@tromey.com>
gdb/btrace.c