This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Fix and Continue, part 1


These add a feature to the compiler called fix-and-continue. Basically gcc inserts nops at the start of functions so that the debugger can rewrite them to forward old functions to newly loaded instances of those functions in a running debugging session.

If people are interested in hearing more, I'd be happy to say more...

There is another set of changes that indirect all global data accesses through pointers at runtime, so that the newly loaded code will get the old data, instead of any new data. I'll be submitting that next.

Ok?

Attachment: fixncontinue-fsf.diffs
Description: Binary data


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