From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31348 invoked by alias); 19 Oct 2004 22:50:53 -0000 Mailing-List: contact rda-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rda-owner@sources.redhat.com Received: (qmail 31338 invoked from network); 19 Oct 2004 22:50:52 -0000 To: rda@sources.redhat.com Subject: PATCH: thread-db.c get_thread_signals doc fix From: Jim Blandy Date: Tue, 19 Oct 2004 22:50:00 -0000 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-q4/txt/msg00021.txt.bz2 Committed as obvious. 2004-10-19 Jim Blandy * thread-db.c (get_thread_signals): Doc fix. *************** *** 1205,1213 **** } /* Function: get_thread_signals ! Obtain the values of the "cancel", "restart" and "debug" signals ! used by linux threads, and store them in a set of global variables ! for use by check_child_state and friends. */ static int cancel_signal; static int restart_signal; --- 1342,1360 ---- } /* Function: get_thread_signals ! ! Obtain the values of the "cancel", "restart" and "debug" signals ! used by LinuxThreads, and store them in a set of global variables ! for use by check_child_state and friends. ! ! Recent versions of NPTL don't define these symbols at all; you must ! use the libthread_db event functions instead (td_ta_event_addr, ! ...) to find out about thread creation, thread exits, and so on. ! ! Older versions of LinuxThreads provide both interfaces. To avoid ! changing RDA's behavior on any system it supports, we use the older ! signal-based interface if present, and use the event-based ! interface as a fall-back. */ static int cancel_signal; static int restart_signal;