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] |
Hi, as described in Bug 17437 the mi interface corrupts cached frames in the list_arg_or_local function of mi-cmd-stack.c when a pretty-printer calls a function of the inferior. To prevent this the frame_id is stored and used to restore the frame after calling list_arg_or_local - MI regressions were run and no effect through the patch was seen Is this patch okay? BR, Thilo gdb/ChangeLog: 2016-06-02 Thilo Vörtler <thilo.voertler@coseda-tech.com> * mi-cmd-stack.c (list_args_or_locals) the mi interface corrupts cached frames in the list_arg_or_local function of mi-cmd-stack.c when a pretty-printer calls a function of the inferior. To prevent this the frame_id is stored and used to restore the frame after calling list_arg_or_local
Attachment:
0001-FIX-pretty-printers-which-call-the-inferiors-though-.patch
Description: 0001-FIX-pretty-printers-which-call-the-inferiors-though-.patch
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |