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] Renesas SH (sh4) native support


> I glanced through the patch a little.  It had the usual formatting
> issues, and was lacking ChangeLog entries, but otherwise nothing stood
> out for me.

The biggest issue I have besides copyright assignment (from the original
author, right?) is the fact that it hasn't been tested. If we could
involve the author a bit, and ask him to rebase the patch against
HEAD, and test it a bit, at least we could have a little bit of
confidence.

I've also spotted the following:

    +#include <sys/ptrace.h>
    +#include <sys/types.h>
    +#include <sys/param.h>
    +#include <sys/user.h>
    +#include <sys/syscall.h>
    +
    +#include <asm/ptrace.h>

which is a big no-no in a -tdep file. Tdep files should be compilable
on any host.

I haven't been able to review the file much beyond that...

-- 
Joel


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