]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Ensure proc-service symbols have default visibility (PR build/24805)
authorPedro Alves <palves@redhat.com>
Thu, 16 Jan 2020 18:35:30 +0000 (18:35 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 16 Jan 2020 19:14:14 +0000 (19:14 +0000)
commit790f17188a22e722bab9915e1d50307f8cb7c0f9
tree89c687df3234928a9ac6bbc71557bbc69399c14f
parent701adfb00922a6d5f76dfa74dc13f144a50d9a9b
Ensure proc-service symbols have default visibility (PR build/24805)

Compiling GDB with '-fvisibility=hidden' removes the symbols that
should be exported.

This patch explicitly marks them as visible.

gdb/ChangeLog:
2020-01-16  Pedro Alves  <palves@redhat.com>
            Norbert Lange  <nolange79@gmail.com>

PR build/24805
* gdbsupport/gdb_proc_service.h (PS_EXPORT): New.
(ps_get_thread_area, ps_getpid, ps_lcontinue, ps_lgetfpregs)
(ps_lgetregs, ps_lsetfpregs, ps_lsetregs, ps_lstop, ps_pcontinue)
(ps_pdread, ps_pdwrite, ps_pglobal_lookup, ps_pstop, ps_ptread)
(ps_ptwrite, ps_lgetxregs, ps_lgetxregsize, ps_lsetxregs)
(ps_plog): Redeclare exported functions with default visibility.
gdb/ChangeLog
gdbsupport/gdb_proc_service.h