From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30257 invoked by alias); 24 Jul 2003 21:51:16 -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 30249 invoked from network); 24 Jul 2003 21:51:15 -0000 Received: from unknown (HELO amsfep16-int.chello.nl) (213.46.243.26) by sources.redhat.com with SMTP; 24 Jul 2003 21:51:15 -0000 Received: from cable-62-205-64-66.upc.chello.be ([62.205.64.66]) by amsfep16-int.chello.nl (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP id <20030724215115.UQBJ28742.amsfep16-int.chello.nl@cable-62-205-64-66.upc.chello.be> for ; Thu, 24 Jul 2003 23:51:15 +0200 From: wim delvaux To: gdb@sources.redhat.com Subject: gdb and shared libraries Date: Thu, 24 Jul 2003 21:51:00 -0000 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307242350.56785.wim.delvaux@adaptiveplanet.com> X-SW-Source: 2003-07/txt/msg00304.txt.bz2 Hi all, I am running the 5.3.90-2003_06_29-cvs-debian version of gdb and STILL i have problems with breakpoints in shared libraries... The problem is that you can set a breakpoint in a library but if you restart the program all breakpoints in that library are lost (i.e. gdb knows about them but seems to have disabled them). Now I know that you are going to say that the library gets unloaded and hence the breakpoint cannot be set ... but it seems that gdb tries to set them because I get messages that It cannot set a shlib breakpoint. Now I wonder if it is really that difficult to remember over gdb restarts that breakpoints were set for a certain library and once that library get reloaded set the breakpoints again. 1. without the messages that it cannot set them 2. without appearing to forget that the breakpoints were active .. I say STILL because the problem has existed in all 5-versions I know of but did not exist in the last 4-version. W