aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2009-07-28 16:39:06 +0000
committerDaniel Jacobowitz <drow@false.org>2009-07-28 16:39:06 +0000
commit3612b1927e247d33aab56de742e16f110f148711 (patch)
treefc046cc74e65e51ae57bcef2cbb2a8140a4edae8 /gdb/arch-utils.c
parentd551e57bf793cc95d833626ff467e84f0bfab146 (diff)
downloadgdb-3612b1927e247d33aab56de742e16f110f148711.zip
gdb-3612b1927e247d33aab56de742e16f110f148711.tar.gz
gdb-3612b1927e247d33aab56de742e16f110f148711.tar.bz2
* arch-utils.c (displaced_step_at_entry_point): Do not call
gdbarch_convert_from_func_ptr_addr. * cris-tdep.c: Remove outdated comment. * infcall.c (call_function_by_hand): Do not call gdbarch_convert_from_func_ptr_addr after entry_point_address. * objfiles.c (entry_point_address): Call both gdbarch_convert_from_func_ptr_addr and gdbarch_addr_bits_remove.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index f3246eb..f075922 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -76,10 +76,6 @@ displaced_step_at_entry_point (struct gdbarch *gdbarch)
addr = entry_point_address ();
- /* Make certain that the address points at real code, and not a
- function descriptor. */
- addr = gdbarch_convert_from_func_ptr_addr (gdbarch, addr, &current_target);
-
/* Inferior calls also use the entry point as a breakpoint location.
We don't want displaced stepping to interfere with those
breakpoints, so leave space. */