From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17258 invoked by alias); 2 Mar 2009 06:06:06 -0000 Received: (qmail 17250 invoked by uid 22791); 2 Mar 2009 06:06:06 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from ti-out-0910.google.com (HELO ti-out-0910.google.com) (209.85.142.188) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Mar 2009 06:05:59 +0000 Received: by ti-out-0910.google.com with SMTP id y8so2618314tia.12 for ; Sun, 01 Mar 2009 22:05:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.110.7.18 with SMTP id 18mr1506138tig.46.1235973955702; Sun, 01 Mar 2009 22:05:55 -0800 (PST) Date: Mon, 02 Mar 2009 06:06:00 -0000 Message-ID: Subject: [RFA] Patch to fix "reverse-step" command error From: teawater To: Michael Snyder Cc: Marc Khouzam , "gdb-patches@sourceware.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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-03/txt/msg00004.txt.bz2 Hi Michael, This patch is for bug in http://sourceware.org/ml/gdb-patches/2009-02/msg00246.html. The reason of bug is when inferior reverse exection into dynsym resolve code, gdb doesn't insert breakpoint in right address. It just happen in some distributions for example SLED. This patch make gdb insert breakpoint in right address or step in that case. 2008-03-02 Hui Zhu * infrun.c (handle_inferior_event): Make inferior insert breakpoint at right address or step in reverse and it stepped into dynsym resolve code. Thanks, Hui