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

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.


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