This is the mail archive of the gdb-patches@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: [RFA] Have 'thread|frame apply' style their output.


On 2019-04-27 8:42 a.m., Philippe Waroquiers wrote:
> Thanks for the review.  Pushed after fixing (for the "const?" comment,
> I have added an explanation to clarify).
> 
> Philippe

Hi Philippe,

There is one more spot to update, which you'll find if you build with --with-guile:

  CXX    guile/guile.o
/home/simark/src/binutils-gdb/gdb/guile/guile.c: In lambda function:
/home/simark/src/binutils-gdb/gdb/guile/guile.c:310:62: error: too few arguments to function ‘std::__cxx11::string execute_command_to_string(const char*, int, bool)’
  to_string_res = execute_command_to_string (command, from_tty);
                                                              ^
In file included from /home/simark/src/binutils-gdb/gdb/guile/guile.c:29:
/home/simark/src/binutils-gdb/gdb/gdbcmd.h:140:20: note: declared here
 extern std::string execute_command_to_string (const char *p, int from_tty,
                    ^~~~~~~~~~~~~~~~~~~~~~~~~


I presume you'll want to pass false in this case, since it's specifically meant to
send the output to a string, where we don't want styling?

Simon


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