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: [patch 2/2] New 'explore' command Python implementation (with docs)


Hello,

I was hoping to submit the other patch on Value.referenced_value
before sending this one over. Since I could not yet submit (though
approved), I am sending over the 'explore' command patch with
suggested changes.

Thanks to Eli for reviewing. I have modified according to your
suggestions. However, since there is a lot of new material, it will
require another close review.

Docs ChangeLog:

2012-03-21 Siva Chandra <sivachandra@google.com>

        * gdb.texinfo (Examining Data): Document the 'explore' command.

Code ChangeLog:

2012-03-21 Siva Chandra <sivachandra@google.com>

        New command 'explore' which helps explore values and types in
        scope.
        * NEWS: Add an entry about the new 'explore' command.
        * data-directory/Makefile.in: Add gdb/command/explore.py
        * python/lib/gdb/command/explore.py: Implemention of the 'explore'
        command using the GDB Python API.

Testsuite ChangeLog:

2012-03-21 Siva Chandra <sivachandra@google.com>

        * gdb.python/Makefile.in: Add py-explore to EXECUTABLES
        * gdb.python/py-explore.c: C program used for testing the new
        'explore' command.
        * gdb-python/py-explore.exp: Tests for the new 'explore'
        command.

Thanks,
Siva Chandra

On Fri, Mar 9, 2012 at 2:26 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Wed, 7 Mar 2012 16:58:29 +0530
>> From: Siva Chandra <sivachandra@google.com>
>>
>> +Another way of examining values of expressions and type information is
>> +through the Python extension (hence only available if GDB build is
>
> @value{GDBN} instead of a literal "GDB".
>
> The rest of the documentation text is identical to what I already
> reviewed.
>
> Thanks.

Attachment: python_explore_command_patch_v3.txt
Description: Text document


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