From: <kai...@us...> - 2009-07-14 22:41:56
|
Revision: 429 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=429&view=rev Author: kaiwang27 Date: 2009-07-14 22:41:52 +0000 (Tue, 14 Jul 2009) Log Message: ----------- - dwarf_attrdef_add has been moved to libdwarf_abbrev.c and renamed to attrdef_add. It is no longer a public API. - Added DIE APIs: dwarf_offdie, dwarf_die_CU_offset, dwarf_die_CU_offset_range, dwarf_diename, dwarf_die_abbrev_code. - Added attr APIs: dwarf_attrlist, dwarf_hasattr, dwarf_lowpc, dwarf_highpc, dwarf_bytesize, dwarf_bitsize, dwarf_bitoffset, dwarf_srclang, dwarf_arrayorder. - DIE internal function dwarf_die_add and dwarf_die_find has been moved to libdwarf_die.c and renamed. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/Makefile users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf_attr.c users/kaiwang27/testing/libdwarf/dwarf_attrval.c users/kaiwang27/testing/libdwarf/dwarf_die.c users/kaiwang27/testing/libdwarf/dwarf_dump.c users/kaiwang27/testing/libdwarf/dwarf_finish.c users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_abbrev.c users/kaiwang27/testing/libdwarf/libdwarf_attr.c users/kaiwang27/testing/libdwarf/libdwarf_init.c Added Paths: ----------- users/kaiwang27/testing/libdwarf/libdwarf_die.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-15 21:59:33
|
Revision: 431 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=431&view=rev Author: kaiwang27 Date: 2009-07-15 21:59:30 +0000 (Wed, 15 Jul 2009) Log Message: ----------- - Added struct _Dwarf_Loclist for entries in .debug_loc section. Dwarf_Debug stores the head of _Dwarf_Loclist list. - Added internal function loc_fill_locdesc, loc_fill_locexpr, loc_add, loclist_find, loclist_add. Those functions handle location expressions and loclist. - Added loclist APIs: dwarf_loclist, dwarf_loclist_n, dwarf_loclist_from_expr, dwarf_loclist_from_expr_a, dwarf_loclist_from_expr_free. Old locdesc APIs are still available. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/Makefile users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf_die.c users/kaiwang27/testing/libdwarf/dwarf_errmsg.c users/kaiwang27/testing/libdwarf/dwarf_finish.c users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_abbrev.c users/kaiwang27/testing/libdwarf/libdwarf_attr.c users/kaiwang27/testing/libdwarf/libdwarf_die.c users/kaiwang27/testing/libdwarf/libdwarf_init.c Added Paths: ----------- users/kaiwang27/testing/libdwarf/dwarf_loclist.c users/kaiwang27/testing/libdwarf/libdwarf_loc.c users/kaiwang27/testing/libdwarf/libdwarf_loclist.c Removed Paths: ------------- users/kaiwang27/testing/libdwarf/dwarf_loc.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-17 02:13:45
|
Revision: 434 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=434&view=rev Author: kaiwang27 Date: 2009-07-17 02:13:43 +0000 (Fri, 17 Jul 2009) Log Message: ----------- - Added struct _Dwarf_Line, _Dwarf_LineFile, _Dwarf_LineInfo for lineno support. - Added line number APIs: dwarf_line_srcfileno, dwarf_lineaddr, dwarf_linebeginstatemen, dwarf_lineblock, dwarf_lineendsequence, dwarf_lineno, dwarf_lineoff, dwarf_linesrc, dwarf_srcfiles, dwarf_srclines. - Added internal functions implementing lineno handling. - Do not use elf_strptr to get strings from .debug_str, since the section generated by gcc has type SHT_PROGBITS, which is unacceptable for elf_strptr. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/Makefile users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf.h users/kaiwang27/testing/libdwarf/dwarf_attr.c users/kaiwang27/testing/libdwarf/dwarf_die.c users/kaiwang27/testing/libdwarf/dwarf_errmsg.c users/kaiwang27/testing/libdwarf/dwarf_finish.c users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_attr.c users/kaiwang27/testing/libdwarf/libdwarf_init.c users/kaiwang27/testing/libdwarf/libdwarf_loc.c users/kaiwang27/testing/libdwarf/libdwarf_rw.c Added Paths: ----------- users/kaiwang27/testing/libdwarf/dwarf_lineno.c users/kaiwang27/testing/libdwarf/libdwarf_lineno.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-17 14:10:57
|
Revision: 435 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=435&view=rev Author: kaiwang27 Date: 2009-07-17 14:10:53 +0000 (Fri, 17 Jul 2009) Log Message: ----------- - Let dwarf_attrval_unsigned accept DW_FORM_addr as well. - dwarf_next_cu_header should rotate when it reaches end of queue. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/dwarf_attrval.c users/kaiwang27/testing/libdwarf/dwarf_cu.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-18 01:10:38
|
Revision: 438 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=438&view=rev Author: kaiwang27 Date: 2009-07-18 01:10:33 +0000 (Sat, 18 Jul 2009) Log Message: ----------- - Added struct _Dwarf_NamePair, _Dwarf_NameTbl, and _Dwarf_NameSec for name lookup table support. - Implemented name lookup table backend. - Added SGI libdwarf optional API dwarf_get_cu_die_offset_given_cu_header_offset. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/Makefile users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf_attrval.c users/kaiwang27/testing/libdwarf/dwarf_die.c users/kaiwang27/testing/libdwarf/dwarf_finish.c users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_init.c Added Paths: ----------- users/kaiwang27/testing/libdwarf/libdwarf_nametbl.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-18 02:51:06
|
Revision: 440 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=440&view=rev Author: kaiwang27 Date: 2009-07-18 02:51:05 +0000 (Sat, 18 Jul 2009) Log Message: ----------- Added a bunch of APIs for accessing various name lookup tables. (.debug_pubnames, .debug_pubtypes, .debug_weaknames, etc.) Modified Paths: -------------- users/kaiwang27/testing/libdwarf/Makefile users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf_finish.c users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_init.c Added Paths: ----------- users/kaiwang27/testing/libdwarf/dwarf_funcs.m4 users/kaiwang27/testing/libdwarf/dwarf_nametbl.m4 users/kaiwang27/testing/libdwarf/dwarf_pubnames.m4 users/kaiwang27/testing/libdwarf/dwarf_pubtypes.m4 users/kaiwang27/testing/libdwarf/dwarf_types.m4 users/kaiwang27/testing/libdwarf/dwarf_vars.m4 users/kaiwang27/testing/libdwarf/dwarf_weaks.m4 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-20 02:27:24
|
Revision: 442 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=442&view=rev Author: kaiwang27 Date: 2009-07-20 02:27:18 +0000 (Mon, 20 Jul 2009) Log Message: ----------- Added code handling call frame data. (work-in-progress) Modified Paths: -------------- users/kaiwang27/testing/libdwarf/Makefile users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf_errmsg.c users/kaiwang27/testing/libdwarf/dwarf_finish.c users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_init.c users/kaiwang27/testing/libdwarf/libdwarf_nametbl.c Added Paths: ----------- users/kaiwang27/testing/libdwarf/libdwarf_frame.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-20 02:49:53
|
Revision: 443 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=443&view=rev Author: kaiwang27 Date: 2009-07-20 02:49:43 +0000 (Mon, 20 Jul 2009) Log Message: ----------- Added API: dwarf_get_fde_list. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/Makefile users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_frame.c Added Paths: ----------- users/kaiwang27/testing/libdwarf/dwarf_frame.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-20 03:55:19
|
Revision: 444 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=444&view=rev Author: kaiwang27 Date: 2009-07-20 03:55:12 +0000 (Mon, 20 Jul 2009) Log Message: ----------- Added APIs: dwarf_get_cie_of_fde, dwarf_get_fde_range, dwarf_get_cie_info, dwarf_get_fde_instr_bytes. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf_frame.c users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_frame.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-20 21:32:48
|
Revision: 445 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=445&view=rev Author: kaiwang27 Date: 2009-07-20 21:32:46 +0000 (Mon, 20 Jul 2009) Log Message: ----------- - Added internal functions for DAWRF3 call frame handling. - Added more DWARF3 call frame APIs: dwarf_get_fde_info_for_reg3, dwarf_get_fde_info_for_cfa_reg3, dwarf_get_fde_info_for_all_reg3. - Added call frame parameter setting APIs: dwarf_set_frame_rule_table_size, dwarf_set_frame_rule_initial_value, dwarf_set_frame_cfa_value, dwarf_set_frame_same_value, dwarf_set_frame_undefined_value. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf.h users/kaiwang27/testing/libdwarf/dwarf_errmsg.c users/kaiwang27/testing/libdwarf/dwarf_finish.c users/kaiwang27/testing/libdwarf/dwarf_frame.c users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_frame.c users/kaiwang27/testing/libdwarf/libdwarf_init.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-21 18:31:13
|
Revision: 450 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=450&view=rev Author: kaiwang27 Date: 2009-07-21 18:31:10 +0000 (Tue, 21 Jul 2009) Log Message: ----------- - Add loclist API dwarf_get_loclist_entry. - Change the list of Dwarf_Loclist to a TAILQ. - Sort Dwarf_Loclist by offset. - Add a field ll_length to the Dwarf_Loclist. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf_finish.c users/kaiwang27/testing/libdwarf/dwarf_loclist.c users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_init.c users/kaiwang27/testing/libdwarf/libdwarf_loclist.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-21 21:37:27
|
Revision: 452 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=452&view=rev Author: kaiwang27 Date: 2009-07-21 21:37:26 +0000 (Tue, 21 Jul 2009) Log Message: ----------- - Record operand1 of Dwarf expressions which do not use leb128-encoding operand. We can handle this now since we have dbg->decode function. - Add dbg to dwarf_loclist_from_expr_a's parameter list. We need this because otherwise the byteorder of input expression stream is unknown. This SGI API probably need redesign. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf_loclist.c users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_loc.c users/kaiwang27/testing/libdwarf/libdwarf_loclist.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-21 23:14:26
|
Revision: 455 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=455&view=rev Author: kaiwang27 Date: 2009-07-21 23:14:25 +0000 (Tue, 21 Jul 2009) Log Message: ----------- Added call frame API dwarf_get_fde_n. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf_frame.c users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_frame.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-22 00:01:47
|
Revision: 456 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=456&view=rev Author: kaiwang27 Date: 2009-07-22 00:01:41 +0000 (Wed, 22 Jul 2009) Log Message: ----------- Added call frame API dwarf_get_fde_at_pc. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/dwarf_frame.c users/kaiwang27/testing/libdwarf/libdwarf.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-22 03:13:01
|
Revision: 457 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=457&view=rev Author: kaiwang27 Date: 2009-07-22 03:12:58 +0000 (Wed, 22 Jul 2009) Log Message: ----------- Added call frame APIs: dwarf_expand_frame_instructions, dwarf_free_expanded_frame_instrctions. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf_frame.c users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_frame.c users/kaiwang27/testing/libdwarf/libdwarf_loc.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-22 20:25:54
|
Revision: 458 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=458&view=rev Author: kaiwang27 Date: 2009-07-22 20:25:44 +0000 (Wed, 22 Jul 2009) Log Message: ----------- - Added _Dwarf_ArangeSet representing a address range set, _Dwarf_Arange representing a address range entry. - Added internel functions handling .debug_arange data. - Added Arange APIs: dwarf_get_aranges, dwarf_get_arange, dwarf_get_cu_die_offset, dwarf_get_arange_cu_header_offset, dwarf_get_arange_info. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/Makefile users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf_errmsg.c users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_init.c Added Paths: ----------- users/kaiwang27/testing/libdwarf/dwarf_arange.c users/kaiwang27/testing/libdwarf/libdwarf_arange.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-23 02:23:54
|
Revision: 459 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=459&view=rev Author: kaiwang27 Date: 2009-07-23 02:23:52 +0000 (Thu, 23 Jul 2009) Log Message: ----------- - Added internal functions handling .debug_macinfo section. - Added macinfo APIs: dwarf_find_macro_value_start, dwarf_get_macro_details. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/Makefile users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf_errmsg.c users/kaiwang27/testing/libdwarf/dwarf_finish.c users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_arange.c users/kaiwang27/testing/libdwarf/libdwarf_init.c Added Paths: ----------- users/kaiwang27/testing/libdwarf/dwarf_macinfo.c users/kaiwang27/testing/libdwarf/libdwarf_macinfo.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-23 06:23:31
|
Revision: 460 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=460&view=rev Author: kaiwang27 Date: 2009-07-23 06:23:29 +0000 (Thu, 23 Jul 2009) Log Message: ----------- - Added support for .debug_ranges section. - Added ranges API dwarf_get_ranges. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/Makefile users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf.h users/kaiwang27/testing/libdwarf/dwarf_finish.c users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_attr.c users/kaiwang27/testing/libdwarf/libdwarf_init.c users/kaiwang27/testing/libdwarf/libdwarf_loclist.c Added Paths: ----------- users/kaiwang27/testing/libdwarf/dwarf_ranges.c users/kaiwang27/testing/libdwarf/libdwarf_ranges.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-23 17:00:38
|
Revision: 461 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=461&view=rev Author: kaiwang27 Date: 2009-07-23 17:00:32 +0000 (Thu, 23 Jul 2009) Log Message: ----------- - Added support for GNU .eh_frame call frame section. - Added API dwarf_get_fde_list_eh. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf_frame.c users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_frame.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-23 17:07:55
|
Revision: 462 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=462&view=rev Author: kaiwang27 Date: 2009-07-23 17:07:51 +0000 (Thu, 23 Jul 2009) Log Message: ----------- Added API dwarf_get_address_size. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/dwarf_die.c users/kaiwang27/testing/libdwarf/libdwarf.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-07-23 18:55:48
|
Revision: 463 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=463&view=rev Author: kaiwang27 Date: 2009-07-23 18:55:45 +0000 (Thu, 23 Jul 2009) Log Message: ----------- Added string section API dwarf_get_str. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/Makefile users/kaiwang27/testing/libdwarf/libdwarf.h users/kaiwang27/testing/libdwarf/libdwarf_frame.c Added Paths: ----------- users/kaiwang27/testing/libdwarf/dwarf_str.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-08-15 20:10:09
|
Revision: 468 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=468&view=rev Author: kaiwang27 Date: 2009-08-15 20:09:54 +0000 (Sat, 15 Aug 2009) Log Message: ----------- - Change dwarf_errno to a macro. It now has the same interface as SGI libdwarf's dwarf_errno. - Removed dwarf_errno function implementation. - Renamed dwarf_errmsg to _dwarf_errmsg. Add dwarf_errmsg macro. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/Makefile users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf_dump.c users/kaiwang27/testing/libdwarf/dwarf_errmsg.c users/kaiwang27/testing/libdwarf/libdwarf.h Removed Paths: ------------- users/kaiwang27/testing/libdwarf/dwarf_errno.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-08-16 09:52:40
|
Revision: 472 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=472&view=rev Author: kaiwang27 Date: 2009-08-16 09:52:32 +0000 (Sun, 16 Aug 2009) Log Message: ----------- Correct a typo in a API name: dwarf_get_fde_info_for_all_reg3 -> dwarf_get_fde_info_for_all_regs3 Modified Paths: -------------- users/kaiwang27/testing/libdwarf/dwarf_frame.c users/kaiwang27/testing/libdwarf/libdwarf.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-08-16 10:13:03
|
Revision: 469 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=469&view=rev Author: kaiwang27 Date: 2009-08-16 09:32:36 +0000 (Sun, 16 Aug 2009) Log Message: ----------- Changed dwarf_init to take two more args: error handler, and error handler arg. If an error occurs in an API, error handling code will copy error information to application supplied Dwarf_Error buffer, call error handler installed by application. If application has not provided Dwarf_Error buffer nor error handler, libdwarf will call abort(3) to terminate. (This is the same behaviour as SGI libdwarf) SGI libdwarf's error handler is specific per Dwarf_Debug, while our error handler is global. The advantage of global error handler is that in some error cases there is no way to obtain related Dwarf_Debug, per Dwarf_Debug error handler can not be called in such situation, while global error handler can. The disadvantage is that application can only install one error handler for all Dwarf_Debug. Modified Paths: -------------- users/kaiwang27/testing/libdwarf/Makefile users/kaiwang27/testing/libdwarf/_libdwarf.h users/kaiwang27/testing/libdwarf/dwarf_init.c users/kaiwang27/testing/libdwarf/libdwarf.h Added Paths: ----------- users/kaiwang27/testing/libdwarf/libdwarf.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-08-16 11:05:41
|
Revision: 473 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=473&view=rev Author: kaiwang27 Date: 2009-08-16 11:05:36 +0000 (Sun, 16 Aug 2009) Log Message: ----------- Renamed two APIs (our extension) to match the SGI libdwarf API naming style better: dwarf_free_expanded_frame_instrctions -> dwarf_frame_instructions_dealloc dwarf_loclist_from_expr_free -> dwarf_loclist_from_expr_dealloc Modified Paths: -------------- users/kaiwang27/testing/libdwarf/dwarf_frame.c users/kaiwang27/testing/libdwarf/dwarf_loclist.c users/kaiwang27/testing/libdwarf/libdwarf.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |