aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-01-18 15:42:24 +0000
committerAndrew Cagney <cagney@redhat.com>2001-01-18 15:42:24 +0000
commit6ab3a9c917070eb116fdd9d2d920b3f4f7631f0a (patch)
tree48defc795105085bda3cfe284dccaa26cac5d158 /gdb/target.h
parentad6525fcf5c379690dcec802bee9f00cf2f2107b (diff)
downloadgdb-6ab3a9c917070eb116fdd9d2d920b3f4f7631f0a.zip
gdb-6ab3a9c917070eb116fdd9d2d920b3f4f7631f0a.tar.gz
gdb-6ab3a9c917070eb116fdd9d2d920b3f4f7631f0a.tar.bz2
* target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
* breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro definition in parenthesis.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 5b0afb7..e1e71d9 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -1184,7 +1184,7 @@ extern void (*target_new_objfile_hook) (struct objfile *);
#if !defined(TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
#define TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(byte_count) \
- (LONGEST)(byte_count) <= REGISTER_SIZE
+ ((LONGEST)(byte_count) <= REGISTER_SIZE)
#endif
/* However, some addresses may not be profitable to use hardware to watch,