aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-11-10 02:44:38 +0700
committerMike Frysinger <vapier@gentoo.org>2022-11-10 14:27:41 +0700
commit7d95d825b3c40d74f17cc1cdb67f93e7ad1dcc66 (patch)
treea9a2c5f2fea8de713bd69b23b4625ecd69a332ac
parent40466c48e843221e010209e4baa4197debf7a092 (diff)
downloadgdb-7d95d825b3c40d74f17cc1cdb67f93e7ad1dcc66.zip
gdb-7d95d825b3c40d74f17cc1cdb67f93e7ad1dcc66.tar.gz
gdb-7d95d825b3c40d74f17cc1cdb67f93e7ad1dcc66.tar.bz2
sim: ppc: drop support for dgen -L option
Nothing passes this to dgen, and even if it did, nothing would happen because the generated spreg.[ch] files don't include any references back to the original data table. So drop it to simplify.
-rw-r--r--sim/ppc/dgen.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sim/ppc/dgen.c b/sim/ppc/dgen.c
index d772771..8a17700 100644
--- a/sim/ppc/dgen.c
+++ b/sim/ppc/dgen.c
@@ -292,10 +292,9 @@ main(int argc,
printf("-n <file-name> Use this as cpp line numbering name\n");
printf("-h Output header file\n");
printf("-p <spreg-file> Output spreg.h(P) or spreg.c(p)\n");
- printf("-L Suppress cpp line numbering in output files\n");
}
- while ((ch = getopt_long (argc, argv, "hLsn:r:p:", longopts, NULL))
+ while ((ch = getopt_long (argc, argv, "hsn:r:p:", longopts, NULL))
!= -1)
{
#if 0 /* For debugging. */
@@ -311,9 +310,6 @@ main(int argc,
case 'n':
real_file_name = strdup(optarg);
break;
- case 'L':
- file_references = lf_omit_references;
- break;
case 'h':
is_header = 1;
break;