This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdbserver: Get the pid from /proc when attaching to a non-initial lwp
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 25 Apr 2014 19:25:09 +0100
- Subject: Re: [PATCH] gdbserver: Get the pid from /proc when attaching to a non-initial lwp
- Authentication-results: sourceware.org; auth=none
- References: <1398187705-17237-1-git-send-email-simon dot marchi at ericsson dot com> <535A8684 dot 6000405 at redhat dot com> <535A997C dot 90904 at ericsson dot com>
On 04/25/2014 06:21 PM, Simon Marchi wrote:
> All of this makes sense. I tested your change with my previously failing test case it works fine.
>
> I considered this solution (passing the pid from linux_attach), but I was a bit puzzled with what to do with these other calls.
Alright, thanks for confirming. I've pushed this in now.
--
Pedro Alves