diff options
author | Randolph Chung <tausq@debian.org> | 2004-11-23 21:05:23 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-11-23 21:05:23 +0000 |
commit | 68a53df635ebe8a9bd138f6232a05a11e6414e8e (patch) | |
tree | 7a06cba09e019010599ad2c5b704ffae18c4592c /gdb/arch-utils.c | |
parent | a8f011379b781734b6f64ec51a49543e73aa2c99 (diff) | |
download | gdb-68a53df635ebe8a9bd138f6232a05a11e6414e8e.tar.gz |
2004-11-23 Randolph Chung <tausq@debian.org>
* arch-utils.c (generic_instruction_nullified): New.
* arch-utils.h (generic_instruction_nullified): New.
* gdbarch.sh (instruction_nullified): New method.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* infrun.c (INSTRUCTION_NULLIFIED): Delete.
(handle_inferior_event): Replace INSTRUCTION_NULLIFIED with calls to
new gdbarch method.
* config/pa/tm-hppa.h (INSTRUCTION_NULLIFIED): Delete definition.
* hppa-tdep.c (hppa_instruction_nullified): Remove prototype and make
static. Rewrite to work directly off the passed regcache.
(hppa_gdbarch_init): Set instruction_nullified method.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r-- | gdb/arch-utils.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index 6fc8511395d..431b24263d3 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -325,6 +325,13 @@ default_stabs_argument_has_addr (struct gdbarch *gdbarch, struct type *type) return 0; } +int +generic_instruction_nullified (struct gdbarch *gdbarch, + struct regcache *regcache) +{ + return 0; +} + /* Functions to manipulate the endianness of the target. */ |