projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Regenerate aarch64-pauth.c
[deliverable/binutils-gdb.git]
/
gdb
/
make-target-delegates
diff --git
a/gdb/make-target-delegates
b/gdb/make-target-delegates
index 83a1afcadfb0481bdd6e7ba746174d5b32e579bb..329306d7f25bc4d322b6690d16269965840b8213 100755
(executable)
--- a/
gdb/make-target-delegates
+++ b/
gdb/make-target-delegates
@@
-1,6
+1,6
@@
#!/usr/bin/perl
#!/usr/bin/perl
-# Copyright (C) 2013-201
8
Free Software Foundation, Inc.
+# Copyright (C) 2013-201
9
Free Software Foundation, Inc.
#
# This file is part of GDB.
#
#
# This file is part of GDB.
#
@@
-225,7
+225,7
@@
sub write_delegator($$@) {
if ($return_type ne 'void') {
print "return ";
}
if ($return_type ne 'void') {
print "return ";
}
- print "this->beneath->" . $name . " (";
+ print "this->beneath
()
->" . $name . " (";
print join (', ', @names);
print ");\n";
print "}\n\n";
print join (', ', @names);
print ");\n";
print "}\n\n";
@@
-309,19
+309,19
@@
sub write_debugmethod($$$@) {
print " $return_type result;\n";
}
print " $return_type result;\n";
}
- print " fprintf_unfiltered (gdb_stdlog, \"-> %s->$name (...)\\n\", this->beneath->shortname ());\n";
+ print " fprintf_unfiltered (gdb_stdlog, \"-> %s->$name (...)\\n\", this->beneath
()
->shortname ());\n";
# Delegate to the beneath target.
print " ";
if ($return_type ne 'void') {
print "result = ";
}
# Delegate to the beneath target.
print " ";
if ($return_type ne 'void') {
print "result = ";
}
- print "this->beneath->" . $name . " (";
+ print "this->beneath
()
->" . $name . " (";
print join (', ', @names);
print ");\n";
# Now print the arguments.
print join (', ', @names);
print ");\n";
# Now print the arguments.
- print " fprintf_unfiltered (gdb_stdlog, \"<- %s->$name (\", this->beneath->shortname ());\n";
+ print " fprintf_unfiltered (gdb_stdlog, \"<- %s->$name (\", this->beneath
()
->shortname ());\n";
for my $i (0 .. $#argtypes) {
if ($i > 0) {
print " fputs_unfiltered (\", \", gdb_stdlog);\n"
for my $i (0 .. $#argtypes) {
if ($i > 0) {
print " fputs_unfiltered (\", \", gdb_stdlog);\n"
@@
-390,11
+390,9
@@
sub print_class($) {
print "struct " . $name . " : public target_ops\n";
print "{\n";
print "struct " . $name . " : public target_ops\n";
print "{\n";
- print "
$name ()
;\n";
+ print "
const target_info &info () const override
;\n";
print "\n";
print "\n";
- print " const char *shortname () override;\n";
- print " const char *longname () override;\n";
- print " const char *doc () override;\n";
+ print " strata stratum () const override;\n";
print "\n";
for $name (@delegators) {
print "\n";
for $name (@delegators) {
This page took
0.024552 seconds
and
4
git commands to generate.