Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Iztok Kobal <iztok.kobal@sysen.si>
Cc: gdb@sources.redhat.com
Subject: Re: Problem debugging SOs
Date: Mon, 26 Aug 2002 22:41:00 -0000	[thread overview]
Message-ID: <3D6B10E6.90400@sysen.si> (raw)
In-Reply-To: <1020826154249.ZM30715@localhost.localdomain>



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 <Step Into> (gdb step) behaves as 
if it was the <Step Over) (gdb next) even in the simplest (statically 
linked single .c) projects.

Is there some problem with the ./configure or should I make install 
instead of simple copy ? Or simply the gcc version was inappropriate ?

As already written, I have suspected that the problem is related to the 
stub information that the gcc-2.95.2 created for me. So I intended to 
use the gcc-3.2 instead but I have given up because either gcc-3.2 or 
KDevelop obviously need the updated autoconf and automake and maybe 
something more to digest my KDevelop based projects.

Iztok



  reply	other threads:[~2002-08-27  5:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-23  2:43 Iztok
2002-08-23  7:53 ` Kevin Buettner
2002-08-26  2:43   ` Iztok Kobal
2002-08-26  8:43     ` Kevin Buettner
2002-08-26 22:41       ` Iztok Kobal [this message]
2002-08-27  8:04         ` Kevin Buettner
2002-08-27 22:17           ` Iztok Kobal
2002-08-27 22:57             ` Kevin Buettner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D6B10E6.90400@sysen.si \
    --to=iztok.kobal@sysen.si \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox