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 39/40] fix compile_rx_or_error


>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

>> -  if (!rx)
>> -    return NULL;
>> -

Yao> Do we need an assert on RX here?

It can't hurt, but I think the subsequent regcomp will just crash.
I will add one.

Tom


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