diff options
-rw-r--r-- | linuxthreads_db/ChangeLog | 3 | ||||
-rw-r--r-- | linuxthreads_db/td_ta_thr_iter.c | 12 | ||||
-rw-r--r-- | localedata/ChangeLog | 5 | ||||
-rw-r--r-- | localedata/charmaps/ISO-8859-13 | 5 |
4 files changed, 16 insertions, 9 deletions
diff --git a/linuxthreads_db/ChangeLog b/linuxthreads_db/ChangeLog index 5721a01905..32b06d0d47 100644 --- a/linuxthreads_db/ChangeLog +++ b/linuxthreads_db/ChangeLog @@ -1,5 +1,8 @@ 1999-11-12 Ulrich Drepper <drepper@cygnus.com> + * td_ta_thr_iter.c: Fix loop starting point over all but main and + manager thread. + * td_ta_thr_iter.c: Read descriptors for main and manager thread special since after this we can assume that no new threads will be created anymore (at least in the gdb implementation). diff --git a/linuxthreads_db/td_ta_thr_iter.c b/linuxthreads_db/td_ta_thr_iter.c index 8cb8c63427..5b316516d1 100644 --- a/linuxthreads_db/td_ta_thr_iter.c +++ b/linuxthreads_db/td_ta_thr_iter.c @@ -30,11 +30,6 @@ handle_descr (const td_thragent_t *ta, td_thr_iter_f *callback, size_t sizeof_descr = ta->sizeof_descr; td_thrhandle_t th; -#ifdef ALL_THREADS_STOPPED - /* First count this active thread. */ - --num; -#endif - if (ps_pdread (ta->ph, descr, &pds, sizeof_descr) != PS_OK) return TD_ERR; /* XXX Other error value? */ @@ -129,9 +124,14 @@ td_ta_thr_iter (const td_thragent_t *ta, td_thr_iter_f *callback, #endif /* Now get all descriptors, one after the other. */ - for (cnt = 0; cnt < pthread_threads_max && num > 0; ++cnt) + for (cnt = 2; cnt < pthread_threads_max && num > 0; ++cnt) if (phc[cnt].h_descr != NULL) { +#ifdef ALL_THREADS_STOPPED + /* First count this active thread. */ + --num; +#endif + result = handle_descr (ta, callback, cbdata_p, state, ti_pri, cnt, phc[cnt].h_descr); if (result != TD_OK) diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 37d566c0c2..1dfec1aeb8 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,8 @@ +1999-11-12 Ulrich Drepper <drepper@cygnus.com> + + * charmaps/ISO-8859-13: Fix a few entries. + Patch by Marius Gedminas <mgedmin@takas.lt>. + 1999-09-22 Ulrich Drepper <drepper@cygnus.com> * locales/zh_CN: Some first patches to make the file usable. diff --git a/localedata/charmaps/ISO-8859-13 b/localedata/charmaps/ISO-8859-13 index a261759575..9602a5bb8a 100644 --- a/localedata/charmaps/ISO-8859-13 +++ b/localedata/charmaps/ISO-8859-13 @@ -255,26 +255,25 @@ CHARMAP <PM> /x9E <U009E> PRIVACY MESSAGE (PM) <AC> /x9F <U009F> APPLICATION PROGRAM COMMAND (APC) <NS> /xA0 <U00A0> NO-BREAK SPACE +<"9> /xA1 <U201D> RIGHT DOUBLE QUOTATION MARK <Ct> /xA2 <U00A2> CENT SIGN <!C> /xA2 <U00A2> CENT SIGN <L-> /xA3 <U00A3> POUND SIGN <Pd> /xA3 <U00A3> POUND SIGN <Cu> /xA4 <U00A4> CURRENCY SIGN <Xo> /xA4 <U00A4> CURRENCY SIGN +<:9> /xA5 <U201E> DOUBLE LOW-9 QUOTATION MARK <BB> /xA6 <U00A6> BROKEN BAR <!B> /xA6 <U00A6> BROKEN BAR -<So> /xA7 <U00A7> SECTION SIGN <SE> /xA7 <U00A7> SECTION SIGN <O//> /xA8 <U00D8> LATIN CAPITAL LETTER O WITH STROKE <Co> /xA9 <U00A9> COPYRIGHT SIGN -<OC> /xA9 <U00A9> COPYRIGHT SIGN <R,> /xAA <U0156> LATIN CAPITAL LETTER R WITH CEDILLA <<<> /xAB <U00AB> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK <NO> /xAC <U00AC> NOT SIGN <7!> /xAC <U00AC> NOT SIGN <--> /xAD <U00AD> SOFT HYPHEN <Rg> /xAE <U00AE> REGISTERED SIGN -<OR> /xAE <U00AE> REGISTERED SIGN <AE> /xAF <U00C6> LATIN CAPITAL LETTER AE <DG> /xB0 <U00B0> DEGREE SIGN <+-> /xB1 <U00B1> PLUS-MINUS SIGN |