This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit/tui] Fix build problem


FYI,

Andrew
2004-01-18  Andrew Cagney  <cagney@redhat.com>

	* tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
	problem.

Index: tui/tuiSourceWin.c
===================================================================
RCS file: /cvs/src/src/gdb/tui/tuiSourceWin.c,v
retrieving revision 1.25
diff -u -r1.25 tuiSourceWin.c
--- tui/tuiSourceWin.c	22 Jun 2003 15:21:39 -0000	1.25
+++ tui/tuiSourceWin.c	19 Jan 2004 02:51:14 -0000
@@ -455,7 +455,7 @@
                && (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;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]