2007-11-15 Markus Deuling <deuling@de.ibm.com>
authorMarkus Deuling <deuling@de.ibm.com>
Thu, 15 Nov 2007 13:53:11 +0000 (13:53 +0000)
committerMarkus Deuling <deuling@de.ibm.com>
Thu, 15 Nov 2007 13:53:11 +0000 (13:53 +0000)
* 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

gdb/ChangeLog
gdb/arm-tdep.c
gdb/arm-tdep.h

index 51c7aa916eeedd5aaace1fa0d49be75e57b7ddb6..3050b2911a7c7dfe8f43da8acaaf23cc6fe5a2df 100644 (file)
@@ -1,3 +1,10 @@
+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
+
 2007-11-15  Vladimir Prus  <vladimir@codesourcery.com>
 
        Apply const qualifier to some users of bp_location.
index 6f0fea6b9cc4f92cd6e82e12677e84ba962c55a9..cc3f92eee8506e94701a03725df8a895475638eb 100644 (file)
@@ -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.  */
index d049f294e55df717ccffcd1de3c43a07317c96bf..a6769e9ad522bdfe46084892d7da3dffce4f3922 100644 (file)
@@ -176,11 +176,6 @@ struct gdbarch_tdep
 };
 
 
-
-#ifndef LOWEST_PC
-#define LOWEST_PC (gdbarch_tdep (current_gdbarch)->lowest_pc)
-#endif
-
 CORE_ADDR arm_skip_stub (struct frame_info *, CORE_ADDR);
 CORE_ADDR arm_get_next_pc (struct frame_info *, CORE_ADDR);
 int arm_software_single_step (struct frame_info *);
This page took 0.032867 seconds and 4 git commands to generate.