From: Andrew Cagney Date: Sun, 17 Dec 2000 00:35:58 +0000 (+0000) Subject: * i386gnu-nat.c: Include "gdb_assert.h" instead of . X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=780a49fab4ab15d60ba44993cb6a5501a8cce494;p=binutils-gdb.git * i386gnu-nat.c: Include "gdb_assert.h" instead of . (gnu_store_registers): Replace assert with gdb_assert. --- 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 + + * i386gnu-nat.c: Include "gdb_assert.h" instead of . + (gnu_store_registers): Replace assert with gdb_assert. + 2000-12-15 Elena Zannoni * 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 +#include "gdb_assert.h" #include #include @@ -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); }