2009-09-18 Maxim Grigoriev <maxim2405@gmail.com>
authorMaxim Grigoriev <maxim2405@gmail.com>
Sat, 19 Sep 2009 03:56:31 +0000 (03:56 +0000)
committerMaxim Grigoriev <maxim2405@gmail.com>
Sat, 19 Sep 2009 03:56:31 +0000 (03:56 +0000)
        * xtensa-tdep.c (call0_analyze_prologue): Replace INT_MAX by UNIT_MAX.

gdb/ChangeLog
gdb/xtensa-tdep.c

index 427f61f..70b9aaa 100644 (file)
@@ -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.
index 0745497..ed85361 100644 (file)
@@ -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.  */