diff options
Diffstat (limited to 'gdb/nios2-tdep.c')
-rw-r--r-- | gdb/nios2-tdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/nios2-tdep.c b/gdb/nios2-tdep.c index 8bfd8b3..3ff325f 100644 --- a/gdb/nios2-tdep.c +++ b/gdb/nios2-tdep.c @@ -44,6 +44,7 @@ /* To get entry_point_address. */ #include "objfiles.h" +#include <algorithm> /* Nios II specific header. */ #include "nios2-tdep.h" @@ -1685,7 +1686,7 @@ nios2_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR start_pc) = skip_prologue_using_sal (gdbarch, func_addr); if (post_prologue_pc != 0) - return max (start_pc, post_prologue_pc); + return std::max (start_pc, post_prologue_pc); } /* Prologue analysis does the rest.... */ |