aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-12-17 00:35:58 +0000
committerAndrew Cagney <cagney@redhat.com>2000-12-17 00:35:58 +0000
commit780a49fab4ab15d60ba44993cb6a5501a8cce494 (patch)
tree3a587aa655d2476e5d847755e6df630c148c16b4
parent099194551f04345ee9ac74afb28e863604027e76 (diff)
downloadfsf-binutils-gdb-780a49fab4ab15d60ba44993cb6a5501a8cce494.zip
fsf-binutils-gdb-780a49fab4ab15d60ba44993cb6a5501a8cce494.tar.gz
fsf-binutils-gdb-780a49fab4ab15d60ba44993cb6a5501a8cce494.tar.bz2
* i386gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
(gnu_store_registers): Replace assert with gdb_assert.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/i386gnu-nat.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a537ceb..dbdddd5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Fri Dec 15 23:12:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * i386gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
+ (gnu_store_registers): Replace assert with gdb_assert.
+
2000-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
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);
}