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: [RFC stub-side break conditions 3/5] GDB-side changes


On 01/10/2012 07:12 PM, Luis Machado wrote:
>> I think the patches should include some tests for the new feature.
> 
> Yes. I still need to think about those.
> 
> I'll probably add a few GDB-side tests for safety, but mostly
> target-side ones like the tracepoint tests.

This patch is about adding evaluating breakpoints' conditions in target
side, so existing test cases for condition breakpoints should be
sufficient for testing.  We only need to force gdb to evaluate condition
in target side somewhere in test suite scripts.  User can define
target_info in his/her board file to set where to evaluate condition,
host or target.

If we add new test cases, they should be used for both cases (condition
evaluated on host side vs. target side).

-- 
Yao (éå)


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