diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-05-18 21:20:28 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-05-18 21:20:28 +0000 |
commit | 594706e671e52600644e4f348dd355eab247f0d4 (patch) | |
tree | fbbebd5e216677a456e5d6b12869d3450b415014 /gdb/v850-tdep.c | |
parent | 7659f80a232ff3d770cee9d968c6f4bab49b666d (diff) | |
download | gdb-594706e671e52600644e4f348dd355eab247f0d4.zip gdb-594706e671e52600644e4f348dd355eab247f0d4.tar.gz gdb-594706e671e52600644e4f348dd355eab247f0d4.tar.bz2 |
* alpha-tdep.c (alpha_gdbarch_init): Use LL suffix for large
constants.
* amd64-tdep.c (amd64_skip_prologue): Likewise.
* ia64-tdep.c (examine_prologue): Likewise.
* ns32k-tdep.c (ns32k_fix_call_dummy): Remove unused function.
* v850-tdep.c (v850_fix_call_dummy): Likewise.
Diffstat (limited to 'gdb/v850-tdep.c')
-rw-r--r-- | gdb/v850-tdep.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c index 4ba78e8..862ebb3 100644 --- a/gdb/v850-tdep.c +++ b/gdb/v850-tdep.c @@ -1019,27 +1019,6 @@ v850_frame_saved_pc (struct frame_info *fi) } -/* Function: fix_call_dummy - Pokes the callee function's address into the CALL_DUMMY assembly stub. - Assumes that the CALL_DUMMY looks like this: - jarl <offset24>, r31 - trap - */ - -static void -v850_fix_call_dummy (char *dummy, CORE_ADDR sp, CORE_ADDR fun, int nargs, - struct value **args, struct type *type, int gcc_p) -{ - long offset24; - - offset24 = (long) fun - (long) entry_point_address (); - offset24 &= 0x3fffff; - offset24 |= 0xff800000; /* jarl <offset24>, r31 */ - - store_unsigned_integer ((unsigned int *) &dummy[2], 2, offset24 & 0xffff); - store_unsigned_integer ((unsigned int *) &dummy[0], 2, offset24 >> 16); -} - static CORE_ADDR v850_saved_pc_after_call (struct frame_info *ignore) { |