public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Update copying.awk for _initialize declaration patch
@ 2022-01-02 19:50 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2022-01-02 19:50 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5046fddb3aebf6791eb272a369db459ed7bd7a03
commit 5046fddb3aebf6791eb272a369db459ed7bd7a03
Author: Tom Tromey <tom@tromey.com>
Date: Sun Jan 2 12:16:37 2022 -0700
Update copying.awk for _initialize declaration patch
Commit 6c265988 ("gdb: add back declarations for _initialize
functions") modified copying.c, but not copying.awk. This patch
updates copying.awk to backport the appropriate fix. This way, if
copying.awk is run again, it will create the correct output.
I'm checking this in as obvious.
Diff:
---
gdb/copying.awk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gdb/copying.awk b/gdb/copying.awk
index 1cd596a5641..702a6b4338a 100644
--- a/gdb/copying.awk
+++ b/gdb/copying.awk
@@ -50,8 +50,9 @@ NR == 1,/^[ ]*15\. Disclaimer of Warranty\.[ ]*$/ {
END {
print "}";
print "";
+ print "void _initialize_copying ();"
print "void"
- print "_initialize_copying (void)";
+ print "_initialize_copying ()";
print "{";
print " add_cmd (\"copying\", no_set_class, show_copying_command,";
print " _(\"Conditions for redistributing copies of GDB.\"),";
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-02 19:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-02 19:50 [binutils-gdb] Update copying.awk for _initialize declaration patch Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).