Also verified uner utopic gcc version 4.9.1

$ vi s1.cpp
$ g++ s1.cpp -g -std=c++11 -fgnu-tm -lpthread -D D_STM
$ ./a.out
a=4000000 b=8000000 c=12000000
ubuntu@fauck4:~$ gdb ./a.out
GNU gdb (Ubuntu 7.8-0ubuntu2) 7.8.0.20141001-cvs
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc64le-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./a.out...done.
(gdb) run
Starting program: /home/ubuntu/a.out 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/powerpc64le-linux-gnu/libthread_db.so.1".
[New Thread 0x3fffb72bf170 (LWP 15611)]
[New Thread 0x3fffb6abf170 (LWP 15612)]
[New Thread 0x3fffb62bf170 (LWP 15613)]
[New Thread 0x3fffb56af170 (LWP 15614)]
[Thread 0x3fffb6abf170 (LWP 15612) exited]
[Thread 0x3fffb72bf170 (LWP 15611) exited]
[Thread 0x3fffb56af170 (LWP 15614) exited]
a=4000000 b=8000000 c=12000000
[Thread 0x3fffb62bf170 (LWP 15613) exited]
[Inferior 1 (process 15608) exited normally]

$ gcc --version
gcc (Ubuntu 4.9.1-16ubuntu6) 4.9.1
ubuntu@fauck4:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.10
DISTRIB_CODENAME=utopic
DISTRIB_DESCRIPTION="Ubuntu 14.10"
$ uname -a
Linux fauck4 3.16.0-20-generic #27-Ubuntu SMP Wed Oct 1 17:24:38 UTC 2014 
ppc64le ppc64le ppc64le GNU/Linux

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1418642

Title:
  GDB hangs at thread join function on Ubuntu 14.10 LE Power

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1418642/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to