From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29064 invoked by alias); 11 Aug 2012 03:14:56 -0000 Received: (qmail 29055 invoked by uid 22791); 11 Aug 2012 03:14:54 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-qa0-f41.google.com (HELO mail-qa0-f41.google.com) (209.85.216.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 11 Aug 2012 03:14:42 +0000 Received: by qafk30 with SMTP id k30so1520655qaf.0 for ; Fri, 10 Aug 2012 20:14:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.135.133 with SMTP id n5mr2394123qct.124.1344654881347; Fri, 10 Aug 2012 20:14:41 -0700 (PDT) Received: by 10.49.71.197 with HTTP; Fri, 10 Aug 2012 20:14:41 -0700 (PDT) Date: Sat, 11 Aug 2012 03:14:00 -0000 Message-ID: Subject: execution does not run in the source line's order From: rivers horse To: gdb@sourceware.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00033.txt.bz2 hi, I debug gdb using itself, i find a strange issue =A3=BA the programme being debugged execute not in line order,for example, it goes into line 20,then it goes into line 18 , which are simply assignment operations, what is the reasin for this? thanks!