summaryrefslogtreecommitdiff
path: root/gdb/aix-thread.c
diff options
context:
space:
mode:
authorSergio Durigan Junior <sergiodj@redhat.com>2018-06-14 17:46:15 -0400
committerSergio Durigan Junior <sergiodj@redhat.com>2018-06-14 17:46:15 -0400
commitb9a3c020eab9f6e73a439592b3ba8f8cdadcaa1e (patch)
treec4ec953e8c3b20e2b34de7562ef9da8615a080bc /gdb/aix-thread.c
parent6f20c942c3dbc08d02f74e4d508e19f8617bc5e3 (diff)
downloadbinutils-gdb-b9a3c020eab9f6e73a439592b3ba8f8cdadcaa1e.tar.gz
Fix "beneath" conversion on AIX
GDB build on AIX is broken according to BuildBot: ../../binutils-gdb/gdb/aix-thread.c: In member function 'virtual void aix_thread_target::mourn_inferior()': ../../binutils-gdb/gdb/aix-thread.c:1735:34: error: 'beneath' cannot be used as a function target_ops *beneath = beneath (); ^ This obvious commit fixes it. There's apparently another issue breaking the build there, but that's unrelated. gdb/ChangeLog: 2018-06-14 Sergio Durigan Junior <sergiodj@redhat.com> * aix-thread.c (aix_thread_target::xfer_partial): Use "beneath" as a method.
Diffstat (limited to 'gdb/aix-thread.c')
-rw-r--r--gdb/aix-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index 8b1b0ed97f6..643d3213f0e 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -1732,7 +1732,7 @@ aix_thread_target::xfer_partial (enum target_object object,
void
aix_thread_target::mourn_inferior ()
{
- target_ops *beneath = beneath ();
+ target_ops *beneath = this->beneath ();
pd_deactivate ();
beneath->mourn_inferior ();