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: [RFC] Add new command to spit out the linetable for a given file


        (gdb) info sloc <filename>
        0x1234    1
        0x1238    2
        0x1239    1
        0x123d    3
        ...

Given that this is intended for use by GUI's, it would surely be better to add an MI command and then have legacy GUI's access it via the interps interface.


Andrew



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