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] |
> -----Ursprüngliche Nachricht----- > Von: Vörtler, Thilo > Gesendet: Donnerstag, 2. Juni 2016 11:09 > An: 'gdb-patches@sourceware.org' <gdb-patches@sourceware.org> > Betreff: [RFC][PATCH] - Fix pretty-printers which call the inferiors, mi- > interface crashs > > 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] |