Re: [RFC][patch] Allow to disassemble line.

Joel Brobecker
2009-10-19T20:10:22Z

> As a general rule, if there is a corresponding MI command, then I think
> we should feel free to change CLI output as we like.

Agreed. I was mostly thinking of situations where we don't have
a terminal (or we have a dumb one). I like the idea of doing this
nicely on 99% of the cases with a setting to control the output:

If we have a capable terminal, then use colors/boldness.
If not, then revert to using the arrow.

The setting could be a general "auto/yes/no" setting for using
terminal capabilities in CLI display.

That being said, saving 3 or 4 characters through the use of font
characteristics may since too little a gain for the extra code?

I really like the idea of not printing the name of the function
in the disassembly output, though. I've always had to cut it out
when I email portions of a GDB session that includes a disass.

--
Joel