[sparc-solaris] unexpected warning when starting program

Joel Brobecker brobecker@adacore.com
Mon Mar 12 17:17:00 GMT 2007


> Maybe a gdbarch hook to override the name of the default dynamic
> linker?  That's really bizarre though.

I agree it would be strange... Originally, I was thinking about
extending the target_so_ops, to provide a routine that would
tell us whether 2 SOs are identical or not. But I think this
belongs more in the gdbarch vector: This is a property of the target.
The way SOs work on solaris is not related to the fact that Solaris,
for a reason that we ignore, has two copies of the same dynamic loader.

It's really unfortunate to have to introduce an extra method just
to compensate for that, but how does everyone feel if I add this new
method which by default does what we do now (direct filename comparison),
but on Solaris would also treat ld.so as an exception?

-- 
Joel



More information about the Gdb mailing list