aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-31 16:14:01 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-31 16:14:01 +0000
commit0a5e8d987a2fa6b582d665ec582f327d9ec9e397 (patch)
tree657d07ec859a92b4f92905835cd941cd10613a0c /gdb/mips-tdep.c
parent56a2fed53319d12591e3d5f200ae777dbccf7a76 (diff)
downloadgdb-0a5e8d987a2fa6b582d665ec582f327d9ec9e397.zip
gdb-0a5e8d987a2fa6b582d665ec582f327d9ec9e397.tar.gz
gdb-0a5e8d987a2fa6b582d665ec582f327d9ec9e397.tar.bz2
2004-10-31 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (mips_ignore_helper): Delete. * config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Delete. * infrun.c (handle_inferior_event): Delete #ifdef DEPRECATED_IGNORE_HELPER_CALL code.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index d656060..047abe5 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -4590,27 +4590,6 @@ mips_in_solib_return_trampoline (CORE_ADDR pc, char *name)
return 0; /* not a stub */
}
-
-/* Return non-zero if the PC is in a library helper function that
- should be ignored. This implements the
- DEPRECATED_IGNORE_HELPER_CALL macro. */
-
-int
-mips_ignore_helper (CORE_ADDR pc)
-{
- char *name;
-
- /* Find the starting address and name of the function containing the PC. */
- if (find_pc_partial_function (pc, &name, NULL, NULL) == 0)
- return 0;
-
- /* If the PC is in __mips16_ret_{d,s}f, this is a library helper function
- that we want to ignore. */
- return (strcmp (name, "__mips16_ret_sf") == 0
- || strcmp (name, "__mips16_ret_df") == 0);
-}
-
-
/* Convert a dbx stab register number (from `r' declaration) to a GDB
[1 * NUM_REGS .. 2 * NUM_REGS) REGNUM. */