ppc: Fix record support of Store String Word instructions
[deliverable/binutils-gdb.git] / gdb / lm32-tdep.c
index ea83892b049a68f37ced0bcf9a794d0e544a4f95..bb9a29759c41044079ccb95db95b7d7b0be2e321 100644 (file)
@@ -36,6 +36,7 @@
 #include "trad-frame.h"
 #include "reggroups.h"
 #include "opcodes/lm32-desc.h"
+#include <algorithm>
 
 /* Macros to extract fields from an instruction.  */
 #define LM32_OPCODE(insn)       ((insn >> 26) & 0x3f)
@@ -197,7 +198,7 @@ lm32_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
       CORE_ADDR post_prologue_pc
        = skip_prologue_using_sal (gdbarch, func_addr);
       if (post_prologue_pc != 0)
-       return max (pc, post_prologue_pc);
+       return std::max (pc, post_prologue_pc);
     }
 
   /* Can't determine prologue from the symbol table, need to examine
This page took 0.023851 seconds and 4 git commands to generate.