aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386/nm-linux.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-04-01 10:48:48 +0000
committerMark Kettenis <kettenis@gnu.org>2001-04-01 10:48:48 +0000
commit7bf0983e946fee707de4cd03ecd990c550cd9c38 (patch)
treeff7fb0ea3fddc277f3dbf68f7b3c894a06696fe1 /gdb/config/i386/nm-linux.h
parentb37052ae3bd1f55e339925e58102c5d972b7cc62 (diff)
downloadgdb-7bf0983e946fee707de4cd03ecd990c550cd9c38.zip
gdb-7bf0983e946fee707de4cd03ecd990c550cd9c38.tar.gz
gdb-7bf0983e946fee707de4cd03ecd990c550cd9c38.tar.bz2
* i386-linux-nat.c (i386_linux_dr_get): Change type of return
value to `unsigned long'. Change type of `value' to `unsigned long'. (i386_linux_dr_set): Change type of second argument to `unsigned long'. (i386_linux_dr_set_control): Change type of first argument to `unsigned long'. (i386_linux_dr_get_status): Change type of return value to unsigned long. * config/i386/nm-linux.h (i386_linux_dr_set_control, i386_linux_dr_get_status): Adjust prototypes accordingly.
Diffstat (limited to 'gdb/config/i386/nm-linux.h')
-rw-r--r--gdb/config/i386/nm-linux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/config/i386/nm-linux.h b/gdb/config/i386/nm-linux.h
index 15b373e..dcdbc03 100644
--- a/gdb/config/i386/nm-linux.h
+++ b/gdb/config/i386/nm-linux.h
@@ -43,7 +43,7 @@ extern CORE_ADDR register_u_addr (CORE_ADDR blockend, int regnum);
/* Provide access to the i386 hardware debugging registers. */
-extern void i386_linux_dr_set_control (long control);
+extern void i386_linux_dr_set_control (unsigned long control);
#define I386_DR_LOW_SET_CONTROL(control) \
i386_linux_dr_set_control (control)
@@ -55,7 +55,7 @@ extern void i386_linux_dr_reset_addr (int regnum);
#define I386_DR_LOW_RESET_ADDR(regnum) \
i386_linux_dr_reset_addr (regnum)
-extern long i386_linux_dr_get_status (void);
+extern unsigned long i386_linux_dr_get_status (void);
#define I386_DR_LOW_GET_STATUS() \
i386_linux_dr_get_status ()