diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-01-19 02:58:48 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-01-19 02:58:48 +0000 |
commit | cebe9500e0a82a3e8da345c71219a57242a3d52e (patch) | |
tree | 780878d47b61721a5e45277fbac8e90d9998ad6f | |
parent | 43e9390bf0b34b36d224e08e1255d6ec81edb191 (diff) | |
download | gdb-cebe9500e0a82a3e8da345c71219a57242a3d52e.zip gdb-cebe9500e0a82a3e8da345c71219a57242a3d52e.tar.gz gdb-cebe9500e0a82a3e8da345c71219a57242a3d52e.tar.bz2 |
2004-01-18 Andrew Cagney <cagney@redhat.com>
* tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
problem.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/tui/tuiSourceWin.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 623e5cd..b87290f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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 instead of register_gdbarch_init. diff --git a/gdb/tui/tuiSourceWin.c b/gdb/tui/tuiSourceWin.c index cf5a079..455bc7b 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; |