> -----Ursprüngliche Nachricht----- > Von: Vörtler, Thilo > Gesendet: Donnerstag, 2. Juni 2016 11:09 > An: '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 > > * 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