On Aug 3, 4:43pm, Ken Aaker wrote:
> Since I installed the 2.95.2 version of gcc I haven't been able to
> continue, next or step in the XFree86 module I'm working on. I did
Do either si or ni work?
> search through the newsgroups and the gdb mailing list archives, but
> I didn't find anything that seemed to be the problem I'm seeing.
> I've tried smaller programs, and gdb works just fine. So, for the
> moment, I really can't provide a useful failing test.
>
> In particular,
>
> I set a breakpoint anywhere within my XFree86 executable (function
> entry point or by line number anywhere within a function). When the
> breakpoint is encountered, the breakpoint is hit/processed properly.
> When I tell gdb to continue, or step, the same breakpoint is
> hit/processed again, forever. The only way that I can continue is
> by deleting that breakpoint and adding another further along in the
> program.
>
> Is this a known gdb or gcc problem?
It's not one that I know of on the gdb side of things. It would be
useful to have a relatively small test case which illustrates the
problem. (Perhaps something that can go in the test suite?)
You may want to look at the compile/debug/link options that XFree86 is
built with.
Also, it would be useful if you'd fetch the current development sources
from sourceware.cygnus.com to see if the problem still exists in gdb
built from current development sources.
Kevin