diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-12-17 00:35:58 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-12-17 00:35:58 +0000 |
commit | 780a49fab4ab15d60ba44993cb6a5501a8cce494 (patch) | |
tree | 3a587aa655d2476e5d847755e6df630c148c16b4 /gdb/i386gnu-nat.c | |
parent | 099194551f04345ee9ac74afb28e863604027e76 (diff) | |
download | gdb-780a49fab4ab15d60ba44993cb6a5501a8cce494.zip gdb-780a49fab4ab15d60ba44993cb6a5501a8cce494.tar.gz gdb-780a49fab4ab15d60ba44993cb6a5501a8cce494.tar.bz2 |
* i386gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
(gnu_store_registers): Replace assert with gdb_assert.
Diffstat (limited to 'gdb/i386gnu-nat.c')
-rw-r--r-- | gdb/i386gnu-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i386gnu-nat.c b/gdb/i386gnu-nat.c index 7554d1a..fca14e4 100644 --- a/gdb/i386gnu-nat.c +++ b/gdb/i386gnu-nat.c @@ -22,7 +22,7 @@ #include "inferior.h" #include "floatformat.h" -#include <assert.h> +#include "gdb_assert.h" #include <stdio.h> #include <errno.h> @@ -321,7 +321,7 @@ gnu_store_registers (int regno) { proc_debug (thread, "storing register %s", REGISTER_NAME (regno)); - assert (register_valid[regno]); + gdb_assert (register_valid[regno]); fill (state, regno); } |