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: one-too-many location in breakpoint


>  I can see you made this adjustment:
> 
> -    gdb_test "break ${class}::foo if (a == 3)" "Breakpoint (\[0-9\]).*"
> +    gdb_test "break ${class}::hibob if (a_param == 3)" "Breakpoint
> 
> but there's this definition elsewhere in this test case:
> 
>     set conditional1 "if (a == 3)"
> 
> as well, that you have left intact.  Should it be adjusted accordingly?  

I think it did get adjusted yesterday.

> Why is this condition accepted for some targets and not for some
> others anyway?

Tom said:
> I missed a spot when changing the parameter names in ovsrch.exp, and
> didn't notice because I have the 64-bit glibc debuginfo installed, which
> provides a minsym named "a".

I've hit this sort of problem several times in the past, and that's why
I choose funky and unambiguous names for my global variables....

-- 
Joel


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