aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/options.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-15 22:37:38 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-19 22:41:05 -0400
commit54c47dfb68a5e2cfde5fec7224b0f92b12edc42c (patch)
treee447e1560ec9ace125b4e26dbe16efbd638d9ca8 /sim/ppc/options.c
parent36842f65be97ba702ef574af6290bd327df64886 (diff)
downloadgdb-54c47dfb68a5e2cfde5fec7224b0f92b12edc42c.zip
gdb-54c47dfb68a5e2cfde5fec7224b0f92b12edc42c.tar.gz
gdb-54c47dfb68a5e2cfde5fec7224b0f92b12edc42c.tar.bz2
sim: ppc: rename inline defines to match common code
Use the same basic names as the common sim inline logic so we can merge the two. We don't do that here, just prepare for it. The common code seems to be based on the ppc version but with slightly different names as it was cleaned up & generalized. I *think* these concepts are the same, so binding them together is OK, but maybe I'm misreading them. If so, can always tweak them later. REVEAL_MODULE -> H_REVEALS_MODULE INLINE_MODULE -> C_REVEALS_MODULE
Diffstat (limited to 'sim/ppc/options.c')
-rw-r--r--sim/ppc/options.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/ppc/options.c b/sim/ppc/options.c
index d20fb04..8aefcb1 100644
--- a/sim/ppc/options.c
+++ b/sim/ppc/options.c
@@ -97,10 +97,10 @@ options_inline (int in)
case /*1*/ REVEAL_MODULE: return "REVEAL_MODULE";
case /*2*/ INLINE_MODULE: return "INLINE_MODULE";
case /*3*/ REVEAL_MODULE|INLINE_MODULE: return "REVEAL_MODULE|INLINE_MODULE";
- case /*4*/ PSIM_INLINE_LOCALS: return "PSIM_LOCALS_INLINE";
- case /*5*/ PSIM_INLINE_LOCALS|REVEAL_MODULE: return "PSIM_INLINE_LOCALS|REVEAL_MODULE";
- case /*6*/ PSIM_INLINE_LOCALS|INLINE_MODULE: return "PSIM_INLINE_LOCALS|INLINE_MODULE";
- case /*7*/ ALL_INLINE: return "ALL_INLINE";
+ case /*4*/ INLINE_LOCALS: return "INLINE_LOCALS";
+ case /*5*/ INLINE_LOCALS|REVEAL_MODULE: return "INLINE_LOCALS|REVEAL_MODULE";
+ case /*6*/ INLINE_LOCALS|INLINE_MODULE: return "INLINE_LOCALS|INLINE_MODULE";
+ case /*7*/ ALL_C_INLINE: return "ALL_C_INLINE";
}
return "0";
}