From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3438 invoked by alias); 3 Mar 2007 10:46:29 -0000 Received: (qmail 3427 invoked by uid 22791); 3 Mar 2007 10:46:28 -0000 X-Spam-Check-By: sourceware.org Received: from mailgw4.ericsson.se (HELO mailgw4.ericsson.se) (193.180.251.62) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 03 Mar 2007 10:46:21 +0000 Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 3FE6D2052B; Sat, 3 Mar 2007 11:46:18 +0100 (CET) X-AuditID: c1b4fb3e-a76e9bb000004aff-7d-45e951fa1072 Received: from esealmw127.eemea.ericsson.se (unknown [153.88.254.122]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 273F4203F9; Sat, 3 Mar 2007 11:46:18 +0100 (CET) Received: from esealmw127.eemea.ericsson.se ([153.88.254.175]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Sat, 3 Mar 2007 11:46:18 +0100 Received: from mikro.mikro ([159.107.199.0]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Sat, 3 Mar 2007 11:46:17 +0100 Received: from localhost (localhost [127.0.0.1]) by mikro.mikro (Postfix) with ESMTP id EDDE52ACE2D; Sat, 3 Mar 2007 11:46:12 +0100 (CET) Subject: Re: (Not) debugging STL From: =?ISO-8859-1?Q?Alp=E1r_J=FCttner?= To: Daniel Jacobowitz Cc: gdb@sourceware.org In-Reply-To: <20070301124621.GA11292@caradoc.them.org> References: <1172750690.4155.24.camel@mikro.mikro> <20070301121854.GA10896@caradoc.them.org> <1172752794.4155.35.camel@mikro.mikro> <20070301124621.GA11292@caradoc.them.org> Content-Type: text/plain Date: Sat, 03 Mar 2007 10:46:00 -0000 Message-Id: <1172864572.4272.21.camel@mikro.mikro> Mime-Version: 1.0 X-Mailer: Evolution 2.6.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: 2007-03/txt/msg00040.txt.bz2 > I don't know. Maybe not, if someone came up with a good user > interface for it. I recommend searching the list archives for more; I > think it was discussed within the past six months sometime. What I would suggest is a command say 'skip arg' or 'trust arg', where arg is either a * file name (e.g. nobug.h) * a prefix (e.g. /usr/include or /usr/include/*) Or even more: * a function * a class * a range of lines > > Do gdb have some scripting language? If yes, would it be possible to > > implement a macro that simply iterates 'step' while we are in a file > > under /usr directory? > > GDB's current scripting language is not good enough for this. I hope > to add a more powerful one this year. Then, my next idea is to use the gdb interface of emacs. It should be trivial to do a lisp function doing this, but I couldn't figure out how to do that. For example how to obtain the file name of the currently debugged line in emacs/gud/gdb? Best regards, Alpar