Debian Codegraph @

src/bin/dwarfgen/ChangeLog2018

raw
1 2018-11-29 David Anderson
2 * createirepfrombinary.cc: Removed trailing whitespace.
3 * dwarfgen.cc: Added option --add-implicit-const to
4 create an object with DW_FORM_implicit_const.
5 * general.h: Added bool addimplicitconst flag for the
6 new option.
7 * irepattrtodbg.cc: For DW_FORM_implicit_const
8 add a call to new libdwarf function
9 dwarf_add_AT_implicit_const().
10 * ireptodbg.cc: New static function addImplicitConstItem()
11 deals with replacing parts of existing variables
12 with DW_FORM_implicit_const when the new option used.
13 2018-10-03 David Anderson
14 * dwarfgen.cc: Now uses dwarf_init_b() instead
15 of the original dwarf_init().
16 2018-09-21 David Anderson
17 * dwarfgen.cc: S_IRUSR was defined incorrectly
18 (when not provided by system headers). Fixed.
19 * CMakeLists.txt: Updated headers list to include all
20 the local headers.
21 * Makefile.am: Ensured config.h.in.cmake and
22 dwarfgen.1 get into releases.
23 2018-09-11 David Anderson
24 * ireptodbg.cc: Removed pointless comment.
25 2018-08-02 David Anderson
26 * irepattrtodbg.cc: Fixed a typo and removed/#if 0
27 some debugging code
28 * Makefile.am: Removed unused variables and references
29 to them.
30 2018-07-31 David Anderson
31 * Makefile.am: Moved ChangeLog etc out of /usr/share
32 but have them in the distribution. Now make install
33 puts nothing of dwarfgen in /usr/local/share.
34 2018-07-31 David Anderson
35 * createirepfrombinary.cc: Delete blank line.
36 * dwarfgen.cc: Adding new option --force-empty-dnames
37 to force out .debug_names section (even if empty).
38 Added dwarf_transform_to_disk_form_a() which
39 does the same as dwarf_transform_to_disk_form() but
40 has a status as the return value and returns its
41 value via a pointer arg.
42 * irepattrtodbg.cc: Removing some useless whitespace.
43 2018-07-24 David Anderson
44 * dwarfgen.cc: CallbackFunc() was awkwardly declared
45 (now more sensibly declared as static function,
46 still extern "C" as it is called from C (libdwarf))
47 ErrorHandler() was unused (now deleted).
48 2018-07-23 David Anderson
49 * createirepformfrombinary.cc: Removed unused local variable.
50 #define UNUSEDARG appropriately
51 * createirepfrombinary.cc: Removed extra ';'.
52 #define UNUSEDARG appropriately
53 mark static functions as such to avoid warnings.
54 Mark arguments UNUSEDARG where appropriate.
55 Test the correct libdwarf return value.
56 Delete unused local variables.
57 * dwarfgen.cc: Declared functions for C callbacks
58 as extern C.
59 #define UNUSEDARG appropriately
60 * general.h: Reformat the header comments to avoid
61 too-long lines.
62 Delete duplicative comments.
63 * irepattrtodbg.cc: Fixed reinterpret casts to be
64 the correct type which made the typedef myintptrt
65 unused (and now deleted).
66 #define UNUSEDARG appropriately
67 Mark arguments UNUSEDARG where appropriate.
68 * irepdie.h, irepform.h: Mark arguments
69 UNUSEDARG where appropriate.
70 * ireptodbg.cc:Fixed reinterpret casts to be
71 the correct type, fixing signed/unsigned
72 comparison warnings. Removed some unused
73 local variables. Fixed a couple declarations
74 to avoid signed/unsigned comparison warnings.
75 #define UNUSEDARG appropriately
76 Mark arguments UNUSEDARG where appropriate.
77 2018-07-22 David Anderson
78 * dwarfgen.cc: The relocations processing was assuming
79 alignment of 32bit and 64bit values. Now no longer
80 makes that incorrect assumption.
81 2018-07-16 David Anderson
82 * createirepformfrombinary.cc: Refines ifdef of HAVE_STDAFX_H
83 * createirepfrombinary.cc: Refines ifdef of HAVE_STDAFX_H
84 Delete unused local variable.
85 * dwarfgen.cc: Refines ifdef of HAVE_STDAFX_H.
86 Changes certain function_argument names to avoid
87 shadowing a global. For example, elf -> elf_w
88 * general.h: Remove pointless trailing ; ending IToHex()
89 * irepattrtodbg.cc: Refines ifdef of HAVE_STDAFX_H.
90 Rename local vars to avoid shadowing. Example: form -> form_a
91 * ireptodbg.cc: Refines ifdef of HAVE_STDAFX_H.
92 Rename local vars to avoid shadowing. Example: error -> lerror
93 2018-07-16 David Anderson
94 * Makefile.am: New, used by autotools to create configure.
95 * configure.ac, Makefile.in, config.h.in: Deleted.
96 2018-06-19 David Anderson
97 * dwarfgen.cc: Now it's intended to build for Linux
98 or Windows and get usable file open modes automatically.
99 2018-06-14 David Anderson
100 * Makefile.in
101 * config.h.in,configure.ac
102 Removed unnecessary defines and checks.
103 * configure: Regenerated
104 * createirepformfrombinary.cc,createirepfrombinary.cc,
105 irepattrtodbg.cc,ireptodbg.cc:
106 Removed unnecessary #includes
107 * dwarfgen.cc: Removed unnecessary #includes.
108 Switch from gelf.h (GNU only) to libelf.h.
109 2018-06-14 David Anderson
110 * Added #ifdef for Windows environment
111 builds. _O_WRONLY etc for creating a file.
112 2018-06-13 David Anderson
113 * configure.ac: New option --enable-elf-open
114 setting HAVE_ELF_OPEN
115 * config.h.in: HAVE_ELF_OPEN
116 * configure.ac: Regenerated.
117 * dwarfgen.cc.c: Now uses open() unless HAVE_ELF_OPEN
118 is explicitly set.
119 2018-06-05 David Anderson
120 * dwarfdump.c: Change WIN32 to _WIN32.
121 2018-06-05 David Anderson
122 * configure.ac: Now configure.in gone, using configure.ac.
123 * configure: regenerated.
124 * config.h.in: Regenerated, HAVE_LIBELF_LIBELF gone.
125 2018-06-05 David Anderson
126 * dwarfgen.cc: Remove erroneous _MSC_VER
127 per Carlos Alberto Enciso.
128 2018-05-28 David Anderson
129 * createirepformfrombinary.cc,createirepfrombinary.cc,
130 general.h,irepattrtodbg.cc,irepdie.h,
131 irepform.h,ireppubnames.h: Removed trailing
132 blank lines and updated copyright year.
133