This is the mail archive of the gdb-patches@sources.redhat.com 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: [PATCH] fix error reporting for td_ta_event_addr calls


   Date: Tue, 2 Dec 2003 18:51:59 -0800
   From: Roland McGrath <roland@redhat.com>

   As it stands, if the libthread_db function td_ta_event_addr fails,
   gdb will report "warning: Unable to get location for thread creation
   breakpoint: generic 'call succeeded'", having discarded the actual error
   code from the function.  This patch fixes that.

   Approved to commit?

Looks good to me, so, yes please!

Mark

   2003-12-02  Roland McGrath  <roland@redhat.com>

	   * thread-db.c (enable_thread_event): Change return type to
	   td_err_e.  Return TD_OK or error code.
	   (enable_thread_event_reporting): Update callers.


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