This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA 0/5] Make cp-name-parser.y a pure parser


I've been experimenting a bit with using threads to parallelize
psymbol reading.

One difficulty here is that cp-name-parser.y is used by the DWARF
reader, but is not reentrant.

It turns out, though, that fixing this is not too difficult.  I had at
first thought that this would require Bison, but Byacc also supports a
pure mode.  More details in patch #3.

Tested by the buildbot.  I'm unaware of whether byacc is used by any
of the builders, so I also built gdb using byacc for this parser and
locally ran gdb.cp/*.exp as a smoke test.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]