* debug.[ch]: Remove unused files.
* Makefile.am: Remove references to debug.c and debug.h
* ospf_main.c: Remove #include "debug.h" (was not being used, and
lib/debug.h has now been deleted).
+2004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+ * debug.[ch]: Remove unused files.
+ * Makefile.am: Remove references to debug.c and debug.h
+
2004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* log.c: (zlog_backtrace) New function to log a backtrace.
sockunion.c prefix.c thread.c if.c memory.c buffer.c table.c hash.c \
filter.c routemap.c distribute.c stream.c str.c log.c plist.c \
zclient.c sockopt.c smux.c md5.c if_rmap.c keychain.c privs.c \
- debug.c sigevent.c pqueue.c jhash.c
+ sigevent.c pqueue.c jhash.c
libzebra_la_DEPENDENCIES = @LIB_REGEX@
memory.h network.h prefix.h routemap.h distribute.h sockunion.h \
str.h stream.h table.h thread.h vector.h version.h vty.h zebra.h \
plist.h zclient.h sockopt.h smux.h md5-gnu.h if_rmap.h keychain.h \
- privs.h debug.h sigevent.h pqueue.h jhash.h zassert.h
+ privs.h sigevent.h pqueue.h jhash.h zassert.h
EXTRA_DIST = regex.c regex-gnu.h
+++ /dev/null
-#include <zebra.h>
-#include "log.h"
-
-void
-debug_print_trace (int signal)
-{
-#ifdef HAVE_GLIBC_BACKTRACE
- void *array[10];
- size_t size;
- char **strings;
- size_t i;
-
- size = backtrace (array, 10);
- strings = backtrace_symbols (array, size);
-
- printf ("Obtained %zd stack frames.\n", size);
-
- for (i = 0; i < size; i++)
- printf ("%s\n", strings[i]);
-
- free (strings);
-#endif /* HAVE_GLIBC_BACKTRACE */
-
- exit(1);
-}
+++ /dev/null
-
-void debug_print_trace (int);
-
+2004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+ * ospf_main.c: Remove #include "debug.h" (was not being used, and
+ lib/debug.h has now been deleted).
+
2004-11-25 Hasso Tepper <hasso at quagga.net>
* ospf_main.c: Make group to run as configurable.
#include "log.h"
#include "memory.h"
#include "privs.h"
-#include "debug.h"
#include "sigevent.h"
#include "ospfd/ospfd.h"