aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorMarkus Deuling <deuling@de.ibm.com>2007-11-15 13:53:11 +0000
committerMarkus Deuling <deuling@de.ibm.com>2007-11-15 13:53:11 +0000
commit2301df11d5d514524a23fcef26fdad54e0cb8654 (patch)
treeb7b4ddcc46ce0360d73bce4e303e302f13adb6a0 /gdb/arm-tdep.c
parentfc0484e94e24a309facc00ccf445478106f96802 (diff)
downloadgdb-2301df11d5d514524a23fcef26fdad54e0cb8654.zip
gdb-2301df11d5d514524a23fcef26fdad54e0cb8654.tar.gz
gdb-2301df11d5d514524a23fcef26fdad54e0cb8654.tar.bz2
2007-11-15 Markus Deuling <deuling@de.ibm.com>
* arm-tdep.c (arm_prologue_this_id): Replace LOWEST_PC by its expression and use get_frame_arch to replace current_gdbarch by frame's architecture. *arm-tdep.h (LOWEST_PC): Remove
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 6f0fea6..cc3f92e 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -961,7 +961,7 @@ arm_prologue_this_id (struct frame_info *next_frame,
/* This is meant to halt the backtrace at "_start". Make sure we
don't halt it at a generic dummy frame. */
- if (func <= LOWEST_PC)
+ if (func <= gdbarch_tdep (get_frame_arch (next_frame))->lowest_pc)
return;
/* If we've hit a wall, stop. */