devel/nana 2.5_2 FreeBSD
Support for assertion checking and logging using GNU C and GDB
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- devel
- Package size
- 60.1 KiB, 230.8 KiB installed
Description
Nana provides improved support for assertion checking and logging in C, C++ using GDB. In particular it provides:
o Operations can be implemented directly in C or by generating
debugger commands which do the checking and logging only if the
application is run under the debugger. The debugger based calls
require are very space efficient (0 or 1 bytes per call).
o Support for checking real time constraints.
o Support for assertion (invariant checking) including:
+ Space and time efficient (at least versus <assert.h>)
For example: assert(i>=0) uses 53 bytes on a i386 vs
an optimised nana call which uses 10 bytes per call.
+ Checking can be turned on or off at compile or run time.
+ The action taken when an error is detected can be modified
on a global and per/call basis.
o Support for logging (printf style debugging) including:
+ Logging can be turned on and off at compile or run time.
+ Logging to files, processes or circular buffers in memory
with optional time stamping.
o Support for the quantifiers of predicate calculus (forall, exists).
o Support for before and after state saving and checking (x, x').
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/nana | 2.5_2 |
| NetBSD | devel/nana | 2.4 |
| DragonFly | devel/nana | 2.5_2 |
| HardenedBSD | devel/nana | 2.5_2 |
| GhostBSD | devel/nana | 2.5_2 |
Install
Binary package:
pkg install nana
From the ports tree:
cd /usr/ports/devel/nana/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= nana>0:devel/nana
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.5_2 | 2.5_2 | 2.5_1 | 2.5_2 | 2.5_2 |
| FreeBSD:14:quarterly | 2.5_2 | 2.5_2 | n/a | 2.5_2 | 2.5_2 |
| FreeBSD:15:latest | 2.5_2 | 2.5_2 | n/a | 2.5_2 | 2.5_2 |
| FreeBSD:15:quarterly | 2.5_2 | 2.5_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.5_2 | 2.5_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
Files
Manual pages 9
- DI(3)
- DL(3)
- I(3)
- L(3)
- Q(3)
- Qstl(3)
- nana(1)
- nana(3)
- nana-clg(1)
pkg-plist 38
- bin/nana
- bin/nana-c++lg
- bin/nana-clg
- bin/nana-libtrace
- bin/nana-run
- bin/nana-sfdir
- bin/nana-sfg
- bin/nana-trace
- include/DI.h
- include/DL.h
- include/GDB.h
- include/I.h
- include/L.h
- include/L_buffer.h
- include/L_times.h
- include/Q.h
- include/Qstl.h
- include/calls.h
- include/cycles.h
- include/eiffel.h
- include/nana-config.h
- include/nana.h
- include/nana_error.h
- include/now.h
- lib/libnana.a
- libexec/nana-trace.gdb
- libexec/nanafilter
- share/man/man1/nana-clg.1.gz
- share/man/man1/nana.1.gz
- share/man/man3/DI.3.gz
- share/man/man3/DL.3.gz
- share/man/man3/I.3.gz
- share/man/man3/L.3.gz
- share/man/man3/Q.3.gz
- share/man/man3/Qstl.3.gz
- share/man/man3/nana.3.gz
- share/nana/nana-run-init.gdb
- share/nana/nana-run.gdb
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| nana-2.5.tar.gz | 359085 | fd1819ffea94b209513959447e4802afe2719600e7d161cd78b265a42812affa |
Master sites 2
- http://download.savannah.gnu.org/releases/nana/
- ftp://download.savannah.gnu.org/releases/nana/
Commit history 0
No commits in the history this site was built from.