aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-10-20 23:54:29 +0000
committerAndrew Cagney <cagney@redhat.com>2001-10-20 23:54:29 +0000
commit278cd55f785496ae4c4ab971958d752af18d2b11 (patch)
treeab9213988289defe93ab07608481ae38cace7332 /gdb/breakpoint.h
parent6a7805b5c05938868d60139bc38b487272ac51bd (diff)
downloadgdb-278cd55f785496ae4c4ab971958d752af18d2b11.zip
gdb-278cd55f785496ae4c4ab971958d752af18d2b11.tar.gz
gdb-278cd55f785496ae4c4ab971958d752af18d2b11.tar.bz2
* breakpoint.h, breakpoint.c: Ditto.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 0909c3a..44cde48 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -27,6 +27,8 @@
#include "gdb-events.h"
+struct value;
+
/* This is the maximum number of bytes a breakpoint instruction can take.
Feel free to increase it. It's just used in a few places to size
arrays that should be independent of the target architecture. */
@@ -249,10 +251,10 @@ struct breakpoint
valid anywhere (e.g. consists just of global symbols). */
struct block *exp_valid_block;
/* Value of the watchpoint the last time we checked it. */
- value_ptr val;
+ struct value *val;
/* Holds the value chain for a hardware watchpoint expression. */
- value_ptr val_chain;
+ struct value *val_chain;
/* Holds the address of the related watchpoint_scope breakpoint
when using watchpoints on local variables (might the concept
@@ -479,7 +481,7 @@ struct bpstats
/* Commands left to be done. */
struct command_line *commands;
/* Old value associated with a watchpoint. */
- value_ptr old_val;
+ struct value *old_val;
/* Nonzero if this breakpoint tells us to print the frame. */
char print;