Re: [RFC] -thread-info new command

Nick Roberts
2007-03-20T03:09:30Z

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

It looks like I've misremembered, as the patch I've quoted is for
mi_cmd_break_insert and not gdb_thread_select. However, perhaps we should
still resolve the issue first.