diff options
author | Pedro Alves <palves@redhat.com> | 2009-01-18 17:05:49 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-01-18 17:05:49 +0000 |
commit | e7243d734732b21fd5b2323fa4e727e4b56c0b79 (patch) | |
tree | a9a41689e2f51c44444d9c38305acba094a23b53 /gdb | |
parent | e74994b5210df3516cd2b5a41abaa77c9a423b5c (diff) | |
download | gdb-e7243d734732b21fd5b2323fa4e727e4b56c0b79.zip gdb-e7243d734732b21fd5b2323fa4e727e4b56c0b79.tar.gz gdb-e7243d734732b21fd5b2323fa4e727e4b56c0b79.tar.bz2 |
* tui/tui-winsource.c (tui_update_breakpoint_info): In asm layout,
skip breakpoints without a location (pending breakpoints).
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/tui/tui-winsource.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d889651..93d72b0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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: * hppa-hpux-tdep.c (hppa_hpux_write_pc): Remove 'return'. 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) |