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: hbreak.exp: Test hardware breakpoints


On Wed, 26 Sep 2007, Daniel Jacobowitz wrote:

> > Continuing.
> > Couldn't write debug register: No such process.
> > (gdb) FAIL: gdb.base/hbreak.exp: run until function breakpoint
> 
> Sorry, I forgot to warn you about this :-(  You can't use a native
> i686-linux debugger to do this test, because the i686 native debugger
> defines target_insert_watchpoint et cetera; that message is coming
> from GDB trying to use ptrace, even though it's connected to target
> remote.

 Which is obviously a bug -- you should be able to debug a remote 
i386-linux-gnu target with an i386-linux-gnu host using an i386-linux-gnu 
native debugger if the "target remote" command is at all available, 
shouldn't you?

> I'll build a cross debugger and give it a try tonight.

 Thanks.

  Maciej


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