* i386gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.

(gnu_store_registers): Replace assert with gdb_assert.
This commit is contained in:
Andrew Cagney 2000-12-17 00:35:58 +00:00
parent 099194551f
commit 780a49fab4
2 changed files with 7 additions and 2 deletions

View File

@ -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,

View File

@ -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);
}