aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/table.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2024-01-03 02:54:37 -0500
committerMike Frysinger <vapier@gentoo.org>2024-01-03 03:32:08 -0500
commit7811c75893c4078d9b81f05d1642d7833c0ca400 (patch)
treebb4cfc4d09b17d21e1615a6285d9404973899930 /sim/ppc/table.c
parent339e44f8c0bcd4c9d8cf10faddff61fbb39cb201 (diff)
downloadgdb-7811c75893c4078d9b81f05d1642d7833c0ca400.zip
gdb-7811c75893c4078d9b81f05d1642d7833c0ca400.tar.gz
gdb-7811c75893c4078d9b81f05d1642d7833c0ca400.tar.bz2
sim: ppc: unify igen line number output modules
The common igen code was forked from the ppc long ago. The lf module is still pretty similar in API, so we can unfork them with a little bit of effort. Some of the generated ppc code is now slightly different, but that's because of fixes the common igen code has gained, but not the ppc igen code (e.g. fixing of #line numbers). The ppc code retains lf_print__c_code because the common igen code rewrote the logic to a new table.c API. Let's delay that in the ppc code to at least unfork all this code.
Diffstat (limited to 'sim/ppc/table.c')
-rw-r--r--sim/ppc/table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/table.c b/sim/ppc/table.c
index 5cac56e..94f0492 100644
--- a/sim/ppc/table.c
+++ b/sim/ppc/table.c
@@ -341,7 +341,7 @@ extern void
table_entry_print_cpp_line_nr(lf *file,
table_entry *entry)
{
- lf_print__external_reference(file, entry->line_nr, entry->file_name);
+ lf_print__external_ref(file, entry->line_nr, entry->file_name);
}