From 8179e7399121c25d5e046368d223c3b44c32716a Mon Sep 17 00:00:00 2001 From: Maxim Grigoriev Date: Sat, 19 Sep 2009 03:56:31 +0000 Subject: [PATCH] 2009-09-18 Maxim Grigoriev * xtensa-tdep.c (call0_analyze_prologue): Replace INT_MAX by UNIT_MAX. --- gdb/ChangeLog | 4 ++++ gdb/xtensa-tdep.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 427f61f062f..70b9aaab8e1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-09-18 Maxim Grigoriev + + * xtensa-tdep.c (call0_analyze_prologue): Replace INT_MAX by UNIT_MAX. + 2009-09-18 Jan Kratochvil * objfiles.c (free_objfile): Clear SYMFILE_OBJFILE if it is OBJFILE. diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c index 07454978fe8..ed8536181fd 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. */ -- 2.30.2