[binutils-gdb] gdb/testsuite: fix comment in gdb.threads/non-ldr-exit.exp

Simon Marchi simark@sourceware.org
Tue Dec 1 15:33:04 GMT 2020


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4d56d64a85e2b8086aa10a8dae233424cb90c5b1

commit 4d56d64a85e2b8086aa10a8dae233424cb90c5b1
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date:   Tue Dec 1 10:31:19 2020 -0500

    gdb/testsuite: fix comment in gdb.threads/non-ldr-exit.exp
    
    Maybe there's something I don't understand in that test, but the comment
    seems wrong.  It checks what happens when the non-leader thread does an
    exit, not the leader.
    
    gdb/testsuite/ChangeLog:
    
            * gdb.threads/non-ldr-exit.exp: Fix comment.
    
    Change-Id: I35c96a70c097fa9529737874f54f3f78036008a4

Diff:
---
 gdb/testsuite/ChangeLog                    | 4 ++++
 gdb/testsuite/gdb.threads/non-ldr-exit.exp | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5966355266a..d123b44068d 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2020-12-01  Simon Marchi  <simon.marchi@polymtl.ca>
+
+	* gdb.threads/non-ldr-exit.exp: Fix comment.
+
 2020-12-01  Andrew Burgess  <andrew.burgess@embecosm.com>
 
 	* gdb.xml/maint-xml-dump-03.xml: New file.
diff --git a/gdb/testsuite/gdb.threads/non-ldr-exit.exp b/gdb/testsuite/gdb.threads/non-ldr-exit.exp
index 234d74dda1a..522ddf60209 100644
--- a/gdb/testsuite/gdb.threads/non-ldr-exit.exp
+++ b/gdb/testsuite/gdb.threads/non-ldr-exit.exp
@@ -13,7 +13,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Exit of the thread group leader should not break GDB.
+# Exit by a thread group non-leader should not break GDB.
 
 standard_testfile
 set executable ${testfile}


More information about the Gdb-cvs mailing list