This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix "beneath" conversion on AIX
- From: Sergio Durigan Junior <sergiodj at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 14 Jun 2018 21:49:56 -0000
- Subject: [binutils-gdb] Fix "beneath" conversion on AIX
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b9a3c020eab9f6e73a439592b3ba8f8cdadcaa1e
commit b9a3c020eab9f6e73a439592b3ba8f8cdadcaa1e
Author: Sergio Durigan Junior <sergiodj@redhat.com>
Date: Thu Jun 14 17:46:15 2018 -0400
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.
Diff:
---
gdb/aix-thread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index 8b1b0ed..643d321 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 ();