Re: [RFC] -thread-info new command

Nick Roberts
2007-03-20T01:44:55Z

> +enum gdb_rc
> +gdb_thread_info (struct ui_out *uiout, char *tidstr, char **error_message)
> +{
> + return catch_exceptions_with_msg (uiout, do_captured_thread_info, tidstr,
> + error_message, RETURN_MASK_ALL);
> +}

This has the same problem as gdb_thread_select i.e gdb_thread_info returns type
enum gdb_rc but catch_exceptions_with_msg returns type int. I did suggest a
patch for this:

http://sourceware.org/ml/gdb-patches/2006-10/msg00220.html
(Re: [PATCH] PR mi/2086 -break-insert missing error diagnostic)

but the thread stopped at that point. I think that we should resolve this
issue before adding further similar functions.