This is the mail archive of the gdb-patches@sources.redhat.com 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: gdb/mi] -var-list-children testcase


Andrew,

I have added one test for:

-var-list-children --all-values struct_declarations.long_array

for the patch that I submitted earlier. This
is very similar to `Test: c_variable-4.15' which is for:

-var-list-children struct_declarations.long_array

and I guess that they should be next to each other. My test can't be moved forward, however, values need to be assigned first.

I haven't been able to verify this test as mi-var-child.exp fails before it
reaches my test. Before my changes, I get:

=== gdb Summary ===

# of expected passes		108
# of unexpected failures	18

I think these failures arise for the same reason of those in mi-stack.exp and
are due to the different line the first breakpoint stops on. In this case, for
me, break do_children_tests gives:

Breakpoint 1 at 0x80484ac: file gdb.mi/var-cmd.c, line 176.

which should be line 192, I think.

Much thanks! This and the rest are now all ok for commit. For reference suggest posting the final patch (once its in).


Andrew



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