Re: Colors in gdb

Kevin Pouget
2013-01-15T18:47:12Z

On Tue, Jan 15, 2013 at 6:48 PM, Tom Tromey <tromey@redhat.com> wrote:
>
> >>>>> "Surya" == Surya Kiran Gullapalli <suryakiran.gullapalli@gmail.com> writes:
>
> Surya> I tried the python api to do the color printing by using ansi escape
> Surya> sequences. They did not work. Is it supported in gdb ? If so, How ?
>
> It isn't directly. I wouldn't mind clean patches to implement a feature
> like this, though.
>
> Tom

Hello,

I have colors in my gdb Python prompt since quite a while, I wonder
what could be different in the context of prompt printing and pretty
printing ?

the code I use comes from [1]

Kevin

1: http://gitorious.org/misc-gdb-stuff/misc-gdb-stuff/blobs/master/misc_gdb/gaudy_prompt.py