From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22880 invoked by alias); 11 Jun 2009 08:27:13 -0000 Received: (qmail 22869 invoked by uid 22791); 11 Jun 2009 08:27:12 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-px0-f196.google.com (HELO mail-px0-f196.google.com) (209.85.216.196) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 11 Jun 2009 08:27:06 +0000 Received: by pxi34 with SMTP id 34so544926pxi.12 for ; Thu, 11 Jun 2009 01:27:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.80.16 with SMTP id d16mr886383wfb.181.1244708824958; Thu, 11 Jun 2009 01:27:04 -0700 (PDT) Date: Thu, 11 Jun 2009 08:27:00 -0000 Message-ID: Subject: [RFA] Patch to fix reverse return from subroutine error From: Hui Zhu To: gdb-patches ml Cc: Michael Snyder , Marc Khouzam Content-Type: multipart/mixed; boundary=001636ed6a115c4798046c0e5b48 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00291.txt.bz2 --001636ed6a115c4798046c0e5b48 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-length: 661 Hi, This patch is to fix bug in http://sourceware.org/ml/gdb/2009-06/msg00089.html 2009-06-11 Hui Zhu * infrun.c (handle_inferior_event): Reverse return from subroutine doesn't use code "infrun: stepped into subroutine". There still are 3 reverse patches like it need be review: http://sourceware.org/ml/gdb-patches/2009-05/msg00103.html http://sourceware.org/ml/gdb-patches/2009-05/msg00104.html http://sourceware.org/ml/gdb-patches/2009-05/msg00105.html And other one need to be comment: http://sourceware.org/ml/gdb-patches/2009-05/msg00078.html Maybe some nice people can spend sometime on these poor babies. :) Thanks, Hui --001636ed6a115c4798046c0e5b48 Content-Type: text/plain; charset=US-ASCII; name="fix-reverse-return-from-subroutine.txt" Content-Disposition: attachment; filename="fix-reverse-return-from-subroutine.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fvt7buf10 Content-length: 1005 LS0tCiBpbmZydW4uYyB8ICAgIDcgKysrKysrLQogMSBmaWxlIGNoYW5nZWQs IDYgaW5zZXJ0aW9ucygrKSwgMSBkZWxldGlvbigtKQoKLS0tIGEvaW5mcnVu LmMKKysrIGIvaW5mcnVuLmMKQEAgLTM3MDgsNyArMzcwOCwxMiBAQCBpbmZy dW46IG5vdCBzd2l0Y2hpbmcgYmFjayB0byBzdGVwcGVkIHRoCiAJCSAgICBl Y3MtPmV2ZW50X3RocmVhZC0+c3RlcF9mcmFtZV9pZCkKICAgICAgICYmIChm cmFtZV9pZF9lcSAoZnJhbWVfdW53aW5kX2lkIChnZXRfY3VycmVudF9mcmFt ZSAoKSksCiAJCSAgICAgICBlY3MtPmV2ZW50X3RocmVhZC0+c3RlcF9mcmFt ZV9pZCkKLQkgIHx8IGV4ZWN1dGlvbl9kaXJlY3Rpb24gPT0gRVhFQ19SRVZF UlNFKSkKKwkgIHx8IChleGVjdXRpb25fZGlyZWN0aW9uID09IEVYRUNfUkVW RVJTRQorCSAgICAgICYmIGVjcy0+ZXZlbnRfdGhyZWFkLT5zdGVwX2ZyYW1l X2lkLnN0YWNrX2FkZHJfcAorCSAgICAgICYmIGdldF9mcmFtZV9pZCAoZ2V0 X2N1cnJlbnRfZnJhbWUgKCkpLnN0YWNrX2FkZHJfcAorICAgICAgICAgICAg ICAmJiAhZ2RiYXJjaF9pbm5lcl90aGFuIChjdXJyZW50X2dkYmFyY2gsCisJ CQkJICAgICAgZWNzLT5ldmVudF90aHJlYWQtPnN0ZXBfZnJhbWVfaWQuc3Rh Y2tfYWRkciwKKwkJCQkgICAgICBnZXRfZnJhbWVfaWQgKGdldF9jdXJyZW50 X2ZyYW1lKCkpLnN0YWNrX2FkZHIpKSkpCiAgICAgewogICAgICAgQ09SRV9B RERSIHJlYWxfc3RvcF9wYzsKIAo= --001636ed6a115c4798046c0e5b48--