aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMaxim Grigoriev <maxim2405@gmail.com>2009-09-19 03:56:31 +0000
committerMaxim Grigoriev <maxim2405@gmail.com>2009-09-19 03:56:31 +0000
commit8179e7399121c25d5e046368d223c3b44c32716a (patch)
treefc7b6e1b37383b105d0b27742e522426c840bea6 /gdb
parent87fc12fe7d5a5b0f57028d35a5bed521f890890d (diff)
downloadgdb-8179e7399121c25d5e046368d223c3b44c32716a.zip
gdb-8179e7399121c25d5e046368d223c3b44c32716a.tar.gz
gdb-8179e7399121c25d5e046368d223c3b44c32716a.tar.bz2
2009-09-18 Maxim Grigoriev <maxim2405@gmail.com>
* xtensa-tdep.c (call0_analyze_prologue): Replace INT_MAX by UNIT_MAX.
Diffstat (limited to 'gdb')
-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. */