Re: [PATCH] Add overlay event support to testcase.

Michael Snyder
2002-04-05T19:19:07Z

Andrew Cagney wrote:
>
> > Andrew Cagney wrote:
> >
> >>
> >
> >> > 2002-04-04 Michael Snyder <msnyder@redhat.com>
> >> >
> >> > * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
> >
> >>
> >> Will adding this mean that the event-breakpoint mechanism is the only
> >> one tested?
> >
> >
> > Hmmm, good question. I guess it will.
> > Should I clone the test case so we test both?
>
> Or test both from the same test - a command to force each mechanism?

That seems bogus. GDB auto-detects whether the event mechanism can
be supported. I don't think the user needs a means to override that.

I can test both if I provide two versions of the overlay manager --
one with event support and one without.