Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

gdp / ep / ep_dbg.c @ master

History | View | Annotate | Download (6.73 KB)

# Date Author Comment
272fd876 01/08/2020 11:07 AM Eric Allman

Change ep_dbg to allow "hidden" debug flags by preceding them by a dot.
For example, a module could declare a flag using:

static EP_DBG  DbgX = EP_DBG_INIT(.foo.bar, "foobar");

This flag would be set using -D.foo.bar, -D.foo., or even -D., but not...

c87dd166 01/23/2019 07:56 AM Eric Allman

Update license date on all files. No functional changes.

4a8ff91d 08/09/2018 01:54 PM Eric Allman

Print outstanding requests when giving a state dump using T or SIGUSR1.

e95fef13 07/20/2018 11:59 AM Eric Allman

First cut at fixing bug that sometimes caused an "End of Results" PDU to
be delivered before some of the results themselves. This involves
passing a "number of results sent" field in the "End of Results" PDU and
saving that PDU until the indicated number of results are processed....

53e09b3c 02/20/2018 03:25 PM Eric Allman

Make debugging use ep_fopen_styled to keep coloring consistent.

328ab6a8 01/23/2018 05:34 PM Eric Allman

Changes for signed/unsigned conflicts and other type nits. C++ is much
more picky about these than C, but this is probably justified. Sadly,
some of the changes are pretty ugly.

fc0cbc23 01/23/2018 04:09 PM Eric Allman

Changes necessary to compile under C++ because it doesn't understand
that (void *) is compatible with other pointer types. This adds a lot
of explicit casts that are not needed in C.

f11e4557 04/04/2017 01:04 PM Eric Allman

Avoid coloring errors in post-debug output.

3defe741 03/03/2017 01:44 PM Eric Allman

Don't do fflush after every debug printf --- its performance impact is
too large.

243dd108 02/06/2017 11:25 AM Eric Allman

Portability fixes (mostly Makefiles)

897accec 02/06/2017 10:41 AM Eric Allman

Update licenses to 2017.

a44e9415 02/06/2017 10:36 AM Eric Allman

Add stack backtrace on assertion failures.

bfa03df4 02/06/2017 10:36 AM Eric Allman

ep_dbg: flush output after reverting to normal video.

d593769f 08/21/2016 06:36 AM Eric Allman

Allow debug syntaxes "-D99" (to set *=99) and "-Dfoo" (to set foo=1).

6bd5476b 12/01/2015 01:22 PM Eric Allman

Update license. No code changes.

b23b6dc2 11/24/2015 02:03 PM Eric Allman

Code cleanup: pull out dead code (#ifdefed out) and old SVN version
tags.

055d3009 11/21/2015 01:20 PM Eric Allman

Include copyright in all files. There are scripts to do bulk
replacement of the copyright if desired.

ff696f95 10/09/2015 01:47 PM Eric Allman

Line buffer debug output.

1078cf51 05/28/2015 10:25 AM Eric Allman

Allow multiple debug flags to be set with one command line parameter.

d165670a 02/06/2015 10:04 AM Eric Allman

Tweak debugging so it can be sent to an arbitrary file.

20dd7a58 02/05/2015 11:19 AM Eric Allman

Do selective file locking to make debug output easier to read.

837e94b0 08/16/2014 12:16 PM Eric Allman

Snapshot. Still have a deadlock, but it's on a condition variable this time.

49c87bd9 08/04/2014 12:45 PM Eric Allman

First cut at multithreading the EP library.

a901db09 07/28/2014 12:32 PM Eric Allman

Redo spacing changes (but in a very limited way). At this point tabs
(hard, soft, and shiftwidth) are four characters.

77a024b0 07/21/2014 05:25 PM Eric Allman

Clean up a couple of the errors kicked out by -Weverything.

3143b747 05/28/2014 09:35 AM Eric Allman
  • Implement timestamping in nexuses. Currently assumes that clocks have an accuracy of one second (can be adjusted using the gdp.clock.accuracy parameter, but should get the information from the clock itself).
  • Clean up debugging a bit, in particular not having to take & all...
9e55d093 05/27/2014 10:50 AM Eric Allman

Remove most of the vestiges of the old libep, such as EP_NULL, EP_STREAM,
EpStStderr, ep_st_printf, and so forth.

47c6ea64 05/26/2014 10:25 AM Eric Allman

Initial checkin.