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: [toolchain-devel] [PATCH v2] gdbserver: bfin: new port


On 15/12/10 12:55, Mike Frysinger wrote:
code looks good ... but there's one slight problem.  it is binding to
the format gdbserver itself is being compiled as.  in other words,
this code requires gdbserver itself to be compiled as FDPIC in order
to debug FDPIC applications.  the current Blackfin code does not have
that restriction ... a FLAT gdbserver can debug a FDPIC app just fine.

but it seems this limitation is superfluous ... how about we change
the __FDPIC__ ifdef to:
#if defined(PTRACE_GETFDPIC_EXEC)&&  defined(PTRACE_GETFDPIC_INTERP)
...
#endif

Seems fine to me.


do you have an idea of when you'll submit just the qXfer:fdpic support
?  seems that these pieces can stand on their own just fine.

I had not planned to submit it until I had the whole thing working. Given that the kernel was badly broken, last time I checked, I couldn't do it then, and I haven't had time since. Nor am I likely to have time to do more work on this in the foreseeable future.


Feel free to take the patch and do what you like with it. It's just a matter of cutting out the non-gdbserver bits anyway.

Andrew


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