This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug tui/13378] New: gdbtui updates source window for non-stoppingconditional breakpoints
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 02 Nov 2011 16:12:48 +0000
- Subject: [Bug tui/13378] New: gdbtui updates source window for non-stoppingconditional breakpoints
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13378
Bug #: 13378
Summary: gdbtui updates source window for non-stopping
conditional breakpoints
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: tui
AssignedTo: unassigned@sourceware.org
ReportedBy: dje@google.com
Classification: Unclassified
gdbtui updates the source window for non-stopping conditional breakpoints.
This unnecessarily slows things down.
Repro:
#include <stdlib.h>
void foo (int x) { }
void bar (int x) { }
int
main ()
{
int i;
for (i = 0; i < 1000; ++i)
{
if (i % 2 == 0)
{
foo (i);
bar (i);
}
else
{
bar (i);
foo (i);
}
sleep (1);
}
return 0;
}
bash$ gdbtui a.out
(gdb) b foo if x == 42
(gdb) b bar if x == 52
(gdb) run
and watch the cursor bounce back and forth between foo and bar.
--
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.