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] |
Michael Snyder wrote:
Josef Ezra wrote:Hi all While writing a perl gui for gdb, I had to add a new command. It looks like this: (gdb) info orientation main 0x00034960:753 0x00034b44:757 0x00034b48:761 0x00034b50:759 0x00034b54:761 0x00034b68:763 0x00034b70:772 (gdb) and associate addresses with line numbers. This information allow merging the disassemble with the sources without executing 'info line' command for each address, since the last took too long (the difference between O(n^2) to O(n)). (The command was also useful for analyzing patches and code changes.)
I like it as maybe a maintainer command (or even a user one, if
you think users might gain something from it.
I don't like the name, though -- "info orientation" doesn't say
anything to me. Maybe "info lines"? Or, as a maintainer command, "info sal"?
How about 'maintenance info-lines'?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |