This is the mail archive of the gdb@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: Breakpoint commands in MI mode and "backtrace"


> 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.


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