Last change
on this file was
5708,
checked in by westram, 17 years ago
|
- backtrace gets printed to console from
- GB_internal_error
- SIGSEGV (currently GB_login installs the handler using GBK_install_SIGSEGV_handler. Most likely needs to be called manually for some executables)
- GBK_terminate
- added GBK_dump_backtrace, GBK_terminate and GBK_assert_msg
- Default assertion dumps backtrace now
- added -rdynamic and —export-dynamic compiler/linker flags, leaving symbols in code. This raises size of executables by approx. 8%, but we will get meaningful backtraces from
.
- removed old inactive SIGSEGV code
- replaced GB_CORE either by xx_assert() or GBK_terminate()
- removed GBS_do_core (was used conditionally together with GB_CORE)
- disabled crash provoked via arb_panic (using 'core' as savename)
- Linkage changed:
- The future plan is to try some kind of emergency save on open DBs when GBK_terminate or similar is called.
- Since arb_assert calls GBK_terminate this affects ALL applications.
- The drawback is all executables have to be linked vs ARBDB (done with: arb_help2xml and arb_convert_aln, all others already had ARBDB linked)
- Molphy uses #define SIMPLE_ARB_ASSERT before including arb_assert.h
- renamed define GBL_INCLUDED → ADLOCAL_H
- added arbdb_base.h (defining some types and including ad_k_prot.h, which contains all GBK_*-functions). Intended as minimal and seldom changed interface to libARBDB as needed by arb_assert(), to keep build dependencies low.
- arb_assert.h now automatically includes arbdb_base.h
- trigger compilation of test functions in parsimony via define
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
448 bytes
|
Line | |
---|
1 | #ifndef __ADMAP_H |
---|
2 | #define __ADMAP_H |
---|
3 | |
---|
4 | #ifndef ADLOCAL_H |
---|
5 | #include "adlocal.h" |
---|
6 | #endif |
---|
7 | |
---|
8 | #define ADMAP_ID "ARBDB Mapfile" |
---|
9 | #define ADMAP_ID_LEN 13 |
---|
10 | #define ADMAP_VERSION 5 |
---|
11 | |
---|
12 | struct gb_map_header |
---|
13 | { |
---|
14 | char mapfileID[ADMAP_ID_LEN+1]; |
---|
15 | long version; |
---|
16 | long byte_order; |
---|
17 | GB_MAIN_IDX main_idx; /* main_idx used in GBDATA and GBCONTAINER */ |
---|
18 | long main_data_offset; /* offset of Main->data in MAP-File */ |
---|
19 | }; |
---|
20 | |
---|
21 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.