aboutsummaryrefslogtreecommitdiff
path: root/gdb/d10v-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-03-30 00:09:40 +0000
committerAndrew Cagney <cagney@redhat.com>2003-03-30 00:09:40 +0000
commit4d628cd73e16497d326b6e59302e947c32c45e82 (patch)
tree89f983eba9df72c2584538e44603ab61d02c2416 /gdb/d10v-tdep.c
parent0406293664665f4fc4045414152f92869a72be78 (diff)
downloadgdb-4d628cd73e16497d326b6e59302e947c32c45e82.zip
gdb-4d628cd73e16497d326b6e59302e947c32c45e82.tar.gz
gdb-4d628cd73e16497d326b6e59302e947c32c45e82.tar.bz2
2003-03-29 Andrew Cagney <cagney@redhat.com>
* d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or sizeof_call_dummy_words. * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always define. * gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/d10v-tdep.c')
-rw-r--r--gdb/d10v-tdep.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c
index f15eeaa..21cfc66 100644
--- a/gdb/d10v-tdep.c
+++ b/gdb/d10v-tdep.c
@@ -1586,8 +1586,6 @@ static gdbarch_init_ftype d10v_gdbarch_init;
static struct gdbarch *
d10v_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
{
- static LONGEST d10v_call_dummy_words[] =
- {0};
struct gdbarch *gdbarch;
int d10v_num_regs;
struct gdbarch_tdep *tdep;
@@ -1680,8 +1678,6 @@ d10v_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_call_dummy_breakpoint_offset_p (gdbarch, 1);
set_gdbarch_call_dummy_breakpoint_offset (gdbarch, 0);
set_gdbarch_call_dummy_start_offset (gdbarch, 0);
- set_gdbarch_call_dummy_words (gdbarch, d10v_call_dummy_words);
- set_gdbarch_sizeof_call_dummy_words (gdbarch, sizeof (d10v_call_dummy_words));
set_gdbarch_call_dummy_p (gdbarch, 1);
set_gdbarch_fix_call_dummy (gdbarch, generic_fix_call_dummy);