summaryrefslogtreecommitdiff
path: root/gdb/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-05-06 18:03:33 +0000
committerMike Frysinger <vapier@gentoo.org>2013-05-06 18:03:33 +0000
commitcb59f805bbc0ce5ea8bdb58eb582d50fdd6de84d (patch)
tree8299a3e4d0fea2561f215d13cfcaae2bfdd808b3 /gdb/common
parentad8562bf2c2e0d54f691ab4bd6e81de0143e02a8 (diff)
downloadgdb-cb59f805bbc0ce5ea8bdb58eb582d50fdd6de84d.tar.gz
gdb: btrace: fix indentation style
Most of this func had the incorrect indentation level (starting with 4 spaces instead of 2).
Diffstat (limited to 'gdb/common')
-rw-r--r--gdb/common/linux-btrace.c68
1 files changed, 34 insertions, 34 deletions
diff --git a/gdb/common/linux-btrace.c b/gdb/common/linux-btrace.c
index ed0cb2445f7..d3c8705d769 100644
--- a/gdb/common/linux-btrace.c
+++ b/gdb/common/linux-btrace.c
@@ -340,40 +340,40 @@ static int
intel_supports_btrace (void)
{
#if defined __i386__ || defined __x86_64__
- unsigned int cpuid, model, family;
-
- __asm__ __volatile__ ("movl $1, %%eax;"
- "cpuid;"
- : "=a" (cpuid)
- :: "%ebx", "%ecx", "%edx");
-
- family = (cpuid >> 8) & 0xf;
- model = (cpuid >> 4) & 0xf;
-
- switch (family)
- {
- case 0x6:
- model += (cpuid >> 12) & 0xf0;
-
- switch (model)
- {
- case 0x1a: /* Nehalem */
- case 0x1f:
- case 0x1e:
- case 0x2e:
- case 0x25: /* Westmere */
- case 0x2c:
- case 0x2f:
- case 0x2a: /* Sandy Bridge */
- case 0x2d:
- case 0x3a: /* Ivy Bridge */
-
- /* AAJ122: LBR, BTM, or BTS records may have incorrect branch
- "from" information afer an EIST transition, T-states, C1E, or
- Adaptive Thermal Throttling. */
- return 0;
- }
- }
+ unsigned int cpuid, model, family;
+
+ __asm__ __volatile__ ("movl $1, %%eax;"
+ "cpuid;"
+ : "=a" (cpuid)
+ :: "%ebx", "%ecx", "%edx");
+
+ family = (cpuid >> 8) & 0xf;
+ model = (cpuid >> 4) & 0xf;
+
+ switch (family)
+ {
+ case 0x6:
+ model += (cpuid >> 12) & 0xf0;
+
+ switch (model)
+ {
+ case 0x1a: /* Nehalem */
+ case 0x1f:
+ case 0x1e:
+ case 0x2e:
+ case 0x25: /* Westmere */
+ case 0x2c:
+ case 0x2f:
+ case 0x2a: /* Sandy Bridge */
+ case 0x2d:
+ case 0x3a: /* Ivy Bridge */
+
+ /* AAJ122: LBR, BTM, or BTS records may have incorrect branch
+ "from" information afer an EIST transition, T-states, C1E, or
+ Adaptive Thermal Throttling. */
+ return 0;
+ }
+ }
return 1;