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/ns32k-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/ns32k-tdep.c')
-rw-r--r-- | gdb/ns32k-tdep.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/gdb/ns32k-tdep.c b/gdb/ns32k-tdep.c index a37bc6f..71d4e40 100644 --- a/gdb/ns32k-tdep.c +++ b/gdb/ns32k-tdep.c @@ -419,33 +419,6 @@ ns32k_pop_frame (void) flush_cached_frames (); } -/* The NS32000 call dummy sequence: - - enter 0xff,0 82 ff 00 - jsr @0x00010203 7f ae c0 01 02 03 - adjspd 0x69696969 7f a5 01 02 03 04 - bpt f2 - - It is 16 bytes long. */ - -#define NS32K_CALL_DUMMY_ADDR 5 -#define NS32K_CALL_DUMMY_NARGS 11 - -static void -ns32k_fix_call_dummy (char *dummy, CORE_ADDR pc, CORE_ADDR fun, int nargs, - struct value **args, struct type *type, int gcc_p) -{ - int flipped; - - flipped = fun | 0xc0000000; - flip_bytes (&flipped, 4); - store_unsigned_integer (dummy + NS32K_CALL_DUMMY_ADDR, 4, flipped); - - flipped = - nargs * 4; - flip_bytes (&flipped, 4); - store_unsigned_integer (dummy + NS32K_CALL_DUMMY_NARGS, 4, flipped); -} - static void ns32k_store_struct_return (CORE_ADDR addr, CORE_ADDR sp) { |