dragonfly.git
16 years ago("" < 3.4) always evaluates to true, which unconditionally
YONETANI Tomokazu [Mon, 16 May 2005 09:20:56 +0000 (09:20 +0000)]
("" < 3.4) always evaluates to true, which unconditionally
undef'es USE_GCC.

16 years agoDeal with "or later" notation of USE_GCC knob.
YONETANI Tomokazu [Mon, 16 May 2005 07:34:46 +0000 (07:34 +0000)]
Deal with "or later" notation of USE_GCC knob.
Inspired-by: FreeBSD ports/Mk/bsd.gcc.mk,1.1
16 years ago- The AC Line state can be returned as 2 meaning 'backup power'. The previous
Liam J. Foy [Sun, 15 May 2005 20:10:28 +0000 (20:10 +0000)]
- The AC Line state can be returned as 2 meaning 'backup power'. The previous
  code would see this as an invalid value.

Discussed with: Nate @ FreeBSD

16 years agoFreeBSD-Date: 2005/05/13 14:47:40
Max Okumoto [Sun, 15 May 2005 17:50:09 +0000 (17:50 +0000)]
FreeBSD-Date: 2005/05/13 14:47:40
Author: harti

Use the print_flags function to print the OP_ flags of a target.
Give the function one more argument to decide whether it should
print the flags like a C-expression or just space-delimited.

16 years agoMove print_flags() back into utils. Since harti decided to start working
Max Okumoto [Sun, 15 May 2005 17:49:29 +0000 (17:49 +0000)]
Move print_flags() back into utils.  Since harti decided to start working
on it after I moved it.

16 years agoFreeBSD-Date: 2005/05/13 07:31:45
Max Okumoto [Sun, 15 May 2005 17:48:03 +0000 (17:48 +0000)]
FreeBSD-Date: 2005/05/13 07:31:45
Author: harti

Make Shell_Init() static - it's only used here.
Make sure we don't end up with shellPath beeing non-zero, but shellName
beeing zero in the error case - back out cleanly from the error.
When executing a command for macro assignment in Cmd_Exec() stuff the
path of the shell into argv[0], not the name. This makes no difference
from the functionality point of view, but allows the regression tests to
determine whether make executes the correct shell.

16 years agoFreeBSD-Date: 2005/05/12 17:40:16
Max Okumoto [Sat, 14 May 2005 22:53:17 +0000 (22:53 +0000)]
FreeBSD-Date: 2005/05/12 17:40:16
Author: jmallett

Include <err.h>.  On my system CVS Make(1) has an implicit declaration of
warnc(3) without it.

16 years agoFreeBSD-Date: 2005/05/12 15:16:44
Max Okumoto [Sat, 14 May 2005 22:52:18 +0000 (22:52 +0000)]
FreeBSD-Date: 2005/05/12 15:16:44
Author: harti

Fix the fix for bin/72510 applied in job.c:1.70. Actually there have
been two maxJobs variables: one static in job.c and one global used in
main.c and parse.c. Makeing one global out of these was the wrong way
to fix the problem. Instead rename the global one to jobLimit and keep
maxJobs static in job.c.

Suggested by:   rwatson
PR:             bin/72510

16 years agoUse strpbrk() instead of array to match characters for meta characters.
Max Okumoto [Sat, 14 May 2005 22:49:16 +0000 (22:49 +0000)]
Use strpbrk() instead of array to match characters for meta characters.

This patch was mixed in with the one I submited

FreeBSD-Date: 2005/05/12 11:40:57
Change in FreeBSD: harti (idea taken, but done differently)

16 years agoRemove an incorrect free. The code path should normally not be hit, but
Joerg Sonnenberger [Sat, 14 May 2005 09:29:22 +0000 (09:29 +0000)]
Remove an incorrect free. The code path should normally not be hit, but
better safe than sorry.

16 years agoReorder initialisation by calling if_initname before vr_reset.
Joerg Sonnenberger [Sat, 14 May 2005 08:21:54 +0000 (08:21 +0000)]
Reorder initialisation by calling if_initname before vr_reset.
Nuke long unused variable.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
16 years agoRemove extranious blankline.
Max Okumoto [Sat, 14 May 2005 06:26:22 +0000 (06:26 +0000)]
Remove extranious blankline.

Caught by harti.

16 years agoFix spelling error.
Max Okumoto [Sat, 14 May 2005 05:52:28 +0000 (05:52 +0000)]
Fix spelling error.

Caught by harti

16 years agoConstify ProcExec()
Max Okumoto [Sat, 14 May 2005 04:51:22 +0000 (04:51 +0000)]
Constify ProcExec()

Noticed by Harti.

16 years agoMove if_initname call before xl_reset to ensure correct initialisation.
Joerg Sonnenberger [Sat, 14 May 2005 01:33:35 +0000 (01:33 +0000)]
Move if_initname call before xl_reset to ensure correct initialisation.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
16 years agoAdd an explicit abort in printaddr to avoid unused variable warnings.
Joerg Sonnenberger [Fri, 13 May 2005 22:30:11 +0000 (22:30 +0000)]
Add an explicit abort in printaddr to avoid unused variable warnings.
This is in line with the surrounding code.

16 years agoFix pointer arithemetic.
Joerg Sonnenberger [Fri, 13 May 2005 22:28:24 +0000 (22:28 +0000)]
Fix pointer arithemetic.

16 years agoWARNS=6 clean already.
Joerg Sonnenberger [Fri, 13 May 2005 21:31:49 +0000 (21:31 +0000)]
WARNS=6 clean already.

16 years agoDon't activate -funit-at-a-time with -O2 and higher by default, when
Joerg Sonnenberger [Fri, 13 May 2005 17:40:44 +0000 (17:40 +0000)]
Don't activate -funit-at-a-time with -O2 and higher by default, when
propolice is active. There are some bad interactions which can lead
to false negatives under rare circumstances.

16 years agoPerl is gone from base. You can use your own style again.
Sascha Wildner [Fri, 13 May 2005 15:51:10 +0000 (15:51 +0000)]
Perl is gone from base. You can use your own style again.

16 years agoFix kernel build issue. Missing function argument.
David Rhodus [Thu, 12 May 2005 01:41:07 +0000 (01:41 +0000)]
Fix kernel build issue.  Missing function argument.

16 years agoUse device_printf / if_printf and stop abusing the ifnet fields for
Joerg Sonnenberger [Wed, 11 May 2005 20:58:35 +0000 (20:58 +0000)]
Use device_printf / if_printf and stop abusing the ifnet fields for
internal purposes.

16 years agoRemove unused second argument to tulip_intr_handler.
Joerg Sonnenberger [Wed, 11 May 2005 20:36:06 +0000 (20:36 +0000)]
Remove unused second argument to tulip_intr_handler.

16 years agoReplace local tulip_mbuf_compress with m_defrag call.
Joerg Sonnenberger [Wed, 11 May 2005 20:05:56 +0000 (20:05 +0000)]
Replace local tulip_mbuf_compress with m_defrag call.

16 years agoDocument additional work in last commit. Bumped library to ld-elf.so.2
Matthew Dillon [Wed, 11 May 2005 19:58:19 +0000 (19:58 +0000)]
Document additional work in last commit.  Bumped library to ld-elf.so.2

16 years agoMajor TLS cleanups.
Matthew Dillon [Wed, 11 May 2005 19:47:09 +0000 (19:47 +0000)]
Major TLS cleanups.

* The RTLD no longer attempts to set up an initial TLS.  The job has been
  moved to libc.  The RTLD does not use TLS itself.  The
  allocate_initial_tls() function has been removed.

* The _init_tls() call made by CRT1 is no mandatory.

* The RTLD no longer calls the library _init() functions early.  Instead it
  sets up a callback that allows CRT1 to call the library _init() functions
  after it has called _init_tls().

* LIBC now has a _libc_init_tls() function which is weakly bound as
  _init_tls().  This function initializes the TLS for the program (generally
  by calling the _rtld_allocate_tls() and then doing any required
  post-allocation initialization).  In the absence of a threading library
  this function is basically it.

  Threading libraries may replace _init_tls() with their own version.  This
  does not yet occur as of this commit.  The threading library would then
  almost certainly call _libc_init_tls() and then make further modifications
  to the TCB as necessary (e.g. populate the tcb_pthread field).

* RTLD's allocate_tls() no longer does anything fancy.  The 'old_tcb' argument
  and concept has been removed.

* We have a new tcb_errno_p field in the TCB, but as of this commit it
  is not yet being used.

Reviewed-by: Joerg Sonnenberger <joerg@britannica.bec.de>,
David Xu <davidxu@crater.dragonflybsd.org>

16 years agoSimplify code by using IF_DRAIN.
Joerg Sonnenberger [Wed, 11 May 2005 19:40:00 +0000 (19:40 +0000)]
Simplify code by using IF_DRAIN.

16 years agotypo
Joerg Sonnenberger [Wed, 11 May 2005 15:50:14 +0000 (15:50 +0000)]
typo

16 years agoMerge from vendor branch GCC:
Joerg Sonnenberger [Wed, 11 May 2005 15:45:45 +0000 (15:45 +0000)]
Merge from vendor branch GCC:
Remove two unnecessary entries.

16 years agoRemove two unnecessary entries.
Joerg Sonnenberger [Wed, 11 May 2005 15:45:45 +0000 (15:45 +0000)]
Remove two unnecessary entries.

16 years agoI am lost. if thread is blocked on mutex, _thread_kern_sched_state()
David Xu [Wed, 11 May 2005 12:59:58 +0000 (12:59 +0000)]
I am lost. if thread is blocked on mutex, _thread_kern_sched_state()
will rewrite fname and lineno. :(

16 years agoOverride _flockfile_debug.
David Xu [Wed, 11 May 2005 12:50:09 +0000 (12:50 +0000)]
Override _flockfile_debug.

16 years agoo Fix obsolete comment.
David Xu [Wed, 11 May 2005 12:45:57 +0000 (12:45 +0000)]
o Fix obsolete comment.
o Fix stub function names.

16 years agoRemove obsolete comment.
Joerg Sonnenberger [Wed, 11 May 2005 12:10:43 +0000 (12:10 +0000)]
Remove obsolete comment.

Pointed-out-by: Sepherosa Ziehau <sepherosa@gmail.com>
16 years agoRemove sc_unit and use if_printf / device_printf instead.
Joerg Sonnenberger [Wed, 11 May 2005 12:07:21 +0000 (12:07 +0000)]
Remove sc_unit and use if_printf / device_printf instead.

16 years agoRemove some extra white space
Max Okumoto [Tue, 10 May 2005 23:26:17 +0000 (23:26 +0000)]
Remove some extra white space

16 years agoImplement TCP Appropriate Byte Counting.
Jeffrey Hsu [Tue, 10 May 2005 15:48:10 +0000 (15:48 +0000)]
Implement TCP Appropriate Byte Counting.

Reviewed by Noritoshi Demizu, demizu@dd.iij4u.or.jp.
Misunderstanding of spec clarified by Mark Allman.

16 years agoReplace __offsetof with similiar pointer expression and use "m"
Joerg Sonnenberger [Tue, 10 May 2005 15:29:53 +0000 (15:29 +0000)]
Replace __offsetof with similiar pointer expression and use "m"
contraint. This generates the correct assembly as before, but removes
the hard coded offsets.

Work-around-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
16 years agoDo not allow installworld to proceed if the currently running kernel
Matthew Dillon [Mon, 9 May 2005 17:36:59 +0000 (17:36 +0000)]
Do not allow installworld to proceed if the currently running kernel
contains the TLS fork bug.

16 years agoGive the DEVELOPMENT branch a subversion so we can do build/installworld
Matthew Dillon [Mon, 9 May 2005 17:24:14 +0000 (17:24 +0000)]
Give the DEVELOPMENT branch a subversion so we can do build/installworld
checks on the kernel rev currently running.

16 years agoTypo in '(' description.
Joerg Sonnenberger [Mon, 9 May 2005 16:05:54 +0000 (16:05 +0000)]
Typo in '(' description.

16 years ago0x7f is only a control character.
Joerg Sonnenberger [Mon, 9 May 2005 13:37:27 +0000 (13:37 +0000)]
0x7f is only a control character.

16 years agoEliminate PS_FILE_WAIT state, instead use FILE locking code in libc.
David Xu [Mon, 9 May 2005 13:28:40 +0000 (13:28 +0000)]
Eliminate PS_FILE_WAIT state, instead use FILE locking code in libc.

16 years agoAdd locking for FILE.
David Xu [Mon, 9 May 2005 12:43:40 +0000 (12:43 +0000)]
Add locking for FILE.

Obtained from: FreeBSD

16 years agoFix duplicate bitmask for _A and _G.
YONETANI Tomokazu [Mon, 9 May 2005 09:53:07 +0000 (09:53 +0000)]
Fix duplicate bitmask for _A and _G.

16 years agoUse ifq_handoff instead of the hand-rolled version with inlined
Joerg Sonnenberger [Sun, 8 May 2005 18:17:05 +0000 (18:17 +0000)]
Use ifq_handoff instead of the hand-rolled version with inlined
tunstart.

16 years agoInitial commit of the generation utility and configuration files for the
Matthew Dillon [Sun, 8 May 2005 18:14:56 +0000 (18:14 +0000)]
Initial commit of the generation utility and configuration files for the
new system call mapping subsystem.

16 years agoUse ifq_handoff instead of handrolling it.
Joerg Sonnenberger [Sun, 8 May 2005 18:11:02 +0000 (18:11 +0000)]
Use ifq_handoff instead of handrolling it.

16 years agoatm_output did almost the same as ifq_handoff, it just skipped
Joerg Sonnenberger [Sun, 8 May 2005 17:52:06 +0000 (17:52 +0000)]
atm_output did almost the same as ifq_handoff, it just skipped
the handling of M_MCAST. Therefore let it call the real thing and
get that case for free.

16 years agoReplace ifq_handoff like code with a call to ifq_handoff.
Joerg Sonnenberger [Sun, 8 May 2005 17:42:35 +0000 (17:42 +0000)]
Replace ifq_handoff like code with a call to ifq_handoff.

16 years agoCatch up with ctype.h.
Joerg Sonnenberger [Sun, 8 May 2005 16:10:37 +0000 (16:10 +0000)]
Catch up with ctype.h.

16 years agoNuke ctypeio.c and associated ctype to rune table conversion,
Joerg Sonnenberger [Sun, 8 May 2005 15:55:15 +0000 (15:55 +0000)]
Nuke ctypeio.c and associated ctype to rune table conversion,
we never used it anyway.

16 years agoBite the bullet and add real masks isprint and isgraph. Use this as
Joerg Sonnenberger [Sun, 8 May 2005 15:52:05 +0000 (15:52 +0000)]
Bite the bullet and add real masks isprint and isgraph. Use this as
excuse to make the flags identical to the rune version by adding _A
for the alpha class and by making the hexdigit class self contained.

16 years agoAdd handling of R_386_TLS_TPOFF32.
Joerg Sonnenberger [Sun, 8 May 2005 13:11:06 +0000 (13:11 +0000)]
Add handling of R_386_TLS_TPOFF32.

Submitted-by: Nathaniel W. Filardo <nwf@andrew.cmu.edu>
16 years agoALTQ
Joerg Sonnenberger [Sun, 8 May 2005 11:45:32 +0000 (11:45 +0000)]
ALTQ

16 years agoLeft-over from the old mbuf chain tagging.
Joerg Sonnenberger [Sun, 8 May 2005 11:01:26 +0000 (11:01 +0000)]
Left-over from the old mbuf chain tagging.

Fix-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
16 years agoClean generated directories
Simon Schubert [Sun, 8 May 2005 00:44:59 +0000 (00:44 +0000)]
Clean generated directories

16 years agoFix compliation with gcc40: Move structure definition within headers.
Simon Schubert [Sun, 8 May 2005 00:35:48 +0000 (00:35 +0000)]
Fix compliation with gcc40: Move structure definition within headers.

Taken-from: binutils-2.16

16 years agoincore() is used to detect logical block number collisions, and other
Matthew Dillon [Sun, 8 May 2005 00:12:22 +0000 (00:12 +0000)]
incore() is used to detect logical block number collisions, and other
callers will check B_INVAL on return.  Do not return a false negative
if the buffer we find happens to be B_INVAL as this could result in
duplicate buffers in the buffer cache.  As of the red-black tree code,
which detects duplicate entries, the case will immediately panic the machine.

MFC: 2 weeks

16 years agoFix compilation with gcc40: Move function prototype from function to
Simon Schubert [Sun, 8 May 2005 00:07:39 +0000 (00:07 +0000)]
Fix compilation with gcc40: Move function prototype from function to
file scope.

16 years agoClean generated files/directories.
Simon Schubert [Sun, 8 May 2005 00:06:46 +0000 (00:06 +0000)]
Clean generated files/directories.

16 years agoFix compilation with gcc40: Don't declare static variable extern.
Simon Schubert [Sat, 7 May 2005 23:42:39 +0000 (23:42 +0000)]
Fix compilation with gcc40: Don't declare static variable extern.

16 years agoFix compilation with gcc40: Don't cast lvalue for postincrement.
Simon Schubert [Sat, 7 May 2005 23:39:51 +0000 (23:39 +0000)]
Fix compilation with gcc40: Don't cast lvalue for postincrement.

16 years agoFix compliation with gcc40: Don't export ROOTKEY with wrong type at all.
Simon Schubert [Sat, 7 May 2005 23:35:13 +0000 (23:35 +0000)]
Fix compliation with gcc40: Don't export ROOTKEY with wrong type at all.

16 years agoFix compliation with gcc40: Don't cast the lvalue, instead cast the rvalue.
Simon Schubert [Sat, 7 May 2005 23:32:57 +0000 (23:32 +0000)]
Fix compliation with gcc40: Don't cast the lvalue, instead cast the rvalue.

16 years agoFix compilation with gcc40: *_hash() take (unsigned char *) as
Simon Schubert [Sat, 7 May 2005 23:26:12 +0000 (23:26 +0000)]
Fix compilation with gcc40: *_hash() take (unsigned char *) as
first parameter.

16 years agoFix compilation with gcc40: Make `padchar' char *, like all other
Simon Schubert [Sat, 7 May 2005 23:24:44 +0000 (23:24 +0000)]
Fix compilation with gcc40: Make `padchar' char *, like all other
char pointers in this function.

16 years agoFix compilation with gcc40: Move function prototypes from funtion to
Simon Schubert [Sat, 7 May 2005 23:20:43 +0000 (23:20 +0000)]
Fix compilation with gcc40: Move function prototypes from funtion to
file scope.

This stone-old C sucks the skin off a dead goat. Or even off a living one.

16 years agoFix compilation with gcc40: Swap #include order
Simon Schubert [Sat, 7 May 2005 22:50:05 +0000 (22:50 +0000)]
Fix compilation with gcc40: Swap #include order

16 years agoFix compilation with gcc40: Move structure definitions up so that array
Simon Schubert [Sat, 7 May 2005 22:34:51 +0000 (22:34 +0000)]
Fix compilation with gcc40: Move structure definitions up so that array
type in included header "extern.h" isn't incomplete.

16 years agoFix compilation with gcc40: un-static-ize variable to match extern
Simon Schubert [Sat, 7 May 2005 22:29:39 +0000 (22:29 +0000)]
Fix compilation with gcc40: un-static-ize variable to match extern
declaration.

16 years agoFix compilation with gcc40: Move declaration of variable so that type isn't
Simon Schubert [Sat, 7 May 2005 22:05:41 +0000 (22:05 +0000)]
Fix compilation with gcc40: Move declaration of variable so that type isn't
incomplete.

16 years agoFix compilation with gcc40: Only use -fno-stack-protector with gcc versions
Simon Schubert [Sat, 7 May 2005 21:22:32 +0000 (21:22 +0000)]
Fix compilation with gcc40: Only use -fno-stack-protector with gcc versions
which have propolice support.

16 years agoMake getty compile with gcc40: reorder/include headers to resolve
Simon Schubert [Sat, 7 May 2005 20:00:20 +0000 (20:00 +0000)]
Make getty compile with gcc40: reorder/include headers to resolve
incomplete type.

16 years agoClean generated files
Simon Schubert [Sat, 7 May 2005 19:55:31 +0000 (19:55 +0000)]
Clean generated files

16 years agoFix compilation for gcc40: Don't declare variable with conflicting types.
Simon Schubert [Sat, 7 May 2005 19:48:16 +0000 (19:48 +0000)]
Fix compilation for gcc40: Don't declare variable with conflicting types.

16 years agoFix compilation with gcc40: Remove -fwritable-strings from CFLAGS.
Simon Schubert [Sat, 7 May 2005 18:33:25 +0000 (18:33 +0000)]
Fix compilation with gcc40: Remove -fwritable-strings from CFLAGS.

16 years agoMake this compile with gcc40: rename variables so that they don't collide
Simon Schubert [Sat, 7 May 2005 18:05:14 +0000 (18:05 +0000)]
Make this compile with gcc40: rename variables so that they don't collide
with those from ncurses. Don't ask me why ncurses exports PC, BC and UP.

16 years agoMake this compile with gcc40: Move function prototypes from function scope
Simon Schubert [Sat, 7 May 2005 18:03:39 +0000 (18:03 +0000)]
Make this compile with gcc40: Move function prototypes from function scope
to file scope.

16 years agoMake hack compile with gcc40: Remove previously deprecated, now
Simon Schubert [Sat, 7 May 2005 18:02:35 +0000 (18:02 +0000)]
Make hack compile with gcc40: Remove previously deprecated, now
unsupported option -fwritable-strings.

This might break hack in some way, though a quick check didn't show
anything. Takers for cleaning this code?

16 years agoRemove PCVT kernel part and mop up.
Sascha Wildner [Sat, 7 May 2005 17:38:34 +0000 (17:38 +0000)]
Remove PCVT kernel part and mop up.

16 years agoFix gcc40 compilation of lib/libsvg by merging from FreeBSD:
Simon Schubert [Sat, 7 May 2005 16:22:42 +0000 (16:22 +0000)]
Fix gcc40 compilation of lib/libsvg by merging from FreeBSD:

bde         2004/03/11 05:38:54 PST

  FreeBSD src repository

  Modified files:
    sys/amd64/include    cpufunc.h
    sys/i386/include     cpufunc.h
  Log:
  Don't implement anything in the ffs family in <machine/cpufunc.h>
  in the non-_KERNEL case.  This "fixes" applications that include
  this "kernel-only" header and also include <strings.h> (or get
  <strings.h> via the default _BSD_VISIBLE pollution in <string.h>.
  In C++ there was a fatal error: the declaration specifies C linkage
  but the implementation gives C++ linkage.  In C there was only a
  static/extern mismatch if the headers were included in a certain order
  order, and a partially redundant declaration for all include orders;
  gcc emits incomplete or wrong diagnostics for these, but only for
  compiling with -Wsystem-headers and certain other warning options, so
  the problem was usually not seen for C.

  Ports breakage reported by:     kris

  Revision  Changes    Path
  1.142     +4 -0      src/sys/amd64/include/cpufunc.h
  1.139     +4 -0      src/sys/i386/include/cpufunc.h

16 years agoFix gcc40 compilation by removing casts of lvalues.
Simon Schubert [Sat, 7 May 2005 15:33:05 +0000 (15:33 +0000)]
Fix gcc40 compilation by removing casts of lvalues.

This gives us back one warning (with gcc34, gcc40 emits much more
anyways).  The correct fix would be sys/cdefs.h and __DECONST, but as this
is contrib source anyways I don't feel like fixing warning messages here.

16 years agoMove function prototype from function scope to file scope to
Simon Schubert [Sat, 7 May 2005 15:01:36 +0000 (15:01 +0000)]
Move function prototype from function scope to file scope to
satisfy gcc40.

16 years agoAttempt to make code more readable
Simon Schubert [Sat, 7 May 2005 13:53:47 +0000 (13:53 +0000)]
Attempt to make code more readable

16 years agoK&R -> modern C
Simon Schubert [Sat, 7 May 2005 13:32:24 +0000 (13:32 +0000)]
K&R -> modern C

16 years agoMove function prototype from function scope to file scope to
Simon Schubert [Sat, 7 May 2005 13:29:35 +0000 (13:29 +0000)]
Move function prototype from function scope to file scope to
satisfy gcc40.

16 years ago- Use standard types.
Sascha Wildner [Sat, 7 May 2005 13:06:44 +0000 (13:06 +0000)]
- Use standard types.
- Use TAB for indentation.
- Minor style(9) fixes.

16 years agoSort names.
David Xu [Sat, 7 May 2005 10:08:08 +0000 (10:08 +0000)]
Sort names.

16 years agoRemove unused function.
David Xu [Sat, 7 May 2005 09:59:58 +0000 (09:59 +0000)]
Remove unused function.

16 years ago1. Fix symbols needed by libthread_db.
David Xu [Sat, 7 May 2005 09:29:46 +0000 (09:29 +0000)]
1. Fix symbols needed by libthread_db.
2. Add mechanism to report thread events to debugger.

16 years agoAdd libthread_db, a thread debugging support library.
David Xu [Sat, 7 May 2005 09:25:44 +0000 (09:25 +0000)]
Add libthread_db, a thread debugging support library.

16 years agoAdd prototypes of proc service API, every debugger must provide the
David Xu [Sat, 7 May 2005 08:28:06 +0000 (08:28 +0000)]
Add prototypes of proc service API, every debugger must provide the
set of API before it can load thread debugging assistant library:
libthread_db.

16 years agoDefine type lwpid_t, it will be used for thread debugger code.
David Xu [Sat, 7 May 2005 08:23:51 +0000 (08:23 +0000)]
Define type lwpid_t, it will be used for thread debugger code.

16 years agoFix comment of error member, now errno is TLS based.
David Xu [Sat, 7 May 2005 07:50:51 +0000 (07:50 +0000)]
Fix comment of error member, now errno is TLS based.

16 years agoBackout revision 1.5, the pthread->error was used as internal
David Xu [Sat, 7 May 2005 07:39:14 +0000 (07:39 +0000)]
Backout revision 1.5, the pthread->error was used as internal
communication variable between threads, two tls_set_tcb calls
are not signal safe.

16 years agoCorrect typo: vender -> vendor
Sascha Wildner [Sat, 7 May 2005 02:11:25 +0000 (02:11 +0000)]
Correct typo: vender -> vendor

16 years ago- Produce more informative output to syslog. Generally improve/clean error handling
Liam J. Foy [Fri, 6 May 2005 17:16:18 +0000 (17:16 +0000)]
- Produce more informative output to syslog. Generally improve/clean error handling

Ok: dillon

16 years agoBackout the last commit. _S is also true for a few control codes for which
YONETANI Tomokazu [Fri, 6 May 2005 14:25:17 +0000 (14:25 +0000)]
Backout the last commit. _S is also true for a few control codes for which
isprint() should evaluate to false.

16 years agoFix compilation with gcc-4.0: static int debug can't be extern.
Simon Schubert [Fri, 6 May 2005 13:16:08 +0000 (13:16 +0000)]
Fix compilation with gcc-4.0: static int debug can't be extern.