aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-winsource.c
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2007-09-22 19:06:59 +0000
committerVladimir Prus <vladimir@codesourcery.com>2007-09-22 19:06:59 +0000
commit511a6cd4e1e2b29e79fd05f8dd3fb95de3961ed6 (patch)
treea83fa43858795876435819b52e5e95bc26a90084 /gdb/tui/tui-winsource.c
parent4f8d1dc6a5603e96bd38b0966edee1603edcea5b (diff)
downloadgdb-511a6cd4e1e2b29e79fd05f8dd3fb95de3961ed6.zip
gdb-511a6cd4e1e2b29e79fd05f8dd3fb95de3961ed6.tar.gz
gdb-511a6cd4e1e2b29e79fd05f8dd3fb95de3961ed6.tar.bz2
gdb/
* breakpoint.h (struct breakpoint): Move the cond field to... (struct bp_location): Here. * breakpoint.c (condition_command, bpstat_stop_status) (print_one_breakpoint, allocate_bp_location) (solib_load_unload_1, create_fork_vfork_event_catchpoint) (create_exec_event_catchpoint, create_breakpoints) (break_command_1, watch_command_1, handle_gnu_v3_exceptions) (create_ada_exception_breakpoint, set_breakpoint_sal) (delete_breakpoint, breakpoint_re_set_one): Adjust. * tui/tui-winsource.c (tui_update_breakpoint_info): Adjust.
Diffstat (limited to 'gdb/tui/tui-winsource.c')
-rw-r--r--gdb/tui/tui-winsource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-winsource.c b/gdb/tui/tui-winsource.c
index ce8bedf..2b640e3 100644
--- a/gdb/tui/tui-winsource.c
+++ b/gdb/tui/tui-winsource.c
@@ -449,7 +449,7 @@ tui_update_breakpoint_info (struct tui_win_info *win,
mode |= TUI_BP_ENABLED;
if (bp->hit_count)
mode |= TUI_BP_HIT;
- if (bp->cond)
+ if (bp->loc->cond)
mode |= TUI_BP_CONDITIONAL;
if (bp->type == bp_hardware_breakpoint)
mode |= TUI_BP_HARDWARE;