aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-11-03 20:15:19 +0700
committerMike Frysinger <vapier@gentoo.org>2022-11-03 20:15:29 +0700
commit75bed973c865be279cc0ab390372eab391b2541a (patch)
tree70e5b50cdf09e267a74957c7e1e4705d61c76ecb
parent4556d82e8a77dfbdcff32cd55cb1dcfbf8807a39 (diff)
downloadgdb-75bed973c865be279cc0ab390372eab391b2541a.zip
gdb-75bed973c865be279cc0ab390372eab391b2541a.tar.gz
gdb-75bed973c865be279cc0ab390372eab391b2541a.tar.bz2
sim: ppc: include copyright & license in --version
This makes it match the other sim run programs and GNU tools.
-rw-r--r--sim/ppc/psim.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/ppc/psim.c b/sim/ppc/psim.c
index acc40ed..863e2ed 100644
--- a/sim/ppc/psim.c
+++ b/sim/ppc/psim.c
@@ -359,6 +359,11 @@ psim_options(device *root,
{
extern const char version[];
printf ("GNU simulator %s%s\n", PKGVERSION, version);
+ printf ("Copyright (C) 2022 Free Software Foundation, Inc.\n");
+ printf ( "\
+License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>\
+\nThis is free software: you are free to change and redistribute it.\n\
+There is NO WARRANTY, to the extent permitted by law.\n");
if (kind == SIM_OPEN_STANDALONE)
exit (0);
else