This is the mail archive of the gdb-patches@sources.redhat.com 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] |
Try "{}" instead of {""}. In these sorts of situtations that works alot better.
which is the missing bit of my suggestion. { and \{ are the same thing when written in double quotes. So (since we can't use {} here, because there is a variable substitution inside gdb_test's argument), use two backslashes. That way one will reach the regex engine.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |