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: [RFC - Python Scripting] Add 'end' attribute to gdb.Symtab_and_line


Thanks Eli. I have modified according to your suggestion.

2012-06-13  Siva Chandra Reddy  <sivachandra@google.com>

        New attribute 'end_pc' for gdb.Symtab_and_line.
        * NEWS (Python Scripting): Add entry about the new attribute.
        * python/py-symtab.c (salpy_get_end_pc): New function which
        implements the get method for the 'end_pc' attribute of
        gdb.Symtab_and_line.
        (sal_object_getset): Add entry for the 'end_pc' attribute.

        doc/
        * gdb.texinfo (Symbol Tables In Python): Add description about
        the new 'end_pc' attribute of gdb.Symtab_and line.

        testsuite/
        * gdb.python/py-symtab.exp: Add tests to test the new attribute
        'end_pc' of gdb.Symtab_and_line.
        * gdb.python/py-symbol.c: Move break point comment to enable
        testing of gdb.Symtab_and_line.end_pc.

Thanks,
Siva Chandra

Attachment: sal_end_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]