source annotation now prints source line

Bob Rossi bob@brasko.net
Sat Mar 13 17:01:21 GMT 2021


On Thu, Apr 16, 2020 at 06:41:28PM +0100, Andrew Burgess wrote:
> I'll take a look to see if there's a good way to give you the
> functionality you're looking for and close the bugs off.

Thank you for doing this Andrew, I appreciate it.

Ironically, I just upgraded CGDB to no longer use annotations.
I'm moved it from annotations to gdb/mi, in the same way that 
Eclipse uses MI, by using the new-ui feature of gdb. Now i see the
source linse are still visible in the console. gdb doesn't know
to not show them in this mode.

To recap,
 - cgdb using annotations does not show code in console
 - cgdb using mi using new-ui does show code in console
 - gdb tui does not show code in console
 - eclipse probably shows code in console, as it uses mi and new-ui

Would it be to much to ask that if new-ui is being used, that we
assume a front end is being used, and not display the code in the console?

I've CC'd Pedro and Marc as I believe they may be the relevant people to
have an opinion on how this would impact eclipse.

Thanks,
Bob Rossi


More information about the Gdb mailing list