diff options
author | Mike Frysinger <vapier@gentoo.org> | 2024-01-01 18:14:13 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-01 18:16:38 -0500 |
commit | 1b89e2b72052e60fc7a6c0301a67070accc714e1 (patch) | |
tree | 74599de2929676a7a8d1260d0b496f79fd0b7234 /sim/ppc/table.c | |
parent | 9ddac092a831d9eb4a53959764c2d13b12964a0c (diff) | |
download | gdb-1b89e2b72052e60fc7a6c0301a67070accc714e1.zip gdb-1b89e2b72052e60fc7a6c0301a67070accc714e1.tar.gz gdb-1b89e2b72052e60fc7a6c0301a67070accc714e1.tar.bz2 |
sim: ppc: merge misc igen APIs
The common igen code provides the same misc APIs as the ppc version,
so delete the ppc code and pull in the common one. There is one
minor difference: the ppc code has a unique dumpf function. The
common code switched to lf_printf for the same functionality, but
since that requires changes throughout the igen codebase, delay that
cleanup for now so we can merge the rest.
Diffstat (limited to 'sim/ppc/table.c')
-rw-r--r-- | sim/ppc/table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/ppc/table.c b/sim/ppc/table.c index 0c5b6fc..5cac56e 100644 --- a/sim/ppc/table.c +++ b/sim/ppc/table.c @@ -27,6 +27,7 @@ #include "misc.h" #include "lf.h" #include "table.h" +#include "dumpf.h" #include <unistd.h> #include <stdlib.h> |