This is the mail archive of the gdb@sourceware.org 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]
Other format: [Raw text]

Re: [sparc-solaris] unexpected warning when starting program


> 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


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