This is the mail archive of the gdb-prs@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]

[Bug breakpoints/16465] -dprintf-insert does not store the string for pending dprintf


https://sourceware.org/bugzilla/show_bug.cgi?id=16465

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Antoine Tremblay <hexa@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=98aa42ee02c56378cecb737d01c27adca36bf48f

commit 98aa42ee02c56378cecb737d01c27adca36bf48f
Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Date:   Fri Jun 12 07:58:47 2015 -0400

    Fix MI dprintf-insert not printing on a resolved pending location.

    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.

    gdb/ChangeLog:

        PR breakpoints/16465
        * breakpoint.c (create_breakpoint): Save extra_string for
        pending breakpoints.

    gdb/testsuite/ChangeLog:

        PR breakpoints/16465
        * gdb.mi/mi-dprintf-pending.c: New file.
        * gdb.mi/mi-dprintf-pending.exp: New test.
        * gdb.mi/mi-dprintf-pendshr.c: New file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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