This is the mail archive of the gdb-patches@sources.redhat.com 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] |
What about something like this as a step sideways:
>if (frame == NULL) > frame = deprecated_safe_get_selected_frame ();
where deprecated_safe_get_selected_frame() would contain those sanity checks?
Do you think this would interfere with fixing it later? If not, I'll put together a patch.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |