Extension Development :: gdb plus strace



Having strace somewhere might come in handy, either included or separately.

One thing maybe to check (which I'm not sure of) is whether or not the version of gdb used is supposed to match in some sense the highest version of gcc used for compiling - have a feeling there might be something like that, that gcc and gdb are written to be compatible?  Dunno.

Quote
One thing maybe to check (which I'm not sure of) is whether or not the version of gdb used is supposed to match in some sense the highest version of gcc used for compiling...

I'll check into that later today if I get a chance.

I'm submitting strace separately and gdb will follow (hopefully by the end of this coming weekend) when I have time to check up on matching gcc/gdb.
It could be I raised a red herring here Lucky.

Looking at the gdb NEWS http://sources.redhat.com/cgi-bin....oot=src

I can see one or two gdb features supporting gcc options that only exist on gcc past certain versions, but then we don't need those if the binary being debugged wasn't compiled with them (if that make sense) and that seems to be for pretty old gdb versions anyway.

Maybe just go ahead and post; I was raising it as a possibility rather than a known reality.

Then I should be able to get that to Robert sometime tomorrow. Boy, will meo be glad.
Next Page...
original here.