Fix non-pointer type compilation error in aix-thread.c
authorAditya Vidyadhar Kamath <ADITYA.VIDYADHAR.KAMATH@ibm.com>
Fri, 20 May 2022 14:16:34 +0000 (07:16 -0700)
committerJoel Brobecker <brobecker@adacore.com>
Fri, 20 May 2022 14:16:34 +0000 (07:16 -0700)
commitf270fd72f6694daa74cbd4d42a1ed3aaeddb8e38
tree02fd861b60b49438e424e8772c0d38f4b06cf038
parentb43771b045fb5616da3964f2994eefbe8ae70d32
Fix non-pointer type compilation error in aix-thread.c

In aix-thread.c we use ms->value_address () to get the symbol address.
This triggers the following compiler error...

     base operand of '->'  has non-pointer type 'bound_minimal_symbol'

... because ms is not a pointer.

This commit fixes this error by using ms.value_address () instead.
gdb/aix-thread.c