Re: Problem with running simple pthreads program under gdb-7.2 (Invalid selected thread)

2011-09-14 Thread John Schumacher
These replies seemed to dance around the actual issue, I assume this wasn't resolved? I have been seeing this lately in gdb7.2 built from ports, and was curious as to what the real issue was. excerpt: [Thread 803855580 (LWP 100241 IPC UDP Socket) ex ited] error: Invalid selected

Re: Problem with running simple pthreads program under gdb-7.2 (Invalid selected thread)

2011-05-27 Thread John Baldwin
On Thursday, May 26, 2011 8:03:19 pm Raphael Kubo da Costa wrote: Andriy Gapon a...@freebsd.org writes: on 26/05/2011 16:33 John Baldwin said the following: On Thursday, May 26, 2011 3:37:13 am Andriy Gapon wrote: on 26/05/2011 03:35 Raphael Kubo da Costa said the following: If I

Re: Problem with running simple pthreads program under gdb-7.2 (Invalid selected thread)

2011-05-26 Thread Andriy Gapon
on 26/05/2011 03:35 Raphael Kubo da Costa said the following: If I compile the port myself, I can't run any binary (PR ports/152896, which has been unanswered despite my efforts): Reading symbols from /usr/local/bin/gdb72...I'm sorry, Dave, I can't do that. Symbol format

Re: Problem with running simple pthreads program under gdb-7.2 (Invalid selected thread)

2011-05-26 Thread John Baldwin
On Wednesday, May 25, 2011 8:35:28 pm Raphael Kubo da Costa wrote: Dmitry Krivenok krivenok.dmi...@gmail.com writes: As you can see program exited normally w/o any errors. Then I run the same program under gdb-7.2 $ /usr/local/bin/gdb72 --args t GNU gdb (GDB) 7.2 [GDB v7.2 for

Re: Problem with running simple pthreads program under gdb-7.2 (Invalid selected thread)

2011-05-26 Thread John Baldwin
On Thursday, May 26, 2011 3:37:13 am Andriy Gapon wrote: on 26/05/2011 03:35 Raphael Kubo da Costa said the following: If I compile the port myself, I can't run any binary (PR ports/152896, which has been unanswered despite my efforts): Reading symbols from /usr/local/bin/gdb72...I'm

Re: Problem with running simple pthreads program under gdb-7.2 (Invalid selected thread)

2011-05-26 Thread Andriy Gapon
on 26/05/2011 16:33 John Baldwin said the following: On Thursday, May 26, 2011 3:37:13 am Andriy Gapon wrote: on 26/05/2011 03:35 Raphael Kubo da Costa said the following: If I compile the port myself, I can't run any binary (PR ports/152896, which has been unanswered despite my efforts):

Re: Problem with running simple pthreads program under gdb-7.2 (Invalid selected thread)

2011-05-26 Thread Raphael Kubo da Costa
Andriy Gapon a...@freebsd.org writes: on 26/05/2011 16:33 John Baldwin said the following: On Thursday, May 26, 2011 3:37:13 am Andriy Gapon wrote: on 26/05/2011 03:35 Raphael Kubo da Costa said the following: If I compile the port myself, I can't run any binary (PR ports/152896, which has

Problem with running simple pthreads program under gdb-7.2 (Invalid selected thread)

2011-05-25 Thread Dmitry Krivenok
Hello, I wrote very simple Pthreads program to demonstrate the problem with gdb-7.2 installed from ports on my FreeBSD-8.2 (amd64). /// #include pthread.h #include assert.h #include stdlib.h void* run(void* arg) {

Re: Problem with running simple pthreads program under gdb-7.2 (Invalid selected thread)

2011-05-25 Thread Raphael Kubo da Costa
Dmitry Krivenok krivenok.dmi...@gmail.com writes: As you can see program exited normally w/o any errors. Then I run the same program under gdb-7.2 $ /usr/local/bin/gdb72 --args t GNU gdb (GDB) 7.2 [GDB v7.2 for FreeBSD] Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU