public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb/gdb-9-branch] Fix base class function call
@ 2020-05-23 16:23 Joel Brobecker
0 siblings, 0 replies; only message in thread
From: Joel Brobecker @ 2020-05-23 16:23 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c4997f6072e77371faa5a35b7a58c34ccbe290ce
commit c4997f6072e77371faa5a35b7a58c34ccbe290ce
Author: Christian Biesinger <cbiesinger@google.com>
Date: Wed Feb 5 11:43:22 2020 -0600
Fix base class function call
This was a typo introduced in f6ac5f3d63e03a81c4ff3749aba234961cc9090e.
Found by looking through NetBSD's GDB patches:
https://github.com/NetBSD/pkgsrc-wip/blob/master/gdb-netbsd/patches/patch-gdb_sparc-nat.h
This patch can't be tested on Linux because Linux does not use the
sparc_target template.
gdb/ChangeLog:
2020-05-23 Christian Biesinger <cbiesinger@google.com>
PR gdb/26029:
* sparc-nat.h (struct sparc_target) <xfer_partial>: Fix base class
function call.
Change-Id: I4fa88cbdc365efe89b84cc0619b60db38718d9ce
(cherry picked from commit c6a42d11acf2d485bf70d76eda76fd005fcd6825)
Diff:
---
gdb/ChangeLog | 8 ++++++++
gdb/sparc-nat.h | 4 ++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1bf683d9191..0bcca0b9257 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,11 @@
+2020-05-23 Christian Biesinger <cbiesinger@google.com>
+
+ Pushed by Joel Brobecker <brobecker@adacore.com>
+
+ PR build/26029:
+ * sparc-nat.h (struct sparc_target) <xfer_partial>: Fix base class
+ function call.
+
2020-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR build/25981
diff --git a/gdb/sparc-nat.h b/gdb/sparc-nat.h
index 1dbdd80b5ed..d07bd86d039 100644
--- a/gdb/sparc-nat.h
+++ b/gdb/sparc-nat.h
@@ -75,8 +75,8 @@ struct sparc_target : public BaseTarget
return sparc_xfer_wcookie (object, annex, readbuf, writebuf,
offset, len, xfered_len);
- return BaseTarget (object, annex, readbuf, writebuf,
- offset, len, xfered_len);
+ return BaseTarget::xfer_partial (object, annex, readbuf, writebuf,
+ offset, len, xfered_len);
}
};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-23 16:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-23 16:23 [binutils-gdb/gdb-9-branch] Fix base class function call Joel Brobecker
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).