RE: fail to attach to process on Solaris

Burkhardt, Glenn
2011-09-21T16:28:46Z

gdb $ uname -a
SunOS bos0ux02 5.9 Generic_118558-28 sun4u sparc SUNW,Sun-Fire-V440
gcc (GCC) 4.5.2
gdb $ ./gdb --version
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 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 "sparc-sun-solaris2.9".

I'm fairly sure the default thread library was used. The executable was
linked with -lpthread, and uses

/usr/lib/libpthread.so.1
/usr/lib/libthread.so.1

> -----Original Message-----
> From: Pedro Alves [mailto:pedro@codesourcery.com]
> Sent: Wednesday, September 21, 2011 10:26 AM
> To: Burkhardt, Glenn
> Cc: gdb@sourceware.org
> Subject: Re: fail to attach to process on Solaris
>
> This is Solaris 9, with the default 1:1 model thread library, right?
>