aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/ld-decode.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2024-01-01 17:34:01 -0500
committerMike Frysinger <vapier@gentoo.org>2024-01-01 17:39:09 -0500
commit9ddac092a831d9eb4a53959764c2d13b12964a0c (patch)
treea9177cbf20722b0c81ee211beb50886309028322 /sim/ppc/ld-decode.c
parentef993dfa05f6a79a76ede0d0be00f7ac93d7c75c (diff)
downloadgdb-9ddac092a831d9eb4a53959764c2d13b12964a0c.zip
gdb-9ddac092a831d9eb4a53959764c2d13b12964a0c.tar.gz
gdb-9ddac092a831d9eb4a53959764c2d13b12964a0c.tar.bz2
sim: ppc: rework igen error to match common
Switch to an ERROR macro and tweak the error signature to match the common igen version in preparation for merging the two implementations.
Diffstat (limited to 'sim/ppc/ld-decode.c')
-rw-r--r--sim/ppc/ld-decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/ld-decode.c b/sim/ppc/ld-decode.c
index 63c2c2e..a631645 100644
--- a/sim/ppc/ld-decode.c
+++ b/sim/ppc/ld-decode.c
@@ -143,7 +143,7 @@ main(int argc, char **argv)
{
decode_table *rules;
if (argc != 3)
- error("Usage: decode <decode-file> <hi-bit-nr>\n");
+ ERROR("Usage: decode <decode-file> <hi-bit-nr>\n");
rules = load_decode_table(argv[1], a2i(argv[2]));
dump_decode_rules(rules, 0);
return 0;