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] |
Hello, Another little cleanup of an enumerate that's not used. It looks like it hasn't been used for a long time (I looked at 4.17, 5.0, 5.1, 5.3, 6.0, 6.3 and 6.4, and I couldn't find any code setting a variable to this value - maybe 4.18?). I am guessing that this was related to the shlib load/unload catchpoints. 2008-11-16 Joel Brobecker <brobecker@adacore.com> Remove the unused BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK. * breakpoint.h (enum bpstat_what_main_action): Remove BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK. * breakpoint.c (bpstat_what): Delete catch_shlib_event from enum class. Remove the BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK column from variable table. * infrun.c (wait_for_inferior): Remove handling of BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK. Tested on x86-linux. No regression. The reason I'm not committing this patch now is that I wouldn't mind a second pair of eyes if anyone has the time. I did this late yesterday night, and I'm pretty sure I didn't screw up the table in bpstat_what. But you never know. Anyway, will commit sometime next week unless there are objections. -- Joel
Attachment:
bpstat_what.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |