This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix ptype problem printing typedefs defined differently in different compilation units
On Tuesday 03 January 2006 22:45, Jim Blandy wrote:
> What would break if get_selected_block used, in the absence of a
> frame, the current source position? Or, if get_selected_block really
> needs to return zero when there's no stack, what would break if
> parse_exp_in_context used the current source position as a fallback
> when get_selected_block returns zero? It seems reasonable to me.
Excellent questions. Sounds like reasonable things to investigate for
alternative solutions. I'll give it a try and see...
-Fred