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 v3] Fix MI dprintf-insert not printing on a resolved pending location.


On 06/12/2015 01:27 PM, Antoine Tremblay wrote:
> ---
> Diffs in v3 :
>  - some syntax formating for int main
>  - wording changes to make it more clear that the pending location is now resolved 
>  - more explicit mi_expect_stop

Thanks.  That does make it more obvious what is going on here.

> This patch fixes the "Format string required" error when trying to print
> a dprintf on a now resolved, pending location when set via the MI interface
> even if the format string is entered correctly.
> 
> This patch also adds a test case to check that issue called
> mi-dprintf-pending.exp.
> 

OK with:

> +extern void pendfunc ();

(void) here too.

Thank you and thanks Keith too.

-- 
Pedro Alves


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