diff options
Diffstat (limited to 'gdb/moxie-tdep.c')
-rw-r--r-- | gdb/moxie-tdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/moxie-tdep.c b/gdb/moxie-tdep.c index 714734d..5e5c19b 100644 --- a/gdb/moxie-tdep.c +++ b/gdb/moxie-tdep.c @@ -39,6 +39,7 @@ #include "record-full.h" #include "moxie-tdep.h" +#include <algorithm> /* Local functions. */ @@ -225,7 +226,7 @@ moxie_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); else { /* Can't determine prologue from the symbol table, need to examine |