This is the mail archive of the gdb-patches@sourceware.org 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]

Re: [PATCH 4/7 v2] Introduce linux_proc_pid_to_exec_file


On 04/15/2015 02:14 PM, Gary Benson wrote:
> This commit introduces a new function linux_proc_pid_to_exec_file
> that shared Linux code can use to discover the filename of the
> executable that was run to create a process on the system.

I'd have the preferred the readlink change to be a separate change,
but, it's not worth it to split now.

> 
> gdb/ChangeLog:
> 
> 	* nat/linux-procfs.h (linux_proc_pid_to_exec_file):
> 	New declaration.
> 	* nat/linux-procfs.c (linux_proc_pid_to_exec_file):
> 	New function, factored out from...
> 	* linux-nat.c (linux_child_pid_to_exec_file): ...here.


OK.

Thanks,
Pedro Alves


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