gdb: use compiled_regex instead of std::regex
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 15 Apr 2021 17:30:57 +0000 (18:30 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 19 Apr 2021 17:28:57 +0000 (18:28 +0100)
commitf5dc2ee39d6324d3979e3dcea5ee1d718c516a31
tree4256bbe19ebc90b08a744e8cbf7d9674bf9c99da
parent229597a129f62d5e8a101f1eed95489e2399f741
gdb: use compiled_regex instead of std::regex

In GDB we should be using compiled_regex instead of std::regex.
Replace one use in producer.c.

There should be no user visible changes after this commit.

gdb/ChangeLog:

* producer.c: Replace 'regex' include with 'gdb_regex.h'.
(producer_is_icc): Replace use of std::regex with gdb's
compiled_regex.
gdb/ChangeLog
gdb/producer.c