This is the mail archive of the gdb-patches@sourceware.org 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] |
Ooops! In a change I made a few months ago, I defined a function that was meant to be attached as an observer of the executable-changed notification, but never actually attached it. Not sure if I forgot, or that piece was missing from the patch. The part that I don't understand is why I didn't get a warning from the compiler, since the function is static but unused. The symptoms would only appear if a user debugged a program using the old runtime (in terms of exception support), and then debugged a program with the new one (or vice versa) without restarting the debugger. Exception catchpoints would not work properly in the second case. That's pretty minor, but easily fixeable. 2007-12-29 Joel Brobecker <brobecker@adacore.com> * ada-lang.c (_initialize_ada_language): Attach executable_changed observer. Tested on x86-linux. No regression. -- Joel
Attachment:
ada-executable-changed.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |