aboutsummaryrefslogtreecommitdiff
path: root/gdb/ns32k-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-12-01 22:02:03 +0000
committerAndrew Cagney <cagney@redhat.com>2001-12-01 22:02:03 +0000
commit1406caf7abf3e0d0334defd1a695aa764b5a83c8 (patch)
tree82d0bb20d238680bbbac4e07489326ee0d8bd6d2 /gdb/ns32k-tdep.c
parent5e734e1f9d5aa0c89e4a855c480acd58b5020272 (diff)
downloadgdb-1406caf7abf3e0d0334defd1a695aa764b5a83c8.zip
gdb-1406caf7abf3e0d0334defd1a695aa764b5a83c8.tar.gz
gdb-1406caf7abf3e0d0334defd1a695aa764b5a83c8.tar.bz2
Zap all but ns32k-netbsd NS32k targets and hosts.
Diffstat (limited to 'gdb/ns32k-tdep.c')
-rw-r--r--gdb/ns32k-tdep.c54
1 files changed, 0 insertions, 54 deletions
diff --git a/gdb/ns32k-tdep.c b/gdb/ns32k-tdep.c
index 825247f..e9bbfc4 100644
--- a/gdb/ns32k-tdep.c
+++ b/gdb/ns32k-tdep.c
@@ -34,23 +34,6 @@ _initialize_ns32k_tdep (void)
/* Advance PC across any function entry prologue instructions
to reach some "real" code. */
-/* OBSOLETE CORE_ADDR */
-/* OBSOLETE merlin_skip_prologue (CORE_ADDR pc) */
-/* OBSOLETE { */
-/* OBSOLETE register int op = read_memory_integer (pc, 1); */
-/* OBSOLETE if (op == 0x82) */
-/* OBSOLETE { */
-/* OBSOLETE op = read_memory_integer (pc + 2, 1); */
-/* OBSOLETE if ((op & 0x80) == 0) */
-/* OBSOLETE pc += 3; */
-/* OBSOLETE else if ((op & 0xc0) == 0x80) */
-/* OBSOLETE pc += 4; */
-/* OBSOLETE else */
-/* OBSOLETE pc += 6; */
-/* OBSOLETE } */
-/* OBSOLETE return pc; */
-/* OBSOLETE } */
-
CORE_ADDR
umax_skip_prologue (CORE_ADDR pc)
{
@@ -69,43 +52,6 @@ umax_skip_prologue (CORE_ADDR pc)
}
/* Return number of args passed to a frame.
- Can return -1, meaning no way to tell. */
-
-/* OBSOLETE int */
-/* OBSOLETE merlin_frame_num_args (struct frame_info *fi) */
-/* OBSOLETE { */
-/* OBSOLETE int numargs; */
-/* OBSOLETE CORE_ADDR pc; */
-/* OBSOLETE int insn; */
-/* OBSOLETE int addr_mode; */
-/* OBSOLETE int width; */
-/* OBSOLETE */
-/* OBSOLETE pc = FRAME_SAVED_PC (fi); */
-/* OBSOLETE insn = read_memory_integer (pc, 2); */
-/* OBSOLETE addr_mode = (insn >> 11) & 0x1f; */
-/* OBSOLETE insn = insn & 0x7ff; */
-/* OBSOLETE if ((insn & 0x7fc) == 0x57c */
-/* OBSOLETE && addr_mode == 0x14) *//* immediate */
-/* OBSOLETE { */
-/* OBSOLETE if (insn == 0x57c) *//* adjspb */
-/* OBSOLETE width = 1; */
-/* OBSOLETE else if (insn == 0x57d) *//* adjspw */
-/* OBSOLETE width = 2; */
-/* OBSOLETE else if (insn == 0x57f) *//* adjspd */
-/* OBSOLETE width = 4; */
-/* OBSOLETE else */
-/* OBSOLETE internal_error (__FILE__, __LINE__, "bad else"); */
-/* OBSOLETE numargs = read_memory_integer (pc + 2, width); */
-/* OBSOLETE if (width > 1) */
-/* OBSOLETE flip_bytes (&numargs, width); */
-/* OBSOLETE numargs = -sign_extend (numargs, width * 8) / 4; */
-/* OBSOLETE } */
-/* OBSOLETE else */
-/* OBSOLETE numargs = -1; */
-/* OBSOLETE return numargs; */
-/* OBSOLETE } */
-
-/* Return number of args passed to a frame.
Can return -1, meaning no way to tell.
Encore's C compiler often reuses same area on stack for args,
so this will often not work properly. If the arg names