From: Daniel Berlin <dan@cgsoftware.com>
To: "H . J . Lu" <hjl@lucon.org>
Cc: Andrew Cagney <ac131313@cygnus.com>,
Jim Kingdon <kingdon@redhat.com>,
gdb@sourceware.cygnus.com
Subject: Re: Preparing for the GDB 5.0 / GDB 2000 / GDB2k release
Date: Sat, 01 Apr 2000 00:00:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.10.10002071745290.10102-100000@propylaea.anduin.com> (raw)
In-Reply-To: <20000207174307.B12317@lucon.org>
>
> First, Sam's patches just follow what is in solib.c.
How so?
Their is not any other function in there to determine consistency or
status of libraries.
Sam's is a new type of hook.
Furthermore, i don't see how it's necessary.
Why did he add this consistency hook, to fix a problem that occurs when
you restart.
Why not implement the SOLIB_REMOVE_INFERIOR hook, and rather than the
other implementations, which say they don't disable the breakpoints
(mainly because of their own reasons), disable the breakpoints in those
shared libs.
Does this hook Sam added help anyone else, or add functionality that is
useful to anyone else?
Not really.
> I don't
think
he > instroduced a new kind of hack.
He did. There were no other "hacks" to determine whether a list of solibs
was consistent.
> Unless we remove all those "hacks" in
> solib.c in gdb 5.0, I don't think it is a good excuse not to fix the
> bug.
This is the eventual goal.
Can this bug not be fixed without adding that hook?
>For whoever has to cleanup the "mess" in solib.c, it is just
> another item on the check list.
So as long as it's an SEP (Someone Elses Problem), it's fine.
And what happens when this hook gets removed in 2 months?
Do you expect the person who removes it, cleaning up solib.c, to fix the
problem the right way then?
> It is the time to make gdb more usable
> than make our lives easier.
> I hate to see people say gdb 5.0 doesn't
> work right with shared libraries on Linux.
So fix it without adding another fricking hack.
How do you think things got the way they are in terms of hacks in the
code?
Nobody ever had the time to do the cleanup, instead spending the time on
making it more usable and making lives easier.
(Not to mention the HP merge, but that's not exactly a standard event)
Don't you understand that?
Unless someone says "enough is enough, i'm putting my foot down, stop
adding hacks, it's becoming unmanageable", it becomes (surprise!)
unmanageable.
> I'd like to see a firm date
> when the support in gdb for shared libraries will be fixed.
It's funny.
It seems every other platform is making do without this "fix", AFAICT by
bug reports.
> At least,
> I can tell people it will work in xxxx, 2000 and I don't have to make
> my gdb available for Lunux again.
>
>
> H.J.
>
next parent reply other threads:[~2000-04-01 0:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20000207174307.B12317@lucon.org>
2000-04-01 0:00 ` Daniel Berlin [this message]
[not found] <389EC815.BC34F3E6@cygnus.com>
2000-04-01 0:00 ` Jason Molenda
[not found] <200002082018.MAA12871@propylaea.anduin.com>
2000-04-01 0:00 ` Daniel Berlin
2000-04-01 0:00 Kevin_Hendricks
[not found] <389ECBAF.66013B07@cygnus.com>
[not found] ` <200002071626.RAA18391@landau.wins.uva.nl>
[not found] ` <bog9tj5y3.fsf@rtl.cygnus.com>
2000-04-01 0:00 ` Mark Kettenis
[not found] ` <20000207093417.A10546@lucon.org>
[not found] ` <200002071746.MAA22221@devserv.devel.redhat.com>
[not found] ` <20000207095901.A10677@lucon.org>
2000-04-01 0:00 ` Andrew Cagney
2000-04-01 0:00 ` Patrick J. LoPresti
[not found] <Pine.LNX.4.10.10002071633590.9778-100000@propylaea.anduin.com>
2000-04-01 0:00 ` Mark Kettenis
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=Pine.LNX.4.10.10002071745290.10102-100000@propylaea.anduin.com \
--to=dan@cgsoftware.com \
--cc=ac131313@cygnus.com \
--cc=gdb@sourceware.cygnus.com \
--cc=hjl@lucon.org \
--cc=kingdon@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