This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch to gdbserver for names instead of pid numbers


Attached is a patch to gdbserver to allow the remote server to attach to a process by executable name rather than by pid number.  It chooses the 'first' process name that matches, assuming it to be the group leader of a multi-threaded application.  I found this to be extremely helpful in repeated use of gdbserver.
 
2002-12-09  Glenn Engel glenne@engel.org
 
        * server.c (main): Allow process name in addition to PID number

--
Glenn

glenn_engel@agilent.com / Agilent Laboratories / NN7N / 425-335-2066

 

Attachment: gdbserver.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]