This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sparc shared library gdb patch


> Do you remember the exact problem?  The code seems plausible, but I
> don't remember ever getting stuck in a trampoline on Solaris.  This
> is the kind of thing I'd like to have a test case for.

Not particularly.  I think it was while working on Kaffe.  At that
point at least, the guts of Kaffe were in two shared libraries.
I'm guessing I got stuck either nexting or step'ing from one shared
lib to the other, or inside a shared lib, or from the main program to the
shared lib. (Does that cover all the possibilities ...)

Unfortunately, I just deleted my kaffe directories, which would make
it even more difficult to try to reproduce the problem!

One issue the patch may not cover:  On Solaris2 shared libraries may be
in two different modes, depending on (I think) -B symbolic.  I seem
to remember (from previous discussions) that my patches handles one
of the modes only;  this may or may not be the default.

There was some discussion on this when I did the patch on one
of the internal Cygnus lists.  I don't remember when this was,
but was definitely over a year ago.  (The date on tm-sun4sol2.h
in my directory is Apr 19  1998 ...)

Sorry to be so unhelpful - it illustrates why it is bad to
keep unchecked-in-changes around for a long time.

	--Per Bothner
bothner@cygnus.com     http://www.cygnus.com/~bothner

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]