gdb: fix no-expat build of solib-target.c
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 19 Oct 2023 20:17:34 +0000 (20:17 +0000)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 19 Oct 2023 20:18:17 +0000 (20:18 +0000)
commitf005ccb4bcc2fa79f005973728088d590b5e74fd
treebb4f2edeccc753dd47faf7a538641cccd8fec74e
parent8fa1b632c15f13adf6911c445be1ebede3925380
gdb: fix no-expat build of solib-target.c

Fixes:

      CXX    solib-target.o
    /home/smarchi/src/binutils-gdb/gdb/solib-target.c:57:8: error: ‘lm_info_vector’ does not name a type
       57 | static lm_info_vector
          |        ^~~~~~~~~~~~~~
    /home/smarchi/src/binutils-gdb/gdb/solib-target.c: In function ‘intrusive_list<shobj> solib_target_current_sos()’:
    /home/smarchi/src/binutils-gdb/gdb/solib-target.c:244:7: error: ‘solib_target_parse_libraries’ was not declared in this scope
      244 |     = solib_target_parse_libraries (library_document->data ());
          |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Change-Id: Ib477d3343b401017d79729118242143bc95f24b2
gdb/solib-target.c