From e7243d734732b21fd5b2323fa4e727e4b56c0b79 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Sun, 18 Jan 2009 17:05:49 +0000 Subject: * tui/tui-winsource.c (tui_update_breakpoint_info): In asm layout, skip breakpoints without a location (pending breakpoints). --- gdb/tui/tui-winsource.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/tui') diff --git a/gdb/tui/tui-winsource.c b/gdb/tui/tui-winsource.c index 241bc9f..b93c2c9 100644 --- a/gdb/tui/tui-winsource.c +++ b/gdb/tui/tui-winsource.c @@ -441,6 +441,7 @@ tui_update_breakpoint_info (struct tui_win_info *win, && bp->line_number == line->line_or_addr.u.line_no) || (win == TUI_DISASM_WIN && line->line_or_addr.loa == LOA_ADDRESS + && bp->loc != NULL && bp->loc->address == line->line_or_addr.u.addr)) { if (bp->enable_state == bp_disabled) -- cgit v1.1