aboutsummaryrefslogtreecommitdiff
path: root/ld/plugin.h
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2015-01-25 11:20:39 +0100
committerMark Wielaard <mjw@redhat.com>2015-01-29 13:39:01 +0100
commit38360086aea4f956dcd4ba406318595ea11f7dea (patch)
tree7cab1d6ca85a5eb23cbc4f22e22a473b025dbb3c /ld/plugin.h
parent0f81d3f0a799c6e8c2a89d7f519916e3c9c0f65e (diff)
downloadgdb-38360086aea4f956dcd4ba406318595ea11f7dea.zip
gdb-38360086aea4f956dcd4ba406318595ea11f7dea.tar.gz
gdb-38360086aea4f956dcd4ba406318595ea11f7dea.tar.bz2
Merge GCC producer parsers. Allow digits in identifiers.
Both dwarf2read.c (checkproducer) and utils.c (producer_is_gcc_ge_4) implemented a GCC producer parser that tried to extract the major and minor version of GCC. Merge them into one GCC producer parser used by both. Also allow digits in the identifier after "GNU " such as used by GCC5 like: "GNU C11 5.0.0 20150123 (experimental) -mtune=generic -march=x86-64 -gdwarf-5" gdb/ChangeLog: * dwarf2read.c (checkproducer): Call producer_is_gcc. * utils.c (producer_is_gcc_ge_4): Likewise. (producer_is_gcc): New function. * utils.h (producer_is_gcc): New declaration.
Diffstat (limited to 'ld/plugin.h')
0 files changed, 0 insertions, 0 deletions