diff options
Diffstat (limited to 'gdb/nat/linux-btrace.c')
-rw-r--r-- | gdb/nat/linux-btrace.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/nat/linux-btrace.c b/gdb/nat/linux-btrace.c index e972a07..b87faf9 100644 --- a/gdb/nat/linux-btrace.c +++ b/gdb/nat/linux-btrace.c @@ -90,6 +90,9 @@ btrace_this_cpu (void) cpu.model += (cpuid >> 12) & 0xf0; } } + else if (ebx == signature_AMD_ebx && ecx == signature_AMD_ecx + && edx == signature_AMD_edx) + cpu.vendor = CV_AMD; } return cpu; @@ -406,6 +409,9 @@ cpu_supports_bts (void) case CV_INTEL: return intel_supports_bts (&cpu); + + case CV_AMD: + return 0; } } |