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: [RFC] -thread-info new command


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


-- 
Nick                                           http://www.inet.net.nz/~nickrob


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