* target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
* breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro definition in parenthesis.
This commit is contained in:
parent
ad6525fcf5
commit
6ab3a9c917
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
|
||||
* breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
|
||||
definition in parenthesis.
|
||||
|
||||
Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
From 2000-10-27 Mark Salter <msalter@redhat.com>:
|
||||
|
|
|
@ -5409,7 +5409,7 @@ watch_command_1 (char *arg, int accessflag, int from_tty)
|
|||
|
||||
#if !defined(TARGET_REGION_OK_FOR_HW_WATCHPOINT)
|
||||
#define TARGET_REGION_OK_FOR_HW_WATCHPOINT(ADDR,LEN) \
|
||||
TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(LEN)
|
||||
(TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(LEN))
|
||||
#endif
|
||||
|
||||
static int
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue