gdb, btrace: fix family and model computation
authorMarkus Metzger <markus.t.metzger@intel.com>
Thu, 20 Oct 2022 14:27:34 +0000 (16:27 +0200)
committerMarkus Metzger <markus.t.metzger@intel.com>
Fri, 28 Oct 2022 05:42:53 +0000 (07:42 +0200)
commitd9757bcd43534875d2003962944d3d130289f82c
tree762649eb1617abf90e025e2155a188aaab6f43f1
parent56d4450bdfc873ff3c2d1ebb194c7a076d4d13f6
gdb, btrace: fix family and model computation

In gdb/nat/linux-btrace.c:btrace_this_cpu() we initialize the cpu
structure given to the libipt btrace decoder.

We only consider the extended model field for family 0x6 and forget about
family 0xf and we don't consider the extended family field.  Fix it.
gdb/nat/linux-btrace.c