[PATCH] Fix MI dprintf-insert not printing when a location is pending.

Antoine Tremblay antoine.tremblay@ericsson.com
Mon Apr 20 12:14:00 GMT 2015


ping...

On 03/27/2015 01:34 PM, Keith Seitz wrote:
> On 03/27/2015 10:12 AM, Antoine Tremblay wrote:
>> However there is still a problem forcing me to use gdb_expect I think,
>> namely mi_gdb_test waits for a command prompt like so :
>>
>> -re "^($string_regex\[\r\n\]+)?($pattern\[\r\n\]+$mi_gdb_prompt\[ \]*)"
>>
>> However dprintf does mean you will get a prompt printed...
>>
>> You will get a prompt only when hitting the breakpoint I placed.
>
> Ick. Yeah, you are right. My bad.
>
>> I could remove mi_expect_stop at the end and assume that breakpoint will
>> not fail but I think it's not right ? also mi-dprintf.exp is using the
>> same mi_run_cmd / gdb_expect / mi_expect_stop ...
>>
>> What do you think ?
>
> I think everything is fine as it is. Sorry about the noise.
>
> So, once again, while I am not a maintainer, I recommend a maintainer
> approve this patch.
>
> Thank you for your patience,
> Keith
>



More information about the Gdb-patches mailing list