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]

Re: RFC: selected frame in read_var_value


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.

No, just delay it. It's also ok for 6.0.


Andrew



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