RFA: Actual support for tracing forks on GNU/Linux

Michal Ludvig mludvig@suse.cz
Mon Aug 18 13:11:00 GMT 2003


Daniel Jacobowitz told me that:
> On Mon, Aug 18, 2003 at 11:09:53AM +0200, Michal Ludvig wrote:

>>Index: x86-64-linux-nat.c
>>===================================================================
>>RCS file: /cvs/src/src/gdb/x86-64-linux-nat.c,v
>>retrieving revision 1.23.6.2
>>diff -u -p -r1.23.6.2 x86-64-linux-nat.c
>>--- x86-64-linux-nat.c  17 Jul 2003 12:51:55 -0000      1.23.6.2
>>+++ x86-64-linux-nat.c  18 Aug 2003 09:05:51 -0000
>>@@ -347,3 +347,9 @@ ps_get_thread_area (const struct ps_proc
>>   return PS_ERR;               /* ptrace failed.  */
>> }
>>
>>+void
>>+child_post_startup_inferior (ptid_t ptid)
>>+{
>>+  i386_cleanup_dregs ();
>>+  linux_child_post_startup_inferior (ptid);
>>+}
>>
>>Right? OK to apply?
> 
> Along with defining LINUX_CHILD_POST_STARTUP_INFERIOR, I assume?  Yes,
> this is OK.  Sorry about breaking amd64.

Thanks, committed the attached.

Michal Ludvig
-- 
* SuSE CR, s.r.o     * mludvig@suse.cz
* (+420) 296.545.373 * http://www.suse.cz
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cpsi-2.diff
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030818/a118e48c/attachment.ksh>


More information about the Gdb-patches mailing list