Re: Breakpoint commands in MI mode and "backtrace"

Eli Zaretskii
2017-10-09T12:59:54Z

> Cc: gdb@sourceware.org
> From: Simon Marchi <simark@simark.ca>
> Date: Mon, 9 Oct 2017 08:02:24 -0400
>
> It's true that my patch seems to change how exceptions are handled, since
> safe_execute_command catches and prints exceptions. However, that expression
> does indeed seem erroenous, and I'm surprised GDB doesn't complain about it
> currently. How can you add a char* and a listp_Symbol*?

Sorry, that's my fault: actually $ptr at that point is just a number,
410072 in my case. Apologies for confusing you.

> Anyhow, can you try this patch here? It changes the uiout manually instead of
> going through safe_execute_command.

It works, thanks. I tried both in CLI mode and in MI mode, and it
works with both.