diff options
author | Gary Benson <gbenson@redhat.com> | 2014-06-16 15:19:21 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-06-18 11:46:51 +0100 |
commit | 5171def394398d2a3cc6583747e2f19602f0e1da (patch) | |
tree | 4700f6439c043b8c81bebc1a972c7a51e9fbd5ba /gdb/i386-nat.c | |
parent | b9228891286aec649c0c53d9b2eff0d5bea7f642 (diff) | |
download | gdb-5171def394398d2a3cc6583747e2f19602f0e1da.zip gdb-5171def394398d2a3cc6583747e2f19602f0e1da.tar.gz gdb-5171def394398d2a3cc6583747e2f19602f0e1da.tar.bz2 |
Move macros from i386-{nat,low}.c to i386-{nat,low}.h
This commit moves macros required by the soon-to-be-created
nat/i386-dregs.c into i386-{nat,low}.h.
Diffstat (limited to 'gdb/i386-nat.c')
-rw-r--r-- | gdb/i386-nat.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/i386-nat.c b/gdb/i386-nat.c index 1dfa9ee..1f7b70c 100644 --- a/gdb/i386-nat.c +++ b/gdb/i386-nat.c @@ -47,23 +47,6 @@ static int debug_hw_points; /* Low-level function vector. */ struct i386_dr_low_type i386_dr_low; -#define i386_dr_low_can_set_addr() (i386_dr_low.set_addr != NULL) -#define i386_dr_low_can_set_control() (i386_dr_low.set_control != NULL) - -#define i386_dr_low_set_addr(new_state, i) \ - (i386_dr_low.set_addr ((i), (new_state)->dr_mirror[(i)])) - -#define i386_dr_low_set_control(new_state) \ - (i386_dr_low.set_control ((new_state)->dr_control_mirror)) - -#define i386_dr_low_get_addr(i) (i386_dr_low.get_addr ((i))) -#define i386_dr_low_get_status() (i386_dr_low.get_status ()) -#define i386_dr_low_get_control() (i386_dr_low.get_control ()) - -/* Debug register size, in bytes. */ -#define i386_get_debug_register_length() \ - (i386_dr_low.debug_register_length) - /* Support for 8-byte wide hw watchpoints. */ #define TARGET_HAS_DR_LEN_8 (i386_get_debug_register_length () == 8) |