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/15075] dprintf inteferes with "next"


http://sourceware.org/bugzilla/show_bug.cgi?id=15075

--- Comment #12 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
CVSROOT:    /cvs/src
Module name:    src
Branch:     gdb_7_6-branch
Changes by:    teawater@sourceware.org    2013-06-26 02:32:53

Added files:
    gdb/testsuite/gdb.base: dprintf-next.c dprintf-next.exp 
                            dprintf-non-stop.c dprintf-non-stop.exp 

Log message:
    2013-06-26  Yao Qi  <yao@codesourcery.com>
    Hui Zhu  <hui@codesourcery.com>
    Pedro Alves  <palves@redhat.com>

    PR breakpoints/15075
    PR breakpoints/15434
    * breakpoint.c (bpstat_stop_status): Call
    b->ops->after_condition_true.
    (update_dprintf_command_list): Don't append "continue" command
    to the command list of dprintf breakpoint.
    (base_breakpoint_after_condition_true): New function.
    (base_breakpoint_ops): Add base_breakpoint_after_condition_true.
    (dprintf_after_condition_true): New function.
    (initialize_breakpoint_ops): Set dprintf_after_condition_true.
    * breakpoint.h (breakpoint_ops): Add after_condition_true.

    2013-06-26  Yao Qi  <yao@codesourcery.com>
    Hui Zhu  <hui@codesourcery.com>
    Pedro Alves  <palves@redhat.com>

    PR breakpoints/15075
    PR breakpoints/15434
    * gdb.base/dprintf-next.c: New file.
    * gdb.base/dprintf-next.exp: New file.
    * gdb.base/dprintf-non-stop.c: New file.
    * gdb.base/dprintf-non-stop.exp: New file.
    * gdb.base/dprintf.exp: Don't check "continue" in the output
    of "info breakpoints".
    * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
    Don't check "continue" in script field.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/dprintf-next.c.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=NONE&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/dprintf-next.exp.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=NONE&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/dprintf-non-stop.c.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=NONE&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/dprintf-non-stop.exp.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=NONE&r2=1.1.2.2

-- 
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]