[RFA 7/8] Use unique_xmalloc_ptr in execute_gdb_command

Tom Tromey tom@tromey.com
Tue Dec 20 23:31:00 GMT 2016

>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> -extern struct cleanup *prevent_dont_repeat (void);
Pedro> +extern scoped_restore_tmpl<bool> prevent_dont_repeat ();

Probably this should use __attribute__((warn_unused_result)), but that
isn't wrapped in ansidecl.h (yet) and I don't know offhand what version
test to use for it.  Do you?


More information about the Gdb-patches mailing list