This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos 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: Do not relaunch tftpd server upon second invocation of profile_on


On Fri, Oct 31, 2008 at 10:46 AM, Andrew Lunn <andrew@lunn.ch> wrote:
> On Thu, Oct 30, 2008 at 03:51:25PM +0100, ?yvind Harboe wrote:
>> Fixed comment.
>
> Hi Oyvind
>
> When working on a patch i like to understand the bug that is being
> fixed and how the patch really fixes it.
>
> Could you provide this background? What is currently wrong?

When profiling is restarted, a second tftpd server will be launched. This is
wrong. I don't know precisely what side effects this will cause, minimally
it will cause memory loss + the tftpd server thread will best case fail
gracefully.

Of course a memory loss isn't very obvious, so things can appear to
work fine.


-- 
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer


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