2004-01-18 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 19 Jan 2004 02:58:48 +0000 (02:58 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 19 Jan 2004 02:58:48 +0000 (02:58 +0000)
* tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
problem.

gdb/ChangeLog
gdb/tui/tuiSourceWin.c

index 623e5cd5c6f08138ec1574f5ca4157210058a53b..b87290f891586481bda812bb610d1abc8b751875 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-18  Andrew Cagney  <cagney@redhat.com>
+
+       * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
+       problem.
+
 2004-01-18  Andrew Cagney  <cagney@redhat.com>
 
        * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
index cf5a0793f6525f54de58ba54be2064222e2219b7..455bc7bda1021b0ef9d6e2b12b459de2902b071f 100644 (file)
@@ -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;
This page took 0.025619 seconds and 4 git commands to generate.