From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26991 invoked by alias); 20 Aug 2003 17:09:57 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26968 invoked from network); 20 Aug 2003 17:09:54 -0000 Received: from unknown (HELO tomts12-srv.bellnexxia.net) (209.226.175.56) by sources.redhat.com with SMTP; 20 Aug 2003 17:09:54 -0000 Received: from sympatico.ca ([65.94.38.219]) by tomts12-srv.bellnexxia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with ESMTP id <20030820170952.KAFJ7359.tomts12-srv.bellnexxia.net@sympatico.ca> for ; Wed, 20 Aug 2003 13:09:52 -0400 Message-ID: <3F4355F9.9000803@sympatico.ca> Date: Wed, 20 Aug 2003 17:09:00 -0000 From: jacques User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030714 Debian/1.4-2 X-Accept-Language: en MIME-Version: 1.0 CC: gdb@sources.redhat.com Subject: User defined commands References: <200308191814.h7JIETLn022619@duracef.shout.net> <3F43A1E0.4070609@redhat.com> In-Reply-To: <3F43A1E0.4070609@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-08/txt/msg00239.txt.bz2 Hello, I've been searching for the easiest implementation to be able to inspect stl containers, and I've run into an intriguing possibility, using user defined commands. I was wondering if its possible to put a statement "if a is vector" in gdb?