From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21592 invoked by alias); 10 Jan 2013 20:50:12 -0000 Received: (qmail 21563 invoked by uid 22791); 10 Jan 2013 20:50:08 -0000 X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-vb0-f49.google.com (HELO mail-vb0-f49.google.com) (209.85.212.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 10 Jan 2013 20:50:01 +0000 Received: by mail-vb0-f49.google.com with SMTP id s24so291172vbi.22 for ; Thu, 10 Jan 2013 12:50:00 -0800 (PST) X-Received: by 10.52.21.13 with SMTP id r13mr13190329vde.37.1357851000296; Thu, 10 Jan 2013 12:50:00 -0800 (PST) Received: from [192.170.6.172] ([209.119.251.6]) by mx.google.com with ESMTPS id x17sm1092918vdi.1.2013.01.10.12.49.59 (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 10 Jan 2013 12:49:59 -0800 (PST) Message-ID: <1357850984.6805.1.camel@siphon.3rdi.se> Subject: Re: Colors in gdb From: psyprus To: Surya Kiran Gullapalli Cc: gdb@sourceware.org Date: Thu, 10 Jan 2013 20:50:00 -0000 In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2013-01/txt/msg00037.txt.bz2 theres a gdbinit floating on the web that has color config if you need an example check link below.. best bet to get what you want is to read the gdbinit documentation. http://www.scribd.com/doc/6765333/Gdbinit-Color psy On Thu, 2013-01-10 at 19:28 +0530, Surya Kiran Gullapalli wrote: > Hello, > > I'm using gdb-7.5 and I'd like to see gdb printing the data in colors > (the output from print command for regular types and pretty printers > as well) > > I tried the python api to do the color printing by using ansi escape > sequences. They did not work. Is it supported in gdb ? If so, How ? > > Thanks in advance, > Surya