From: Andrew Cagney Date: Mon, 19 Jan 2004 02:58:48 +0000 (+0000) Subject: 2004-01-18 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cebe9500e0a82a3e8da345c71219a57242a3d52e;p=binutils-gdb.git 2004-01-18 Andrew Cagney * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile problem. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 623e5cd5c6f..b87290f8915 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-01-18 Andrew Cagney + + * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile + problem. + 2004-01-18 Andrew Cagney * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register diff --git a/gdb/tui/tuiSourceWin.c b/gdb/tui/tuiSourceWin.c index cf5a0793f65..455bc7bda10 100644 --- a/gdb/tui/tuiSourceWin.c +++ b/gdb/tui/tuiSourceWin.c @@ -455,7 +455,7 @@ tui_update_breakpoint_info (TuiWinInfoPtr win, int current_only) && (strcmp (src->filename, bp->source_file) == 0) && bp->line_number == line->lineOrAddr.lineNo) || (win == disassemWin - && bp->address == line->lineOrAddr.addr)) + && bp->loc->address == line->lineOrAddr.addr)) { if (bp->enable_state == bp_disabled) mode |= TUI_BP_DISABLED;