public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/15075] New: dprintf inteferes with "next"
@ 2013-01-28 18:49 tromey at redhat dot com
  2013-02-02 18:43 ` [Bug breakpoints/15075] " qiyao at gcc dot gnu.org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: tromey at redhat dot com @ 2013-01-28 18:49 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 15075
           Summary: dprintf inteferes with "next"
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
        AssignedTo: unassigned@sourceware.org
        ReportedBy: tromey@redhat.com
    Classification: Unclassified


Debug this simple program:

barimba. nl -ba q.c
     1    int main()
     2    {
     3      int x = 5;
     4    
     5      ++x;
     6      ++x;
     7    
     8      return x - 7;
     9    }


Now put a dprintf on line 6:

(gdb) dprintf q.c:6, "%d\n", x
Dprintf 1 at 0x400483: file q.c, line 6.


Now "start" and try "next"ing through the program.
Once the dprintf is hit, "next" will act like "continue".
This is a bug in how dprintf is implemented.

(gdb) start
Temporary breakpoint 2 at 0x400478: file q.c, line 3.
Starting program: /tmp/q 

Temporary breakpoint 2, main () at q.c:3
3      int x = 5;
(gdb) n
5      ++x;
(gdb) 
6
[Inferior 1 (process 15434) exited normally]
[Inferior 15434 exited]

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug breakpoints/15075] dprintf inteferes with "next"
  2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
@ 2013-02-02 18:43 ` qiyao at gcc dot gnu.org
  2013-02-02 20:34 ` tromey at redhat dot com
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: qiyao at gcc dot gnu.org @ 2013-02-02 18:43 UTC (permalink / raw)
  To: gdb-prs

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

Yao Qi <qiyao at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |qiyao at gcc dot gnu.org
         AssignedTo|unassigned at sourceware    |qiyao at gcc dot gnu.org
                   |dot org                     |

--- Comment #1 from Yao Qi <qiyao at gcc dot gnu.org> 2013-02-02 18:43:22 UTC ---
We need add a new user-invisible "continue without clearing proceed status"
command, and let dprintf to use it.  I'll post patches for this.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug breakpoints/15075] dprintf inteferes with "next"
  2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
  2013-02-02 18:43 ` [Bug breakpoints/15075] " qiyao at gcc dot gnu.org
@ 2013-02-02 20:34 ` tromey at redhat dot com
  2013-02-04  2:52 ` qiyao at gcc dot gnu.org
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: tromey at redhat dot com @ 2013-02-02 20:34 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Tom Tromey <tromey at redhat dot com> 2013-02-02 20:34:29 UTC ---
(In reply to comment #1)
> We need add a new user-invisible "continue without clearing proceed status"
> command, and let dprintf to use it.  I'll post patches for this.

The existing Python "Breakpoint.stop" API needed this kind
of thing already, so the infrastructure exists.
The error was making dprintf use the breakpoint commands instead
of just having internal actions; the original review pointed this out.

If you do implement a command like this, don't make it user-invisible.
It might be useful for other things.
However, be sure to look at the other bugs related to this before
embarking on that course.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug breakpoints/15075] dprintf inteferes with "next"
  2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
  2013-02-02 18:43 ` [Bug breakpoints/15075] " qiyao at gcc dot gnu.org
  2013-02-02 20:34 ` tromey at redhat dot com
@ 2013-02-04  2:52 ` qiyao at gcc dot gnu.org
  2013-02-04 17:49 ` tromey at redhat dot com
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: qiyao at gcc dot gnu.org @ 2013-02-04  2:52 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from Yao Qi <qiyao at gcc dot gnu.org> 2013-02-04 02:52:12 UTC ---
> The existing Python "Breakpoint.stop" API needed this kind
> of thing already, so the infrastructure exists.

Thanks for pointing this out.  I'll have a look.

> The error was making dprintf use the breakpoint commands instead
> of just having internal actions; the original review pointed this out.
> 

Right, for the record, it was pointed out here
http://sourceware.org/ml/gdb-patches/2012-05/msg00211.html

> If you do implement a command like this, don't make it user-invisible.
> It might be useful for other things.

OK, no problem.

> However, be sure to look at the other bugs related to this before
> embarking on that course.

What do you mean by "the other bugs related to this"?  bugs related to dprintf
or the new command we try to add?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug breakpoints/15075] dprintf inteferes with "next"
  2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
                   ` (2 preceding siblings ...)
  2013-02-04  2:52 ` qiyao at gcc dot gnu.org
@ 2013-02-04 17:49 ` tromey at redhat dot com
  2013-02-04 19:34 ` palves at redhat dot com
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: tromey at redhat dot com @ 2013-02-04 17:49 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #4 from Tom Tromey <tromey at redhat dot com> 2013-02-04 17:49:23 UTC ---
(In reply to comment #3)

> What do you mean by "the other bugs related to this"?  bugs related to dprintf
> or the new command we try to add?

I think there may be other bugs along the lines of "commands interfere
with next".  I may be confusing this with "finish doesn't work in commands"
though.

I don't understand the attraction of trying to keep dprintf working
via "commands".

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug breakpoints/15075] dprintf inteferes with "next"
  2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
                   ` (3 preceding siblings ...)
  2013-02-04 17:49 ` tromey at redhat dot com
@ 2013-02-04 19:34 ` palves at redhat dot com
  2013-02-22 15:22 ` marc.khouzam at ericsson dot com
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: palves at redhat dot com @ 2013-02-04 19:34 UTC (permalink / raw)
  To: gdb-prs

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

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com

--- Comment #5 from Pedro Alves <palves at redhat dot com> 2013-02-04 19:34:03 UTC ---
Related problems:

http://sourceware.org/ml/gdb-patches/2012-05/msg00690.html

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug breakpoints/15075] dprintf inteferes with "next"
  2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
                   ` (4 preceding siblings ...)
  2013-02-04 19:34 ` palves at redhat dot com
@ 2013-02-22 15:22 ` marc.khouzam at ericsson dot com
  2013-04-23  7:25 ` teawater at gmail dot com
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: marc.khouzam at ericsson dot com @ 2013-02-22 15:22 UTC (permalink / raw)
  To: gdb-prs

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

Marc Khouzam <marc.khouzam at ericsson dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marc.khouzam at ericsson
                   |                            |dot com

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug breakpoints/15075] dprintf inteferes with "next"
  2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
                   ` (5 preceding siblings ...)
  2013-02-22 15:22 ` marc.khouzam at ericsson dot com
@ 2013-04-23  7:25 ` teawater at gmail dot com
  2013-04-23 15:45 ` teawater at gmail dot com
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: teawater at gmail dot com @ 2013-04-23  7:25 UTC (permalink / raw)
  To: gdb-prs

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

teawater <teawater at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |teawater at gmail dot com

--- Comment #6 from teawater <teawater at gmail dot com> 2013-04-23 07:25:34 UTC ---
(gdb) b 6
Breakpoint 1 at 0x4004c3: file 3.c, line 6.
(gdb) commands 
Type commands for breakpoint(s) 1, one per line.
End with a line saying just "end".
>continue 
>end
(gdb) start 
Temporary breakpoint 2 at 0x4004b8: file 3.c, line 3.
Starting program: /home/teawater/gdb/bgdbno/gdb/a.out 

Temporary breakpoint 2, main () at 3.c:3
3    int x = 5;
(gdb) n
5    ++x;
(gdb) n

Breakpoint 1, main () at 3.c:6
6    ++x;
[Inferior 1 (process 17056) exited normally]

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug breakpoints/15075] dprintf inteferes with "next"
  2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
                   ` (6 preceding siblings ...)
  2013-04-23  7:25 ` teawater at gmail dot com
@ 2013-04-23 15:45 ` teawater at gmail dot com
  2013-04-24  3:21 ` teawater at gmail dot com
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: teawater at gmail dot com @ 2013-04-23 15:45 UTC (permalink / raw)
  To: gdb-prs

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

teawater <teawater at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|qiyao at gcc dot gnu.org    |teawater at gmail dot com

--- Comment #7 from teawater <teawater at gmail dot com> 2013-04-23 15:45:41 UTC ---
http://sourceware.org/ml/gdb-patches/2013-04/msg00696.html

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug breakpoints/15075] dprintf inteferes with "next"
  2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
                   ` (7 preceding siblings ...)
  2013-04-23 15:45 ` teawater at gmail dot com
@ 2013-04-24  3:21 ` teawater at gmail dot com
  2013-06-25 11:37 ` cvs-commit at gcc dot gnu.org
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: teawater at gmail dot com @ 2013-04-24  3:21 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #8 from teawater <teawater at gmail dot com> 2013-04-24 03:21:11 UTC ---
http://sourceware.org/ml/gdb-patches/2013-04/msg00711.html

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug breakpoints/15075] dprintf inteferes with "next"
  2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
                   ` (8 preceding siblings ...)
  2013-04-24  3:21 ` teawater at gmail dot com
@ 2013-06-25 11:37 ` cvs-commit at gcc dot gnu.org
  2013-06-25 11:42 ` teawater at gmail dot com
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2013-06-25 11:37 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    teawater@sourceware.org    2013-06-25 11:37:48

Modified files:
    gdb            : ChangeLog breakpoint.c breakpoint.h 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.base: dprintf.exp 
    gdb/testsuite/gdb.mi: mi-breakpoint-changed.exp 
Added files:
    gdb/testsuite/gdb.base: dprintf-next.c dprintf-next.exp 
                            dprintf-non-stop.c dprintf-non-stop.exp 

Log message:
    2013-06-25  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-25  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/ChangeLog.diff?cvsroot=src&r1=1.15735&r2=1.15736
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&r1=1.769&r2=1.770
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.h.diff?cvsroot=src&r1=1.199&r2=1.200
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3704&r2=1.3705
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/dprintf-next.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/dprintf-next.exp.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/dprintf-non-stop.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/dprintf-non-stop.exp.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/dprintf.exp.diff?cvsroot=src&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp.diff?cvsroot=src&r1=1.6&r2=1.7

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug breakpoints/15075] dprintf inteferes with "next"
  2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
                   ` (9 preceding siblings ...)
  2013-06-25 11:37 ` cvs-commit at gcc dot gnu.org
@ 2013-06-25 11:42 ` teawater at gmail dot com
  2013-06-26  2:32 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: teawater at gmail dot com @ 2013-06-25 11:42 UTC (permalink / raw)
  To: gdb-prs

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

teawater <teawater at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from teawater <teawater at gmail dot com> ---
Fixed.

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug breakpoints/15075] dprintf inteferes with "next"
  2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
                   ` (10 preceding siblings ...)
  2013-06-25 11:42 ` teawater at gmail dot com
@ 2013-06-26  2:32 ` cvs-commit at gcc dot gnu.org
  2013-06-26  2:32 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2013-06-26  2:32 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #11 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:31:58

Modified files:
    gdb            : breakpoint.c breakpoint.h 
    gdb/testsuite/gdb.base: dprintf.exp 
    gdb/testsuite/gdb.mi: mi-breakpoint-changed.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/breakpoint.c.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=1.745.2.6&r2=1.745.2.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.h.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=1.193&r2=1.193.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/dprintf.exp.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=1.8.2.1&r2=1.8.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=1.5&r2=1.5.2.1

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug breakpoints/15075] dprintf inteferes with "next"
  2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
                   ` (11 preceding siblings ...)
  2013-06-26  2:32 ` cvs-commit at gcc dot gnu.org
@ 2013-06-26  2:32 ` cvs-commit at gcc dot gnu.org
  2014-01-10 16:11 ` marc.khouzam at ericsson dot com
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2013-06-26  2:32 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug breakpoints/15075] dprintf inteferes with "next"
  2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
                   ` (12 preceding siblings ...)
  2013-06-26  2:32 ` cvs-commit at gcc dot gnu.org
@ 2014-01-10 16:11 ` marc.khouzam at ericsson dot com
  2021-09-22 16:58 ` mervegunesli at aol dot com
  2021-09-22 17:00 ` mark at klomp dot org
  15 siblings, 0 replies; 17+ messages in thread
From: marc.khouzam at ericsson dot com @ 2014-01-10 16:11 UTC (permalink / raw)
  To: gdb-prs

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

Marc Khouzam <marc.khouzam at ericsson dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |7.6.1

--- Comment #13 from Marc Khouzam <marc.khouzam at ericsson dot com> ---
This is an awesome fix.  Thanks!
I won't mark as Verified since I didn't open it myself.

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug breakpoints/15075] dprintf inteferes with "next"
  2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
                   ` (13 preceding siblings ...)
  2014-01-10 16:11 ` marc.khouzam at ericsson dot com
@ 2021-09-22 16:58 ` mervegunesli at aol dot com
  2021-09-22 17:00 ` mark at klomp dot org
  15 siblings, 0 replies; 17+ messages in thread
From: mervegunesli at aol dot com @ 2021-09-22 16:58 UTC (permalink / raw)
  To: gdb-prs

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

Merve Gunesli <mervegunesli at aol dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mervegunesli at aol dot com

--- Comment #14 from Merve Gunesli <mervegunesli at aol dot com> ---
http://www.acpirateradio.co.uk/category/property/
http://www.logoarts.co.uk/category/services/
http://www.slipstone.co.uk/travel/london/
http://connstr.net/category/health/
http://joerg.li/tech/nvidia-and-samsung/
http://www.wearelondonmade.com/category/tech/
http://www.compilatori.com/computers/latest-car-deals/

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug breakpoints/15075] dprintf inteferes with "next"
  2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
                   ` (14 preceding siblings ...)
  2021-09-22 16:58 ` mervegunesli at aol dot com
@ 2021-09-22 17:00 ` mark at klomp dot org
  15 siblings, 0 replies; 17+ messages in thread
From: mark at klomp dot org @ 2021-09-22 17:00 UTC (permalink / raw)
  To: gdb-prs

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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2021-09-22 17:00 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-28 18:49 [Bug breakpoints/15075] New: dprintf inteferes with "next" tromey at redhat dot com
2013-02-02 18:43 ` [Bug breakpoints/15075] " qiyao at gcc dot gnu.org
2013-02-02 20:34 ` tromey at redhat dot com
2013-02-04  2:52 ` qiyao at gcc dot gnu.org
2013-02-04 17:49 ` tromey at redhat dot com
2013-02-04 19:34 ` palves at redhat dot com
2013-02-22 15:22 ` marc.khouzam at ericsson dot com
2013-04-23  7:25 ` teawater at gmail dot com
2013-04-23 15:45 ` teawater at gmail dot com
2013-04-24  3:21 ` teawater at gmail dot com
2013-06-25 11:37 ` cvs-commit at gcc dot gnu.org
2013-06-25 11:42 ` teawater at gmail dot com
2013-06-26  2:32 ` cvs-commit at gcc dot gnu.org
2013-06-26  2:32 ` cvs-commit at gcc dot gnu.org
2014-01-10 16:11 ` marc.khouzam at ericsson dot com
2021-09-22 16:58 ` mervegunesli at aol dot com
2021-09-22 17:00 ` mark at klomp dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).