Fix "beneath" conversion on AIX
authorSergio Durigan Junior <sergiodj@redhat.com>
Thu, 14 Jun 2018 21:46:15 +0000 (17:46 -0400)
committerSergio Durigan Junior <sergiodj@redhat.com>
Thu, 14 Jun 2018 21:46:15 +0000 (17:46 -0400)
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.

gdb/aix-thread.c

index 8b1b0ed97f62750672370df382fbaebed6d85aef..643d3213f0e0c7ca9d169837a0b914f3869b1476 100644 (file)
@@ -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 ();
This page took 0.02528 seconds and 4 git commands to generate.