summaryrefslogtreecommitdiff
path: root/gdb
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
commit68719044e69a7c7605a41a3730f2cff8eeb7424f (patch)
tree222024c536e0b20b5c06901a93717c5ecd3aeab3 /gdb
parent8a0433a64343550a0fe5d85dc1cb620b71f992ba (diff)
downloadgdb-68719044e69a7c7605a41a3730f2cff8eeb7424f.tar.gz
* i386gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
(gnu_store_registers): Replace assert with gdb_assert.
Diffstat (limited to 'gdb')
-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 a537ceb7442..dbdddd58590 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 7554d1aed2c..fca14e47114 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);
}