Re: [PATCH] Fix the multithread program core thread message error

From: Hui Zhu
Date: Tue Jun 30 2009 - 23:29:23 EST


On Wed, Jul 1, 2009 at 11:27, Hui Zhu<teawater@xxxxxxxxx> wrote:
> Hi Amerigo,
>
> Thanks for your reply.
>
> On Wed, Jul 1, 2009 at 08:54, Amerigo Wang<xiyou.wangcong@xxxxxxxxx> wrote:
>>
>> Hi, Hui.
>>
>> On Tue, Jun 30, 2009 at 05:12:31PM +0800, Hui Zhu wrote:
>>>Fix the multithread program core thread message error.
>>>The thread message of core file is generated in
>>>elf_dump_thread_status.  The register values is set by
>>>elf_core_copy_task_regs in this function.
>>>static inline int elf_core_copy_task_regs(struct task_struct *t,
>>>                                          elf_gregset_t* elfregs)
>>>{
>>>
>>>       return ELF_CORE_COPY_TASK_REGS(t, elfregs);
>>>       return 0;
>>>}
>>>If a arch doesn't define ELF_CORE_COPY_TASK_REGS, This function will do
>>>nothing.  Then the core file will not have the register message of
>>>thread.
>>>So add elf_core_copy_regs to set regiser values if
>>>ELF_CORE_COPY_TASK_REGS doesn't define.
>>
>>
>> You forgot your Signed-off-by line. :)
>
> Signed-off-by: Hui Zhu <hui.zhu@xxxxxxxxxxxxx>

I need change it to Signed-off-by: Hui Zhu <teawater@xxxxxxxxx>
Sorry about it.

Thanks,
Hui
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/