summaryrefslogtreecommitdiff
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
commit9a740b3fb4b15a41cfbdbf6689d4685c6ae48ab5 (patch)
treea5ea6a2d83a2605e153a2d7e42aec92645dd6944 /gdb/target.h
parent8402f2f498682414709f2745dbed7ab39f761746 (diff)
downloadgdb-9a740b3fb4b15a41cfbdbf6689d4685c6ae48ab5.tar.gz
* 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 5b0afb70c9d..e1e71d95d34 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,