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]

Re: [PATCH v2] Fix sorting of enum values in FlagEnumerationPrinter


On 01/20/2016 06:10 PM, Simon Marchi wrote:

>   I noticed that I could change the regexps to almost anything and the
>   tests would still pass.  I think it was because of the | in there.  I
>   made them more robust by using string_to_regexp.  

You can use gdb_test_exact instead, which does the string_to_regexp
for you.  OK with that change.

Thanks,
Pedro Alves


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