1 Mar 2008 05:39
Re: hbreak.exp: Test hardware breakpoints
Daniel Jacobowitz <drow <at> false.org>
2008-03-01 04:39:41 GMT
2008-03-01 04:39:41 GMT
On Wed, Feb 27, 2008 at 03:11:38PM +0000, Maciej W. Rozycki wrote: > Daniel, have you got any further with this patch you proposed? I can see > it has not been included in the tree. I have checked in the updated version, which is attached. > Here is my gdb.base/hbreak.exp test case again, updated according to your > suggestion so that hardware breakpoints are only inserted once the target > has been placed into the execution mode. It passes on i386-linux natively > and with the mipsisa32-sde-elf target using the > mips-sim-sde32/-EB/-march=mips32r2 and mips-sim-sde32/-EL/-march=mips32r2 > boards. It reports the cases correctly as unsupported on mips-linux > natively and with the mipsisa32-sde-elf target using the > mips-sim-sde32/-EB/-march=mips32r2 and mips-sim-sde32/-EL/-march=mips32r2 > boards. It fails using gdbserver. The first failure looks like this: (gdb) continue Continuing. Warning: Cannot insert hardware breakpoint 10. Could not insert hardware breakpoints: You may have requested too many hardware breakpoints/watchpoints. (gdb) FAIL: gdb.base/hbreak.exp: run until function breakpoint "target remote" has hardware breakpoint support, but this particular remote target does not. Unfortunately we do not detect the error and I am not sure how to make it do so. There is a(Continue reading)
RSS Feed