Jakub Jelinek <ja...@redhat.com> writes: > On Wed, Jan 28, 2015 at 01:42:47PM -0700, Jeff Law wrote: >> >2015-01-28 Rainer Orth <r...@cebitec.uni-bielefeld.de> >> > >> > gcc/testsuite: >> > * gcc.dg/guality/guality.h (main): Add argv[0] to >> > guality_gdb_command. >> OK. >> >> As for what to do with guality, I haven't a clue. They're dependent on the >> debugger version and perhaps other stuff that I don't recall. >> >> Perhaps skip them if we find gdb and determine it is "too old"? > > We already do that. I bet the Solaris case is more about the lack > of support to find an executable from its pid (/proc/<pid>/exe > in Linux). > Guess one can easily try it, run > gdb > (without arguments, or those -nx -nw that guality uses) and type > attach 19355 # pick pid of some process you can debug > in Linux gdb will find the binary etc.
I've now filed GDB PR tdep/17903 for this, outlining a possible implementation of this feature on Solaris. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University