From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 127517 invoked by alias); 1 Jun 2019 19:28:02 -0000 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 Received: (qmail 127509 invoked by uid 89); 1 Jun 2019 19:28:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: =?ISO-8859-1?Q?Yes, score=9.5 required=5.0 tests=BAYES_50,BODY_8BITS,GARBLED_BODY,HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_SBL_CSS autolearn=no version=3.3.1 spammy=H*r:TCP, H*r:gdb@gnu.org, ***=e7=a5=a8*****, ********?= X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 01 Jun 2019 19:28:01 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hX9fZ-0005Yw-SO for gdb@sourceware.org; Sat, 01 Jun 2019 15:27:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36928) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hX9fV-0007Es-Rj for gdb@gnu.org; Sat, 01 Jun 2019 15:27:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hX9fT-0005Om-TB for gdb@gnu.org; Sat, 01 Jun 2019 15:27:53 -0400 Received: from [36.27.31.10] (port=54909 helo=pqcu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hX9fS-0005NB-C5 for gdb@gnu.org; Sat, 01 Jun 2019 15:27:51 -0400 Received: from SKY-20150219JSJ ([127.0.0.1]) by localhost via TCP with ESMTPA; Sun, 02 Jun 2019 03:27:43 +0800 MIME-Version: 1.0 From: golhooi To: gdb@gnu.org Date: Sat, 01 Jun 2019 19:28:00 -0000 Subject: =?utf-8?B?JiYm56iOKioq56WoKioqKio=?= X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 Message-ID: X-Received-From: 36.27.31.10 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-SW-Source: 2019-06/txt/msg00000.txt.bz2 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQrl vIDlkITlnLDmraPop4Tmma7pgJrnqI7npajvvIzngrnmlbDkvJjmg6DvvIzl jIXnnJ/jgIINCuiBlOezu+S6uu+8muW8oOWFiOeUnzEzOS01NDQzLTg5NjHv vIjlvq7kv6HlkIzlj7fvvIkgMjAxOS82LzINCuivpueUte+8muS4muWKoVFR 77yaIDI2NDkzMTIyMDkzOjI3DQo= >From gdb-return-47035-listarch-gdb=sources.redhat.com@sourceware.org Sat Jun 01 21:36:02 2019 Return-Path: Delivered-To: listarch-gdb@sources.redhat.com Received: (qmail 95356 invoked by alias); 1 Jun 2019 21:36:02 -0000 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 Delivered-To: mailing list gdb@sourceware.org Received: (qmail 95348 invoked by uid 89); 1 Jun 2019 21:36:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: =?ISO-8859-1?Q?Yes, score=6.9 required=5.0 tests=BAYES_60,BODY_8BITS,GARBLED_BODY,HTML_MESSAGE,PYZOR_CHECK autolearn=no version=3.3.1 spammy=H*r:TCP, *****=e7=a5=a8*****, *****=e7=a8, HX-Languages-Length:552?= X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 01 Jun 2019 21:36:01 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXBfU-0000yX-7b for gdb@sourceware.org; Sat, 01 Jun 2019 17:36:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50217) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hXBfU-0006Og-1g for bug-gdb@gnu.org; Sat, 01 Jun 2019 17:36:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXBfT-0000y4-5C for bug-gdb@gnu.org; Sat, 01 Jun 2019 17:35:59 -0400 Received: from [183.129.54.52] (port=60372 helo=lbgs.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXBfS-0000wt-I9 for bug-gdb@gnu.org; Sat, 01 Jun 2019 17:35:59 -0400 Received: from SKY-20150219JSJ ([127.0.0.1]) by localhost via TCP with ESMTPA; Sun, 02 Jun 2019 05:30:30 +0800 MIME-Version: 1.0 From: cvpd To: bug-gdb@gnu.org Date: Sat, 01 Jun 2019 21:36:00 -0000 Subject: =?utf-8?B?KioqKirnqI4qKioqKuelqCoqKioq?= X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 Message-ID: X-Received-From: 183.129.54.52 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-SW-Source: 2019-06/txt/msg00001.txt.bz2 Content-length: 468 JmFtcDsmYW1wOyZhbXA7JmFtcDsmYW1wOyZhbXA7JmFtcDsmYW1wOyZhbXA7 JmFtcDsmYW1wOyZhbXA7JmFtcDsmYW1wOyZhbXA7JmFtcDsmYW1wOyZhbXA7 JmFtcDsmYW1wOyZhbXA7JmFtcDsmYW1wOyZhbXA7JmFtcDsmYW1wOyZhbXA7 JmFtcDsmYW1wOyZhbXA7JmFtcDsmYW1wOyZhbXA7JmFtcDsmYW1wOyZhbXA7 JmFtcDsmYW1wOw0K5byA5ZCE5Zyw5q2j6KeE5pmu6YCa56iO56Wo77yM54K5 5pWw5LyY5oOg77yM5YyF55yf44CCDQrogZTns7vkurrvvJrlvKDlhYjnlJ8x MzktNTQ0My04OTYx77yI5b6u5L+h5ZCM5Y+377yJIixfDQror6bnlLXvvJrk uJrliqFRUe+8mjI2NDkzMTIyMDl3Yw0KJm5ic3A7 >From gdb-return-47036-listarch-gdb=sources.redhat.com@sourceware.org Tue Jun 04 09:38:41 2019 Return-Path: Delivered-To: listarch-gdb@sources.redhat.com Received: (qmail 26049 invoked by alias); 4 Jun 2019 09:38:40 -0000 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 Delivered-To: mailing list gdb@sourceware.org Received: (qmail 25984 invoked by uid 89); 4 Jun 2019 09:38:40 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE autolearn=ham version=3.3.1 spammy=HTo:U*gdb, H*Ad:U*gdb, H*c:alternative, H*c:HHH X-HELO: mga02.intel.com Received: from mga02.intel.com (HELO mga02.intel.com) (134.134.136.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 04 Jun 2019 09:38:37 +0000 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jun 2019 02:38:35 -0700 Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 04 Jun 2019 02:38:35 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 4 Jun 2019 02:38:35 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 4 Jun 2019 02:38:34 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.137]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.10]) with mapi id 14.03.0415.000; Tue, 4 Jun 2019 17:38:33 +0800 From: "Xiang, Jing" To: "gdb@sourceware.org" Subject: stop all threads when step over breakpoint and doesn't resume automatically Date: Tue, 04 Jun 2019 09:38:00 -0000 Message-ID: <14F6A9900709CD4B82EAE375B2FCF68552FF0030@SHSMSX104.ccr.corp.intel.com> MIME-Version: 1.0 Return-Path: jing.xiang@intel.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2019-06/txt/msg00002.txt.bz2 Content-length: 1185 Hello, I'm an Firmware developer and meet some problem after upgrade host side GDB= tool from 7.7 version to 8.2.1. There's an GDB stub implemented in our fir= mware and it works well with GDB 7.7. Recently we upgraded gdb.exe to 8.2.1= and met some problem when step over a breakpoint. Our firmware is multithread system, and the GDB stub is implemented over a = specific driver, so it's using non-stop mode to exchange messages between o= ur stub and GDB.exe. With old GDB 7.7, after stop @ a breakpoint and run "= next", it would stop smoothly at next line of the code and other threads st= ill in running state. While with GDB 8.2.1, same steps, after run "next" command at a breakpoint,= it would stop all threads instead. Note: if disable that breakpoint, it would not stop other threads and just = stop at next line of the thread being debugged. Is this expected behavior with GDB 8.2.1? The problem here is that after st= op all threads, it doesn't resume them automatically. Or anything need to b= e changed in our stub to not stop other threads or resume them automaticall= y? Please let me know if any more info needed or how to check it further. Best Regards Jing