aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/ld-cache.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-cache.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-cache.c')
-rw-r--r--sim/ppc/ld-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/ld-cache.c b/sim/ppc/ld-cache.c
index 9a78f90..a5d101d 100644
--- a/sim/ppc/ld-cache.c
+++ b/sim/ppc/ld-cache.c
@@ -115,7 +115,7 @@ main(int argc, char **argv)
{
cache_table *rules;
if (argc != 3)
- error("Usage: cache <cache-file> <hi-bit-nr>\n");
+ ERROR("Usage: cache <cache-file> <hi-bit-nr>\n");
rules = load_cache_table(argv[1], a2i(argv[2]));
dump_cache_rules(rules, 0);
return 0;