patch to gdbserver for names instead of pid numbers

Andrew Cagney ac131313@redhat.com
Tue Dec 10 12:01:00 GMT 2002


>> No... you can do this using 'gdbserver :1234 --attach `pidof -s foo`. 
>> Killall5/pidof is a 9K binary; I don't want to add this feature to the
>> server directly when it's already available so lightweightly.
> 
> 
> Excellent !  Someday I'll know every command available and then I'll die happy...  Thanks.

Hmm, can you create a bug report describing this (see 
http://sources.redhat.com/gdb/bugs/) (or better update the documentation 
:-)?  It should be mentioned in the documentation.

Andrew




More information about the Gdb-patches mailing list