* i386gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
(gnu_store_registers): Replace assert with gdb_assert.
This commit is contained in:
parent
099194551f
commit
780a49fab4
@ -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>
|
2000-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
|
||||||
|
|
||||||
* sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
|
* sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#include "inferior.h"
|
#include "inferior.h"
|
||||||
#include "floatformat.h"
|
#include "floatformat.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include "gdb_assert.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
@ -321,7 +321,7 @@ gnu_store_registers (int regno)
|
|||||||
{
|
{
|
||||||
proc_debug (thread, "storing register %s", REGISTER_NAME (regno));
|
proc_debug (thread, "storing register %s", REGISTER_NAME (regno));
|
||||||
|
|
||||||
assert (register_valid[regno]);
|
gdb_assert (register_valid[regno]);
|
||||||
fill (state, regno);
|
fill (state, regno);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user