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]

Re: Don't disable the current display in throw_exception


Seconded!  Does this also fix the bug where if you display a variable,
and it is temporarily at a bad address, the display is disabled?  Or
is that still the case?  That always drives me nuts - yes, I know foo
is NULL, but I want GDB to go back to displaying *foo when it comes
back.  I don't know what the "infinite recursion" in question is.

On Fri, Aug 5, 2011 at 11:10 AM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
>
> Pedro> An unavailable exception is thrown while evaluating
> Pedro> the dwarf location of argc, but that is caught by higher
> Pedro> layers, and shouldn't cause a disablement of the display.
> Pedro> Patch below fixes it, and adds a test that would
> Pedro> fail otherwise, for me at least, on amd64-linux.
>
> Thanks for doing this.
>
> Tom
>



-- 
Thanks,
Daniel


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