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)


Thanks Eli, for the review. I have fixed according to your suggestion.

Since I have now submitted the patch for Value.referenced_value, I
have added features and tests using this. The patch is attached. There
is no change to gdb.texinfo except for what Eli has suggested. The
ChangeLogs are as follows:

Code ChangeLog:

2012-03-26  Siva Chandra Reddy  <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.

Docs ChangeLog:

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

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

Testsuite ChangeLog:

2012-03-26  Siva Chandra Reddy  <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 on C constructs.
	* gdb.python/py-explore.cc: C++ program used for testing the new
	'explore' command on C++ constructs.
	* gdb-python/py-explore.exp: Tests for the new 'explore'
	command on C constructs.
	* gdb-python/py-explore-cc.exp: Tests for the new 'explore'
	command on C++ constructs.

Thanks,
Siva Chandra

On Sat, Mar 24, 2012 at 7:32 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Wed, 21 Mar 2012 18:04:31 +0530
>> From: Siva Chandra <sivachandra@google.com>
>> Cc: Eli Zaretskii <eliz@gnu.org>
>>
>> +prompted to chose the field you want to explore. ?Lets say you choose
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^^^^
> "Let's"
>
> The doco parts of the patch are OK with the above change.

Attachment: python_explore_command_patch_v4.text
Description: Binary data


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