linespec: keep function descriptors during minimal symbol search
authorJoel Brobecker <brobecker@gnat.com>
Wed, 4 Jan 2012 13:15:20 +0000 (13:15 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 4 Jan 2012 13:15:20 +0000 (13:15 +0000)
commit1a2da5eef019728312010d41acce8551de21c175
treea117cab82f5d6a0bafcde983ae3f8a42d0a990e5
parent71141310f5b64e62555792867496b1d580c582f0
linespec: keep function descriptors during minimal symbol search

When discarding data (minimal) symbols, we need to be careful to
not throw away the function descriptors.  This makes a difference
on platforms where these descriptors are used and live in a data
section.

gdb/ChangeLog:

        * linespec.c (add_minsym): Preserve function descriptors.
gdb/ChangeLog
gdb/linespec.c