aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-nat.h
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2020-02-05 11:43:22 -0600
committerChristian Biesinger <cbiesinger@google.com>2020-02-05 11:51:58 -0600
commitc6a42d11acf2d485bf70d76eda76fd005fcd6825 (patch)
treecd69fe3be29d98d681585e93486d43106588fccc /gdb/sparc-nat.h
parentc8ecdda6b68722c35bfdef56fdd4ba652d77bffc (diff)
downloadgdb-c6a42d11acf2d485bf70d76eda76fd005fcd6825.zip
gdb-c6a42d11acf2d485bf70d76eda76fd005fcd6825.tar.gz
gdb-c6a42d11acf2d485bf70d76eda76fd005fcd6825.tar.bz2
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-02-05 Christian Biesinger <cbiesinger@google.com> * sparc-nat.h (struct sparc_target) <xfer_partial>: Fix base class function call. Change-Id: I4fa88cbdc365efe89b84cc0619b60db38718d9ce
Diffstat (limited to 'gdb/sparc-nat.h')
-rw-r--r--gdb/sparc-nat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sparc-nat.h b/gdb/sparc-nat.h
index 1dbdd80..d07bd86 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);
}
};