From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21832 invoked by alias); 4 Jun 2004 02:34:03 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 21825 invoked from network); 4 Jun 2004 02:34:02 -0000 Received: from unknown (HELO ns.turbolinux.com.cn) (210.77.38.126) by sourceware.org with SMTP; 4 Jun 2004 02:34:02 -0000 Received: from turbolinux.com.cn (kunlun.turbolinux.com.cn [202.108.132.18]) by ns.turbolinux.com.cn (8.12.5/8.12.5) with ESMTP id i542dWNM030993; Fri, 4 Jun 2004 10:39:35 +0800 Message-ID: <40BFDEC8.3070602@turbolinux.com.cn> Date: Fri, 04 Jun 2004 02:34:00 -0000 From: Jason Luo User-Agent: Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.6) Gecko/20040601 MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb@sources.redhat.com Subject: Re: What make the directive run twice? References: <40BECE4F.7090002@turbolinux.com.cn> <20040603204433.GA22683@nevyn.them.org> In-Reply-To: <20040603204433.GA22683@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-SW-Source: 2004-06/txt/msg00026.txt.bz2 > It wasn't run twice; it appears in the step output twice. This is > common when debugging optimized code; part of the function call occurs > before the previous line and part after. I disassemble the call function init_device_map,and the function check_device,I didn't find that you says. init_device_map call check_deivce,then the control jump to the function check_device,then process continue.The process flow is correct like the c source file's. I guess you say is the binary code was optimized,isn't it? Counld you reference to me about the point?Thanks! Best Regards Jason