| 29 | using namespace Firebird; |
| 30 | |
| 31 | void DBG_parse_debug_info(thread_db* tdbb, bid* blob_id, DbgInfo& dbgInfo) |
| 32 | { |
| 33 | Jrd::Attachment* attachment = tdbb->getAttachment(); |
| 34 | |
| 35 | blb* blob = blb::open(tdbb, attachment->getSysTransaction(), blob_id); |
| 36 | const ULONG length = blob->blb_length; |
| 37 | HalfStaticArray<UCHAR, 128> tmp; |
| 38 | |
| 39 | UCHAR* temp = tmp.getBuffer(length); |
| 40 | blob->BLB_get_data(tdbb, temp, length); |
| 41 | |
| 42 | DBG_parse_debug_info(length, temp, dbgInfo); |
| 43 | } |
| 44 | |
| 45 | void DBG_parse_debug_info(ULONG length, const UCHAR* data, DbgInfo& dbgInfo) |
| 46 | { |
no test coverage detected