From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17813 invoked by alias); 27 Aug 2002 05:41:17 -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 17804 invoked from network); 27 Aug 2002 05:41:16 -0000 Received: from unknown (HELO felix.sypra.si) (212.118.92.52) by sources.redhat.com with SMTP; 27 Aug 2002 05:41:16 -0000 Received: from sysen.si ([10.1.10.15]) by felix.sypra.si (8.9.3/8.9.3) with ESMTP id IAA30852 for ; Tue, 27 Aug 2002 08:40:31 +0200 Message-ID: <3D6B10E6.90400@sysen.si> Date: Mon, 26 Aug 2002 22:41:00 -0000 From: Iztok Kobal Organization: SYSEN d.d. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020513 Netscape/7.0b1 X-Accept-Language: sl, en-us MIME-Version: 1.0 CC: gdb@sources.redhat.com Subject: Re: Problem debugging SOs References: <3D6603AC.4010607@s5.net> <1020823145316.ZM626@localhost.localdomain> <3D69F82C.9020109@sysen.si> <1020826154249.ZM30715@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00351.txt.bz2 Kevin Buettner wrote: >On Aug 26, 11:43am, Iztok Kobal wrote: > > > >>I was starting to think that the problem was related to the gcc stub >>info generation and I am going to try a gcc-3.0.4 instead of a 2.95.x >>which came with my SuSE distro. Please spare me the time and tell me if >>it would not work either ! >> >> > >I don't know. I'm actually surprised that you're still having >problems. Clearly there's some kind of mismatch somewhere, but I >don't know where. When you figure out what it is, let me know! > Well, I took the sources for the gdb-5.0 from the original SuSE 7.0 distro, applied the patches found through the links that you have given and it seems that the gdb-5.0-SOpatched works as it should regarding the SO debugging. As well as the program debugging flow controls for the gcc-2.95.2 compiled code. I have tried to apply gcc-3.2 but I could not manage to compile KDevelop-made project anymore for some reason so it is still unknown to me why the gdb-5.2.1 does not work properly. If you are still willing to make some suggestions, Kevin, let us start from the scratch: I have downloaded the gdb-5.2.1 sources from the ftp.gnu.org. platform: i386 Linux SuSE 7.0 ./configure (autodetected platform was i686-pc-linux-gnu) make did not make install instead copy/rename gdb to the /usr/bin/gdb-5.2.1 in the /usr/bin ln -s gdb-5.2.1 gdb code to be debugged was compiled with the gcc-2.95.2 -g3 No more problems seem to be directly related to the SO debugging New problem with gdb-5.2.1 is that the (gdb step) behaves as if it was the