aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/xtensa-tdep.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 427f61f..70b9aaa 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-18 Maxim Grigoriev <maxim2405@gmail.com>
+
+ * xtensa-tdep.c (call0_analyze_prologue): Replace INT_MAX by UNIT_MAX.
+
2009-09-18 Jan Kratochvil <jan.kratochvil@redhat.com>
* objfiles.c (free_objfile): Clear SYMFILE_OBJFILE if it is OBJFILE.
diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c
index 0745497..ed85361 100644
--- a/gdb/xtensa-tdep.c
+++ b/gdb/xtensa-tdep.c
@@ -2125,7 +2125,7 @@ call0_analyze_prologue (struct gdbarch *gdbarch,
Assume we may be in the prologue until we hit a flow control instr. */
rtmp = NULL;
- body_pc = INT_MAX;
+ body_pc = UINT_MAX;
end_pc = 0;
/* Find out, if we have an information about the prologue from DWARF. */