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 4/4] 'catch syscall' feature -- Build system, documentation and testcase


On Tue, Nov 04, 2008 at 01:01:59PM -0200, Sérgio Durigan Júnior wrote:
> > My only other comment is how this would work on remote targets (i.e.  
> > remote target is x86, but your host is PPC).
> 
> To be completely honest, I still don't know the answer to this question.
> I'd be glad if some good soul could try to answer this, so that I can
> fix things if needed.

Your patch relies on a change to the native file, right?  If so, it
will never trigger on remote.  In order for it to trigger, we'd need:

 - a new remote protocol extension in gdb.texinfo
 - remote.c implementation
 - gdbserver implementation

It shouldn't be too hard for someone to add it later.  So restricting
the tests to native targets would be enough.  Search for
[is_remote target] in the testsuite.

-- 
Daniel Jacobowitz
CodeSourcery


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