This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: varobj bug?
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 09 Jun 2009 15:09:14 -0600
- Subject: Re: varobj bug?
- References: <200906080041.07004.pedro@codesourcery.com>
- Reply-to: tromey at redhat dot com
>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
Pedro> [ Just stumbled on this while reading this code. ]
Pedro> Isn't the patch below a bug fix? FI possibly points at
Pedro> the frame returned by:
Pedro> fi = find_frame_addr_in_frame_chain (frame);
Pedro> not the originally selected frame.
I agree with your analysis.
Pedro> Maybe this code should be using make_cleanup_restore_current_thread?
This also sounds reasonable.
Tom