Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name: src
Committed By: uwe
Date: Tue Nov 1 21:47:53 UTC 2011
Modified Files:
src/external/gpl3/gdb/dist/gdb: sh-tdep.c
Log Message:
sh_frame_cache always tries to read FPSCR. Since frame.c uses gdb
exceptions now, there's an unplesant side effect that when FPSCR is
unavailable, your last display will get disabled just in case, "to
avoid infinite recursion". That happens directly in throw_exception,
so even catching that NOT_AVAILABLE_ERROR doesn't help.
Tweak the code a bit so that sh_analyze_prologue only reads FPSCR as
needed, when an FMOV instruction is encountered in the prologue.
XXX: I'm not sure if this is the right thing to do, but it seems
minimally intrusive.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/gdb/sh-tdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index