X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Finfcmd.c;h=14d51fd47106791c7e09fb3ccbe83bc8a2450425;hb=7eb895307f53af3435440d3fe67c0e4e679d99b2;hp=51fef8593d97b35cc64abbccda0e36200c956688;hpb=0f6ed0e0efe2c4dcd35b0e483dc3b5da7fe4edf0;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 51fef8593d..14d51fd471 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -2029,6 +2029,8 @@ finish_command (char *arg, int from_tty) entering THISFRAME. */ frame = skip_tailcall_frames (frame); + frame = skip_unwritable_frames (frame); + if (frame == NULL) error (_("Cannot find the caller frame."));