This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] remove unwanted output in breakpoint_re_set_one
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- To: muller at cerbere dot u-strasbg dot fr
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 15 Jan 2002 09:43:44 +0200 (IST)
- Subject: Re: [RFA] remove unwanted output in breakpoint_re_set_one
On Mon, 14 Jan 2002 muller@cerbere.u-strasbg.fr wrote:
> So it should probably be the same here, but
> can a shared lib loading change the watched addresses
> needed to watch a given expression?
Why not? For example, if some variable is static in the loaded
library, its address gets fixed-up by the loader, no?
> I suppose that a correct implementation would
> just call mention if the watched address area are changed,
> but I have no idea how that can be done, and I am not
> enough interested in this to invest time to try to find out
> how that could be accomplished.
Then I think it's wrong to remove the message unconditionally.
Ignoring a superflous message might be annoying, but if you remove the
information altogether, users will have no way of getting it.