On Thu, 14 Nov 2019, Konstantin Kharlamov wrote: > Thanks! Unfortunately AFAIK ternary expressions are broken in gdb > https://sourceware.org/bugzilla/show_bug.cgi?id=22466 :c
Indeed, I didn't notice that. But it still would be nice to avoid duplicating the commands over and over again. Can we use something like define pp if $argc p $arg0 end call debug ($) end this way pp something is simply equivalent to what people already use: p something pp Alexander