* tui/tui-winsource.c (tui_update_breakpoint_info): In asm layout,

skip breakpoints without a location (pending breakpoints).
This commit is contained in:
Pedro Alves 2009-01-18 17:05:49 +00:00
parent e74994b521
commit e7243d7347
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-01-18 Pedro Alves <pedro@codesourcery.com>
* tui/tui-winsource.c (tui_update_breakpoint_info): In asm layout,
skip breakpoints without a location (pending breakpoints).
2009-01-18 Pedro Alves <pedro@codesourcery.com>
PR build/9186:

View File

@ -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)