* sh-tdep.c (sh_skip_prologue): Provide an upper limit on the function
authorThomas Schwinge <tschwinge@gnu.org>
Mon, 5 Mar 2012 15:16:39 +0000 (15:16 +0000)
committerThomas Schwinge <tschwinge@gnu.org>
Mon, 5 Mar 2012 15:16:39 +0000 (15:16 +0000)
commit5cbb98123cd3b29544e3d9d001fae62403a7e243
treef1f56042aa07159f22c87ebbed04b82d313718f1
parent541515ad26f459bc5beef63566644d108329e7e3
* sh-tdep.c (sh_skip_prologue): Provide an upper limit on the function
prologue to sh_analyze_prologue.
(sh_analyze_prologue): Make better use of such an upper limit, and
generally be more cautious about accessing memory.
gdb/ChangeLog
gdb/sh-tdep.c