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

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.


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