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)


> Nick, MI changes need:
> > - assignment


Who initiates this? I have done it for Emacs. Is it the same process for GDB
i.e REQUEST: SEND FORM FOR PAST AND FUTURE CHANGES to fsf-records@gnu.org

[I've sent nick the form, I thought it had already been sent :-(]


> - testcase

This is harder for me to do than the patch itself, so perhaps you can give me
a few clues.  Will two tests for each of mi2-var-child.exp and mi1-var-child.exp
using "-var-list-children struct_declarations 0" and "-var-list-children
struct_declarations 1" suffice ?

Here I was hopeing that JimI could dig something up.


If Jim can give you equivalent changes in the near future then that might be
the most simple route. If not, I would like to progress my changes through
the system.

Yes on both counts. Or I progress something.


*** gdb.texinfo.~1.183.~ 2003-10-24 22:30:49.000000000 +0100
--- gdb.texinfo 2003-11-01 17:14:02.000000000 +0000
***************
*** 18121,18134 ****
@subsubheading Synopsis
@smallexample
! -var-list-children @var{name}
@end smallexample
! Returns a list of the children of the specified variable object:
@smallexample
numchild=@var{n},children=[@{name=@var{name},
numchild=@var{n},type=@var{type}@},@r{(repeats N times)}]
@end smallexample
--- 18121,18145 ----
@subsubheading Synopsis
@smallexample
! -var-list-children @var{name} [PRINT-VALUES]
@end smallexample

I think the syntax should be:


-var-list-children --print-values @var{name}

I'll see what I can do.

Andrew



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