Florian Weimer | efa72a0 | 2014-04-15 14:04:19 +0200 | [diff] [blame^] | 1 | 2014-04-15 Florian Weimer <fweimer@redhat.com> |
| 2 | |
| 3 | * libdwP.h (enum IDX_gnu_debugaltlink): New. |
| 4 | * dwarf_begin_elf.c (dwarf_scnnames): Increase string size and add |
| 5 | .gnu_debugaltlink. |
| 6 | (check_section): Obtain .gnu_debugaltlink section from the |
| 7 | setiondata array. |
| 8 | |
Mark Wielaard | 9380297 | 2014-04-11 23:52:47 +0200 | [diff] [blame] | 9 | 2014-04-11 Mark Wielaard <mjw@redhat.com> |
| 10 | |
| 11 | * libdw.map (ELFUTILS_0.159): New. Add dwelf_elf_gnu_debuglink. |
| 12 | * Makefile.am (libdw.so): Depend on libdwelf_pic.a. |
| 13 | (libdwelf_objects): New variable. |
| 14 | (libdw_a_LIBADD): Add libdwelf objects. |
| 15 | |
Mark Wielaard | eb4da48 | 2014-04-22 16:43:11 +0200 | [diff] [blame] | 16 | 2014-04-22 Mark Wielaard <mjw@redhat.com> |
| 17 | |
| 18 | * memory-access.h (get_sleb128_step): Remove undefined behavior |
| 19 | of left shifting a signed value. Replace it with a multiplication. |
| 20 | |
Mark Wielaard | 3232479 | 2014-04-13 17:39:57 +0200 | [diff] [blame] | 21 | 2014-04-13 Mark Wielaard <mjw@redhat.com> |
| 22 | |
| 23 | * Makefile.am: Remove !MUDFLAP conditions. |
| 24 | |
Mark Wielaard | 7f1eec3 | 2014-04-09 11:33:23 +0200 | [diff] [blame] | 25 | 2014-04-09 Mark Wielaard <mjw@redhat.com> |
| 26 | |
| 27 | * dwarf_begin_elf.c (check_section): Check for unsigned overflow |
| 28 | before calling malloc to uncompress data. |
| 29 | |
Jan Kratochvil | dff2a99 | 2014-03-04 00:04:27 +0100 | [diff] [blame] | 30 | 2014-03-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 31 | |
| 32 | Fix abort() on missing section headers. |
| 33 | * dwarf_begin_elf.c (check_section): Replace abort call by goto err. |
| 34 | New label err to return NULL. |
| 35 | |
Josh Stone | 50d5b2c | 2014-02-05 11:26:27 -0800 | [diff] [blame] | 36 | 2014-02-05 Josh Stone <jistone@redhat.com> |
| 37 | |
| 38 | * dwarf_decl_file.c (dwarf_decl_file): Read the idx as unsigned. |
| 39 | * dwarf_decl_line.c (__libdw_attr_intval): Read the line/column as |
| 40 | unsigned. Change the range assert to DWARF_E_INVALID_DWARF. |
| 41 | |
Mark Wielaard | 1910801 | 2013-12-30 22:00:57 +0100 | [diff] [blame] | 42 | 2013-12-30 Mark Wielaard <mjw@redhat.com> |
| 43 | |
| 44 | * libdw.map (ELFUTILS_0.158): Add dwfl_core_file_attach and |
| 45 | dwfl_linux_proc_attach. |
| 46 | |
Mark Wielaard | e962ec3 | 2013-12-20 10:09:12 +0100 | [diff] [blame] | 47 | 2013-12-20 Mark Wielaard <mjw@redhat.com> |
| 48 | |
| 49 | * libdw.map (ELFUTILS_0.158): Add dwfl_getthread_frames. |
| 50 | |
Mark Wielaard | 159ac52 | 2013-12-18 11:05:54 +0100 | [diff] [blame] | 51 | 2013-12-18 Mark Wielaard <mjw@redhat.com> |
| 52 | |
| 53 | * libdw.map (ELFUTILS_0.158): Remove dwfl_module_addrsym_elf and |
| 54 | dwfl_module_getsym_elf. Add dwfl_module_addrinfo and |
| 55 | dwfl_module_getsym_info. |
| 56 | |
Mark Wielaard | 14c2d9e | 2013-12-16 13:28:59 +0100 | [diff] [blame] | 57 | 2013-12-16 Mark Wielaard <mjw@redhat.com> |
| 58 | |
| 59 | * libdw.map (ELFUTILS_0.158): Add dwfl_module_getsymtab_first_global. |
| 60 | |
Josh Stone | 4e2787c | 2013-12-10 14:19:09 -0800 | [diff] [blame] | 61 | 2013-12-10 Josh Stone <jistone@redhat.com> |
| 62 | |
| 63 | * memory-access.h (get_uleb128_rest_return): Removed. |
| 64 | (get_sleb128_rest_return): Removed. |
| 65 | (get_uleb128_step): Make this a self-contained block. |
| 66 | (get_sleb128_step): Ditto, and use a bitfield to extend signs. |
| 67 | (get_uleb128): Make this wholly implemented by __libdw_get_uleb128. |
| 68 | (get_sleb128): Make this wholly implemented by __libdw_get_sleb128. |
| 69 | (__libdw_get_uleb128): Simplify and inline for all callers. |
| 70 | (__libdw_get_sleb128): Ditto. |
| 71 | * dwarf_getlocation.c (store_implicit_value): Void the unused uleb128. |
| 72 | * memory-access.c: Delete file. |
| 73 | * Makefile.am (libdw_a_SOURCES): Remove it. |
| 74 | (DEFS): Remove the now unused -DIS_LIBDW. |
| 75 | |
Josh Stone | c0d2a0b | 2013-12-09 13:52:10 -0800 | [diff] [blame] | 76 | 2013-12-09 Josh Stone <jistone@redhat.com> |
| 77 | |
| 78 | * libdw_form.c (__libdw_form_val_compute_len): Renamed function from |
| 79 | __libdw_form_val_len, now handling only non-constant form lengths. |
| 80 | * libdwP.h (__libdw_form_val_len): New inlined function. |
| 81 | |
Mark Wielaard | 3951f2e | 2013-12-09 16:33:26 +0100 | [diff] [blame] | 82 | 2013-12-09 Mark Wielaard <mjw@redhat.com> |
| 83 | |
| 84 | * dwarf_getlocation.c (__libdw_intern_expression): Handle empty |
| 85 | location expressions. |
| 86 | * dwarf_getlocation_attr.c (dwarf_getlocation_attr): When no |
| 87 | location found, return empty location expression. |
| 88 | * dwarf_getlocation_implicit_pointer.c |
| 89 | (dwarf_getlocation_implicit_pointer): Likewise. |
| 90 | (__libdw_empty_loc_attr): New internal function. |
| 91 | * libdwP.h (__libdw_empty_loc_attr): Define. |
| 92 | |
Mark Wielaard | 819c349 | 2013-11-27 16:45:44 +0100 | [diff] [blame] | 93 | 2013-11-27 Mark Wielaard <mjw@redhat.com> |
| 94 | |
| 95 | * libdw.map (ELFUTILS_0.158): Add dwfl_module_addrsym_elf and |
| 96 | dwfl_module_getsym_elf. |
| 97 | |
Mark Wielaard | 16bc456 | 2013-11-26 15:13:22 +0100 | [diff] [blame] | 98 | 2013-11-26 Mark Wielaard <mjw@redhat.com> |
| 99 | |
| 100 | * libdw.map (ELFUTILS_0.156): Move dwfl_attach_state, dwfl_pid, |
| 101 | dwfl_thread_dwfl, dwfl_thread_tid, dwfl_frame_thread, |
| 102 | dwfl_thread_state_registers, dwfl_thread_state_register_pc, |
| 103 | dwfl_getthreads, dwfl_thread_getframes and dwfl_frame_pc to ... |
| 104 | (ELFUTILS_0.158): ... here. |
| 105 | |
Mark Wielaard | 03d76f4 | 2013-11-09 16:45:22 +0100 | [diff] [blame] | 106 | 2013-11-09 Mark Wielaard <mjw@redhat.com> |
| 107 | |
| 108 | * dwarf_getaranges.c (dwarf_getaranges): Read segment_size and |
| 109 | check that it is zero. |
| 110 | |
Jan Kratochvil | 0b86746 | 2013-05-30 14:37:38 +0200 | [diff] [blame] | 111 | 2013-11-07 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 112 | |
| 113 | * cfi.h (struct Dwarf_Frame_s): Make the comment more specific. |
| 114 | * libdw.map (ELFUTILS_0.156): Add dwfl_attach_state, dwfl_pid, |
| 115 | dwfl_thread_dwfl, dwfl_thread_tid, dwfl_frame_thread, |
| 116 | dwfl_thread_state_registers, dwfl_thread_state_register_pc, |
| 117 | dwfl_getthreads, dwfl_thread_getframes and dwfl_frame_pc. |
| 118 | |
Michael Forney | a45c804 | 2013-11-01 00:51:04 -0700 | [diff] [blame] | 119 | 2013-11-01 Michael Forney <mforney@mforney.org> |
| 120 | |
Michael Forney | cdc0943 | 2013-11-01 00:51:05 -0700 | [diff] [blame] | 121 | * Makefile.am (libdwfl_objects): New definition. |
| 122 | (libdw_a_LIBADD): Use libdwfl_objects. |
| 123 | |
| 124 | 2013-11-01 Michael Forney <mforney@mforney.org> |
| 125 | |
Michael Forney | a45c804 | 2013-11-01 00:51:04 -0700 | [diff] [blame] | 126 | * Makefile.am: Use READELF. |
| 127 | |
Jan Kratochvil | 3cf491e | 2013-10-30 10:48:20 +0100 | [diff] [blame] | 128 | 2013-10-30 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 129 | |
| 130 | * libdw.map (ELFUTILS_0.158): New. |
| 131 | |
Mark Wielaard | e6a9bb8 | 2013-10-10 11:40:12 +0200 | [diff] [blame] | 132 | 2013-10-10 Mark Wielaard <mjw@redhat.com> |
| 133 | |
| 134 | * dwarf_getfuncs.c (struct visitor_info): Rename start_offset to |
| 135 | start_addr and rename last_offset to last_addr. Now both void *. |
| 136 | (tree_visitor): Use start_add and die_addr instead of start_offset |
| 137 | and die_offset. |
| 138 | (dwarf_getfuncs): Use last_addr instead of last_offset. |
| 139 | |
Mark Wielaard | 3dec3e1 | 2013-10-06 17:04:07 +0200 | [diff] [blame] | 140 | 2013-10-06 Mark Wielaard <mjw@redhat.com> |
| 141 | |
| 142 | * cfi.c (execute_cfi): Make sure DW_CFA_expression and |
| 143 | DW_CFA_val_expression are not used with abi_cfi. |
| 144 | |
Josh Stone | 5dbbc5e | 2013-10-03 12:38:25 -0700 | [diff] [blame] | 145 | 2013-10-03 Josh Stone <jistone@redhat.com> |
| 146 | |
| 147 | * dwarf_formref_die.c (dwarf_formref_die): Don't hash the sig8 here. |
| 148 | * libdw_findcu.c (__libdw_intern_next_unit): Since this never revisits |
| 149 | a unit, make sure to always hash the sig8 here, so none are missed. |
| 150 | |
Mark Wielaard | 74f9b73 | 2013-09-30 00:39:07 +0200 | [diff] [blame] | 151 | 2013-09-29 Mark Wielaard <mjw@redhat.com> |
| 152 | |
| 153 | * dwarf_getlocation.c (store_implicit_value): Cast op->number2 to |
| 154 | uintptr_t before casting to char *. |
| 155 | (__libdw_intern_expression): Cast data to uintptr_t before casting |
| 156 | to Dwarf_Word. |
| 157 | * dwarf_getlocation_attr.c (dwarf_getlocation_attr): Cast |
| 158 | op->number2 to uintptr_t before casting to char *. |
| 159 | |
Josh Stone | f06c858 | 2013-09-24 15:52:05 -0700 | [diff] [blame] | 160 | 2013-09-24 Josh Stone <jistone@redhat.com> |
| 161 | |
| 162 | * libdw_visit_scopes.c (classify_die): Removed. |
| 163 | (may_have_scopes): New function to replace classify_die. There's no |
| 164 | need for full classification; just find tags that may contain scopes. |
| 165 | (__libdw_visit_scopes): Use a direct tag comparison for imported |
| 166 | units, and use may_have_scopes to test if recursion is needed. |
| 167 | |
Mark Wielaard | 1b734df | 2013-09-20 09:50:42 -0400 | [diff] [blame] | 168 | 2013-09-20 Mark Wielaard <mjw@redhat.com> |
| 169 | |
| 170 | * dwarf_getfuncs.c (visitor_info): New struct. |
| 171 | (tree_visitor): New function. |
| 172 | (dwarf_getfuncs): Use __libdw_visit_scopes with tree_visitor. |
| 173 | * libdw.h (dwarf_getfuncs): Expand function documentation. |
| 174 | |
Mark Wielaard | 18b2c67 | 2013-09-12 15:49:47 +0200 | [diff] [blame] | 175 | 2013-09-12 Mark Wielaard <mjw@redhat.com> |
| 176 | |
| 177 | * fde.c (intern_fde): Free fde and set libdw errno when start |
| 178 | or end could not be read. |
| 179 | |
Mark Wielaard | b2535b6 | 2013-08-30 23:55:12 +0200 | [diff] [blame] | 180 | 2013-08-24 Mark Wielaard <mjw@redhat.com> |
| 181 | |
| 182 | * dwarf_getlocation.c (store_implicit_value): Don't take data |
| 183 | as argument, get block data from op number2. Return false when |
| 184 | block data length and op number don't match up. |
| 185 | (__libdw_intern_expression): Store start of block for |
| 186 | DW_OP_implicit_value and DW_OP_GNU_entry_value instead of |
| 187 | relative data offset. Also store block start (including length) |
| 188 | for DW_OP_GNU_const_type. Don't pass data to store_implicit_value. |
| 189 | * dwarf_getlocation_attr.c: New file. |
| 190 | * dwarf_getlocation_die.c: Likewise. |
| 191 | * libdw.h (dwarf_getlocation_die): New function definition. |
| 192 | (dwarf_getlocation_attr): Likewise. |
| 193 | * libdwP.h: Declare internal dwarf_getlocation_die. |
| 194 | * libdw.map (ELFUTILS_0.157): Add dwarf_getlocation_die and |
| 195 | dwarf_getlocation_attr. |
| 196 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getlocation_die.c and |
| 197 | dwarf_getlocation_attr.c. |
| 198 | |
Mark Wielaard | 66eaae9 | 2013-08-23 16:12:37 +0200 | [diff] [blame] | 199 | 2013-08-23 Mark Wielaard <mjw@redhat.com> |
| 200 | |
| 201 | * dwarf_getlocation.c (attr_ok): Also accept DW_AT_segment. |
| 202 | (attr_base_address): New function. |
| 203 | (initial_offset_base): New function. |
| 204 | (getlocations_addr): New function. Taken from... |
| 205 | (dwarf_getlocation_addr): here. Use new initial_offset_base and |
| 206 | getlocations_addr. |
| 207 | (dwarf_getlocations): New function. |
| 208 | * libdw.h (dwarf_getlocations): New function definition. |
| 209 | * libdw.map (ELFUTILS_0.157): New. |
| 210 | |
Mark Wielaard | 5704c8c | 2013-07-02 11:22:35 +0200 | [diff] [blame] | 211 | 2013-07-02 Mark Wielaard <mjw@redhat.com> |
| 212 | |
Mark Wielaard | 4aacfc1 | 2013-07-02 16:36:16 +0200 | [diff] [blame] | 213 | * dwarf_getsrclines.c (dwarf_getsrclines): Add new stack allocation |
| 214 | limit MAX_STACK_ALLOC. After MAX_STACK_ALLOC lines use malloc in |
| 215 | NEW_LINE macro. Free malloced line records if any at the end. |
| 216 | |
| 217 | 2013-07-02 Mark Wielaard <mjw@redhat.com> |
| 218 | |
Mark Wielaard | 5704c8c | 2013-07-02 11:22:35 +0200 | [diff] [blame] | 219 | * dwarf_getcfi_elf.c (getcfi_shdr): Check sh_type == SHT_PROGBITS. |
| 220 | |
Mark Wielaard | 7927707 | 2013-06-26 11:42:52 -0400 | [diff] [blame] | 221 | 2013-06-26 Mark Wielaard <mjw@redhat.com> |
| 222 | |
| 223 | * libdw_visit_scopes.c (__libdw_visit_scopes): Don't reject root |
| 224 | DIEs without children. Return an error whenever dwarf_child or |
| 225 | dwarf_siblingof return an error. Don't call recurse and increase |
| 226 | the depth for an imported unit. Walk the children of an imported |
| 227 | unit as if they are logical children of the parent root DIE. |
| 228 | |
Mark Wielaard | 9affad3 | 2013-05-03 11:28:49 +0200 | [diff] [blame] | 229 | 2013-05-03 Mark Wielaard <mjw@redhat.com> |
| 230 | |
| 231 | * dwarf_getsrclines.c (dwarf_getsrclines): Only set end_sequence |
| 232 | when nlinelist > 0. |
| 233 | |
Jan Kratochvil | 904aec2 | 2013-04-30 14:27:16 +0200 | [diff] [blame] | 234 | 2013-04-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 235 | |
| 236 | * libdw.map (ELFUTILS_0.156): New. |
| 237 | |
Mark Wielaard | cdaaf21 | 2013-04-25 16:50:11 -0400 | [diff] [blame] | 238 | 2013-04-24 Mark Wielaard <mjw@redhat.com> |
| 239 | |
| 240 | * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES. |
| 241 | |
Mark Wielaard | d4744a7 | 2013-04-10 15:52:57 +0200 | [diff] [blame] | 242 | 2013-04-10 Mark Wielaard <mjw@redhat.com> |
| 243 | |
| 244 | * dwarf_formref_die.c (dwarf_formref_die): Reference size is only |
| 245 | equal to address size when we have a DW_FORM_ref_addr for DWARF |
| 246 | version 2. |
| 247 | |
Mark Wielaard | 60ef9ab | 2013-03-25 17:07:21 +0100 | [diff] [blame] | 248 | 2013-03-25 Mark Wielaard <mjw@redhat.com> |
| 249 | |
| 250 | * dwarf_getsrclines.c (dwarf_getsrclines): Mark highest address as |
| 251 | end_sequence. |
| 252 | |
Mark Wielaard | f1b06b5 | 2013-03-12 12:02:51 +0100 | [diff] [blame] | 253 | 2013-03-12 Mark Wielaard <mjw@redhat.com> |
| 254 | |
| 255 | * dwarf_getsrcfiles.c (dwarf_getsrcfiles): Allow DW_TAG_partial_unit. |
| 256 | * dwarf_getsrclines.c (dwarf_getsrclines): Likewise. |
| 257 | |
Mark Wielaard | 443304e | 2013-02-15 22:45:22 +0100 | [diff] [blame] | 258 | 2013-02-15 Mark Wielaard <mjw@redhat.com> |
| 259 | |
| 260 | * dwarf_formstring.c (dwarf_formstring): Check dbg_ret->sectiondata, |
| 261 | not dbg->sectiondata. |
| 262 | |
Roland McGrath | 3999ce1 | 2013-01-07 14:53:37 -0800 | [diff] [blame] | 263 | 2013-01-07 Roland McGrath <roland@hack.frob.com> |
| 264 | |
| 265 | * memory-access.h |
| 266 | [ALLOW_UNALIGNED] (read_8ubyte_unaligned_noncvt): New macro. |
| 267 | [!ALLOW_UNALIGNED] (read_8ubyte_unaligned_noncvt): New inline function. |
| 268 | |
Mark Wielaard | 5925442 | 2012-12-18 14:14:22 +0100 | [diff] [blame] | 269 | 2012-12-18 Mark Wielaard <mjw@redhat.com> |
| 270 | |
| 271 | * dwarf_begin_elf.c (valid_p): Call Dwarf_Sig8_Hash_free if invalid. |
| 272 | (check_section): Likewise on error. |
| 273 | (scngrp_read): Likewise. |
| 274 | (dwarf_begin_elf): Likewise. |
| 275 | |
Petr Machata | b5c0b03 | 2012-10-09 02:11:29 +0200 | [diff] [blame] | 276 | 2012-10-09 Petr Machata <pmachata@redhat.com> |
| 277 | |
| 278 | * dwarf_getlocation.c (__libdw_intern_expression): Handle |
| 279 | DW_OP_GNU_parameter_ref, DW_OP_GNU_convert, DW_OP_GNU_reinterpret, |
| 280 | DW_OP_GNU_regval_type, DW_OP_GNU_entry_value, |
| 281 | DW_OP_GNU_deref_type, DW_OP_GNU_const_type. |
| 282 | |
Jan Kratochvil | 6c45f4a | 2012-10-08 23:04:54 +0200 | [diff] [blame] | 283 | 2012-10-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 284 | |
Jan Kratochvil | 1d67c0c | 2012-10-08 23:51:31 +0200 | [diff] [blame] | 285 | * cfi.c: New include system.h. |
| 286 | (execute_cfi) (enough_registers): Clear new memory after realloc. |
| 287 | |
| 288 | 2012-10-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 289 | |
Jan Kratochvil | 07f3507 | 2012-10-08 23:34:35 +0200 | [diff] [blame] | 290 | * fde.c (__libdw_find_fde): Change <fde != NULL> to likely. Return |
| 291 | DWARF_E_NO_MATCH if .eh_frame_hdr points to FDE which is too short for |
| 292 | searched PC. |
| 293 | |
| 294 | 2012-10-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 295 | |
Jan Kratochvil | 96a9fc6 | 2012-10-08 23:08:01 +0200 | [diff] [blame] | 296 | * dwarf_getlocation.c (__libdw_intern_expression) <cfap>: Make new |
| 297 | loclist element DW_OP_call_frame_cfa before decoding the opcodes. |
| 298 | Remove the later DW_OP_call_frame_cfa push to RESULT. |
| 299 | |
| 300 | 2012-10-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 301 | |
Jan Kratochvil | 6c45f4a | 2012-10-08 23:04:54 +0200 | [diff] [blame] | 302 | Code cleanup. |
| 303 | * fde.c (binary_search_fde): Remove always true <address >= start> |
| 304 | conditional. Move L initialization upwards. |
| 305 | |
Mark Wielaard | f5519fc | 2012-08-24 13:54:52 +0200 | [diff] [blame] | 306 | 2012-08-24 Mark Wielaard <mjw@redhat.com> |
| 307 | |
| 308 | * dwarf_begin_elf.c (check_section): Only probe for dwz multi files |
| 309 | when ENABLE_DWZ is defined. |
| 310 | * libdwP.h (__check_build_id): Only declare when ENABLE_DWZ is |
| 311 | defined. |
| 312 | |
Mark Wielaard | f31c441 | 2012-08-17 00:35:03 +0200 | [diff] [blame] | 313 | 2012-08-16 Mark Wielaard <mjw@redhat.com> |
| 314 | |
| 315 | * Makefile.am (EXTRA_DIST): Add known-dwarf.h. |
| 316 | * dwarf.h (DW_LANG_Go): Update comment. |
| 317 | (DW_LANG_Mips_Assembler): Likewise. |
| 318 | |
Mark Wielaard | 775375e | 2012-06-22 12:02:45 +0200 | [diff] [blame] | 319 | 2012-06-27 Mark Wielaard <mjw@redhat.com> |
| 320 | |
| 321 | * dwarf.h: Add DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt. |
| 322 | * dwarf_begin.c (dwarf_begin): Add INTDEF. |
| 323 | * dwarf_begin_elf.c (__check_build_id): New internal_function. |
| 324 | (try_debugaltlink): New function. |
| 325 | (open_debugaltlink): Likewise. |
| 326 | (check_section): Try open_debugaltlink for .gnu_debugaltlink. |
| 327 | * dwarf_end.c (dwarf_end): Free the alternative Dwarf descriptor if |
| 328 | necessary. |
| 329 | * dwarf_error.c (errmsgs): Add DWARF_E_NO_ALT_DEBUGLINK. |
| 330 | * dwarf_formref.c (__libdw_formref): Using DW_FORM_GNU_ref_alt |
| 331 | is an error here. |
| 332 | * dwarf_formref_die.c (dwarf_formref_die): Handle DW_FORM_GNU_ref_alt. |
| 333 | * dwarf_formstring.c (dwarf_formstring): Handle DW_FORM_GNU_strp_alt. |
| 334 | * dwarf_formudata.c (__libdw_formptr): Adjust __libdw_read_offset |
| 335 | calls. |
| 336 | * dwarf_getpubnames.c (get_offsets): Adjust __libdw_read_offset call. |
| 337 | * libdwP.h: Add DWARF_E_NO_ALT_DEBUGLINK. |
| 338 | (struct Dwarf): Add alt_dwarf and free_alt fields. |
| 339 | (__libdw_read_offset): Add dbg_ret argument, use to check with |
| 340 | __libdw_offset_in_section. |
| 341 | (__check_build_id): New function declaration. |
| 342 | (dwarf_begin): Define as INTDECL. |
| 343 | * libdw_form.c (__libdw_form_val_len): Handle DW_FORM_GNU_ref_alt |
| 344 | and DW_FORM_GNU_strp_alt. |
| 345 | |
Mark Wielaard | 515fba9 | 2012-07-20 00:09:56 +0200 | [diff] [blame] | 346 | 2012-07-19 Mark Wielaard <mjw@redhat.com> |
| 347 | |
| 348 | * dwarf.h: Add DW_OP_GNU_parameter_ref. |
| 349 | |
Mark Wielaard | df9ec3f | 2012-07-24 20:00:14 +0200 | [diff] [blame] | 350 | 2012-07-24 Mark Wielaard <mjw@redhat.com> |
| 351 | |
Mark Wielaard | c4010b8 | 2012-07-24 13:20:41 +0200 | [diff] [blame] | 352 | * dwarf.h: Correct spelling of DW_LANG_ObjC. |
| 353 | * dwarf_aggregate_size.c (array_size): Use correct spelling of |
| 354 | DW_LANG_ObjC. |
| 355 | |
| 356 | 2012-07-24 Mark Wielaard <mjw@redhat.com> |
| 357 | |
Mark Wielaard | df9ec3f | 2012-07-24 20:00:14 +0200 | [diff] [blame] | 358 | * dwarf.h: Add DW_ATE_UTF. |
| 359 | |
Mark Wielaard | ef5688e | 2012-06-27 10:15:27 +0200 | [diff] [blame] | 360 | 2012-06-27 Mark Wielaard <mjw@redhat.com> |
| 361 | |
| 362 | * dwarf.h: Add DW_MACRO_GNU .debug_macro type encodings. |
| 363 | |
Mark Wielaard | a0172d7 | 2012-06-25 17:18:53 +0200 | [diff] [blame] | 364 | 2012-06-26 Mark Wielaard <mjw@redhat.com> |
| 365 | |
| 366 | * libdwP.h: Add IDX_debug_macro. |
| 367 | * dwarf.h: Add DW_AT_GNU_macros. |
| 368 | * dwarf_begin_elf.c (dwarf_scnnames): Add .debug_macro. |
| 369 | * dwarf_formudata.c (dwarf_formudata): Recognize DW_AT_GNU_macros. |
| 370 | |
Mark Wielaard | 5479725 | 2012-04-27 13:00:50 +0200 | [diff] [blame] | 371 | 2012-04-27 Mark Wielaard <mjw@redhat.com> |
| 372 | |
| 373 | * libdw/dwarf_highpc.c (dwarf_highpc): Handle DW_AT_high_pc being |
| 374 | a constant offset from DW_AT_low_pc. |
| 375 | |
Tom Tromey | 581c3f6 | 2012-03-21 08:54:32 -0600 | [diff] [blame] | 376 | 2012-03-19 Tom Tromey <tromey@redhat.com> |
| 377 | |
| 378 | * libdw_findcu.c (findcu_cb): Move earlier. |
| 379 | (__libdw_intern_next_unit): Add new CU to search tree here... |
| 380 | (__libdw_findcu): ... not here. |
| 381 | |
Mark Wielaard | cb643d6 | 2012-01-31 19:22:03 +0100 | [diff] [blame] | 382 | 2012-01-31 Mark Wielaard <mjw@redhat.com> |
| 383 | |
| 384 | * dwarf_formudata.c (dwarf_formudata): Handle DW_FORM_sec_offset. |
| 385 | |
Mark Wielaard | 387998b | 2011-10-31 15:01:50 +0100 | [diff] [blame] | 386 | 2011-11-31 Mark Wielaard <mjw@redhat.com> |
| 387 | |
| 388 | * Makefile.am (known-dwarf.h): Run gawk on config/known-dwarf.awk. |
| 389 | |
Mark Wielaard | 0b72b65 | 2011-07-14 12:59:26 +0200 | [diff] [blame] | 390 | 2011-07-14 Mark Wielaard <mjw@redhat.com> |
| 391 | |
| 392 | * libdw.h (dwarf_offdie): Fix documentation to mention .debug_info. |
| 393 | |
Jakub Jelinek | 0312424 | 2011-05-17 17:00:14 +0200 | [diff] [blame] | 394 | 2011-05-16 Jakub Jelinek <jakub@redhat.com> |
| 395 | |
| 396 | * dwarf.h (DW_OP_GNU_const_type, DW_OP_GNU_regval_type, |
| 397 | DW_OP_GNU_deref_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret): |
| 398 | New. |
| 399 | |
Mark Wielaard | f4c39c7 | 2011-04-26 17:15:28 +0200 | [diff] [blame] | 400 | 2011-04-26 Mark Wielaard <mjw@redhat.com> |
| 401 | |
| 402 | * dwarf_child (dwarf_child): Sanity check end of section against |
| 403 | cu_data () of die->cu. |
| 404 | |
Mark Wielaard | e3368c5 | 2011-03-22 23:03:31 +0100 | [diff] [blame] | 405 | 2011-03-22 Mark Wielaard <mjw@redhat.com> |
| 406 | |
| 407 | * dwarf.h: Add DW_TAG_GNU_call_site, |
| 408 | DW_TAG_GNU_call_site_parameter, |
| 409 | DW_AT_GNU_call_site_value, |
| 410 | DW_AT_GNU_call_site_data_value, |
| 411 | DW_AT_GNU_call_site_target, |
| 412 | DW_AT_GNU_call_site_target_clobbered, |
| 413 | DW_AT_GNU_tail_call, |
| 414 | DW_AT_GNU_all_tail_call_sites, |
| 415 | DW_AT_GNU_all_call_sites, |
| 416 | DW_AT_GNU_all_source_call_sites, |
| 417 | and DW_OP_GNU_entry_value. |
| 418 | |
Petr Machata | 02c5619 | 2011-03-10 01:50:32 +0100 | [diff] [blame] | 419 | 2011-03-10 Petr Machata <pmachata@redhat.com> |
| 420 | |
| 421 | * libdw/dwarf_tag.c (__libdw_findabbrev): Reject requests for |
| 422 | abbreviation with code 0. |
| 423 | |
Petr Machata | 3587087 | 2011-03-09 10:01:29 -0800 | [diff] [blame] | 424 | 2011-03-09 Petr Machata <pmachata@redhat.com> |
| 425 | |
| 426 | * libdw/dwarf_child.c (dwarf_child): Check for section overrun. |
| 427 | |
Roland McGrath | 725aad5 | 2011-02-23 19:52:46 -0800 | [diff] [blame] | 428 | 2011-02-23 Roland McGrath <roland@redhat.com> |
| 429 | |
| 430 | * libdwP.h (struct Dwarf) [USE_ZLIB]: New member sectiondata_gzip_mask. |
| 431 | Declare __libdw_free_zdata. |
| 432 | * dwarf_end.c [USE_ZLIB] (__libdw_free_zdata): New function. |
| 433 | (dwarf_end): Call it. |
| 434 | |
| 435 | * dwarf_begin_elf.c (valid_p): Likewise. |
| 436 | (check_section, scngrp_read): Likewise. |
| 437 | (check_section) [USE_ZLIB]: Grok .z* flavors of sections. |
| 438 | |
Roland McGrath | 8c0a382 | 2010-10-13 11:21:17 -0700 | [diff] [blame] | 439 | 2010-10-13 Roland McGrath <roland@redhat.com> |
| 440 | |
| 441 | * dwarf.h: Add DW_LANG_Go. |
| 442 | |
Roland McGrath | 5f95e2b | 2010-10-05 00:56:30 -0700 | [diff] [blame] | 443 | 2010-10-05 Roland McGrath <roland@redhat.com> |
| 444 | |
| 445 | * dwarf_getaranges.c: Use malloc rather than alloca, |
| 446 | since the total number of elements can be quite huge. |
| 447 | |
Roland McGrath | 932585d | 2010-05-08 04:01:14 -0700 | [diff] [blame] | 448 | 2010-07-26 Roland McGrath <roland@redhat.com> |
| 449 | |
| 450 | * dwarf_getlocation_implicit_pointer.c: New file. |
| 451 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 452 | * libdw.map (ELFUTILS_0.149): New set. |
| 453 | Add dwarf_getlocation_implicit_pointer. |
| 454 | * libdw.h: Declare it. |
| 455 | |
| 456 | * dwarf_offdie.c (do_offdie): Renamed to __libdw_offdie, made global. |
| 457 | (dwarf_offdie, dwarf_offdie_types): Update callers. |
| 458 | * libdwP.h: Declare it. |
| 459 | |
| 460 | * dwarf.h: Add DW_OP_GNU_implicit_pointer. |
| 461 | * dwarf_getlocation.c (__libdw_intern_expression): Handle it. |
| 462 | |
Roland McGrath | de44f13 | 2010-08-24 15:38:42 -0700 | [diff] [blame] | 463 | 2010-08-24 Roland McGrath <roland@redhat.com> |
| 464 | |
| 465 | * libdw.map (ELFUTILS_0.149): New set. Add dwfl_dwarf_line. |
| 466 | |
Roland McGrath | 00aca7f | 2010-07-27 04:40:23 -0700 | [diff] [blame] | 467 | 2010-07-27 Roland McGrath <roland@redhat.com> |
| 468 | |
| 469 | * dwarf_formref_die.c: Fix sig8 hash insertion. |
| 470 | |
Roland McGrath | 9616b85 | 2010-06-23 03:17:28 -0700 | [diff] [blame] | 471 | 2010-06-23 Roland McGrath <roland@redhat.com> |
| 472 | |
| 473 | * cfi.c (dwarf_cfi_validate_fde): Function removed. |
| 474 | * libdw.h: Remove it. |
| 475 | * libdw.map: Likewise. |
| 476 | |
Roland McGrath | 499b8ff | 2010-06-22 13:13:53 -0700 | [diff] [blame] | 477 | 2010-06-22 Roland McGrath <roland@redhat.com> |
| 478 | |
Roland McGrath | c16966a | 2010-06-22 17:08:43 -0700 | [diff] [blame] | 479 | * dwarf_getlocation.c (check_constant_offset): data[48] are constant. |
| 480 | |
Roland McGrath | 499b8ff | 2010-06-22 13:13:53 -0700 | [diff] [blame] | 481 | * dwarf_getsrclines.c: Fix signed comparison warning in extended |
| 482 | opcode parsing. |
| 483 | |
Roland McGrath | 0c5638c | 2010-06-21 23:00:35 -0700 | [diff] [blame] | 484 | 2010-06-21 Roland McGrath <roland@redhat.com> |
| 485 | |
Roland McGrath | 474cb48 | 2010-06-22 00:10:54 -0700 | [diff] [blame] | 486 | * dwarf.h: Add DW_TAG_GNU_* constants. |
| 487 | |
Roland McGrath | 0c5638c | 2010-06-21 23:00:35 -0700 | [diff] [blame] | 488 | * memory-access.h (get_sleb128_rest_return): Fix sign extension for |
| 489 | 10-byte case. |
| 490 | |
Roland McGrath | 5cc030d | 2010-06-20 17:25:35 -0700 | [diff] [blame] | 491 | 2010-06-20 Roland McGrath <roland@redhat.com> |
| 492 | |
Roland McGrath | 2b1f095 | 2010-06-20 17:55:50 -0700 | [diff] [blame] | 493 | * libdw_findcu.c (__libdw_findcu): Take new flag argument, |
| 494 | to search TUs instead of CUs. |
| 495 | * libdwP.h: Update decl. |
| 496 | (struct Dwarf): New member tu_tree. |
| 497 | * dwarf_end.c (dwarf_end): Clean up tu_tree. |
| 498 | * dwarf_offdie.c (do_offdie): New function, broken out of ... |
| 499 | (dwarf_offdie): ... here. |
| 500 | (dwarf_offdie_types): New function. |
| 501 | * libdw.h: Declare it. |
| 502 | * libdw.map (ELFUTILS_0.148): Add it. |
| 503 | |
Roland McGrath | 5cc030d | 2010-06-20 17:25:35 -0700 | [diff] [blame] | 504 | * libdwP.h (CUDIE): Use cu_data. |
| 505 | * dwarf_formblock.c: Likewise. |
| 506 | * dwarf_formref_die.c: Likewise. |
| 507 | * dwarf_diecu.c: Use CUDIE macro. |
| 508 | * dwarf_formaddr.c: Use cu_sec_idx. |
| 509 | |
Roland McGrath | c70ebc0 | 2010-06-16 02:21:26 -0700 | [diff] [blame] | 510 | 2010-06-16 Roland McGrath <roland@redhat.com> |
| 511 | |
Roland McGrath | 3e0f7d1 | 2010-06-15 23:10:35 -0700 | [diff] [blame] | 512 | * dwarf_formref_die.c: Use dwarf_offdie only for DW_FORM_ref_addr, so |
| 513 | we don't repeat a CU lookup we've already done. Handle |
| 514 | DW_FORM_ref_sig8 using sig8_hash table and __libdw_intern_next_unit. |
| 515 | |
| 516 | * libdw_findcu.c (__libdw_intern_next_unit): New function, |
| 517 | broken out of ... |
| 518 | (__libdw_findcu): ... here. Call it. |
| 519 | * libdwP.h: Declare it. |
| 520 | (struct Dwarf): New member next_tu_offset. |
| 521 | |
| 522 | * dwarf_sig8_hash.c: New file. |
| 523 | * dwarf_sig8_hash.h: New file. |
| 524 | * Makefile.am (libdw_a_SOURCES, noinst_HEADERS): Add them. |
| 525 | * dwarf_abbrev_hash.c: Include dwarf_sig8_hash.h before |
| 526 | defining NO_UNDEF. |
| 527 | * libdwP.h (struct Dwarf): New member sig8_hash. |
| 528 | * dwarf_begin_elf.c: Call Dwarf_Sig8_Hash_init on it. |
| 529 | * dwarf_end.c: Call Dwarf_Sig8_Hash_free on it. |
| 530 | |
| 531 | * dwarf_nextcu.c (dwarf_next_unit): New function, broken out of ... |
| 532 | (dwarf_nextcu): ... here. Call it. |
| 533 | * libdw.h: Declare it. |
| 534 | * libdwP.h: Add INTDECL. |
| 535 | * libdw_findcu.c (__libdw_findcu): Use it instead of dwarf_nextcu. |
| 536 | * libdw.map (ELFUTILS_0.148): New set, add dwarf_next_unit. |
| 537 | |
| 538 | * libdwP.h (cu_sec_idx, cu_data): New functions. |
| 539 | Use .debug_types when CU is a TU. |
| 540 | * dwarf_cuoffset.c: Use that instead of assuming IDX_debug_info. |
| 541 | * dwarf_siblingof.c: Likewise. |
| 542 | * dwarf_formstring.c: Likewise. |
| 543 | * dwarf_formudata.c (__libdw_formptr, dwarf_formudata): Likewise. |
| 544 | * dwarf_getlocation.c (dwarf_getlocation): Likewise. |
| 545 | (dwarf_getlocation_addr): Likewise. |
| 546 | |
| 547 | * libdwP.h (struct Dwarf_CU): Add new members type_offset, type_sig8. |
| 548 | (DIE_OFFSET_FROM_CU_OFFSET): Take flag argument; if true, compute |
| 549 | .debug_types header size instead of .debug_info header size. |
| 550 | (CUDIE): Use it. |
| 551 | * dwarf_diecu.c: Update caller. |
| 552 | * dwarf_getaranges.c: Likewise. |
| 553 | * dwarf_nextcu.c: Likewise. |
| 554 | * libdw_findcu.c (__libdw_findcu): Initialize new members. |
| 555 | |
Roland McGrath | 3e4b5bb | 2010-06-16 03:40:56 -0700 | [diff] [blame] | 556 | * fde.c (fde_by_offset): Renamed to ... |
| 557 | (__libdw_fde_by_offset): ... this, made global and internal_function. |
| 558 | Don't take ADDRESS argument. |
| 559 | (__libdw_find_fde): Update caller. Do address sanity check here. |
| 560 | * cfi.h: Declare __libdw_fde_by_offset. |
| 561 | * cfi.c (dwarf_cfi_validate_fde): New function. |
| 562 | * libdw.h: Declare it. |
| 563 | * libdw.map (ELFUTILS_0.148): Add it. |
| 564 | |
Roland McGrath | 5f4b508 | 2010-06-16 03:11:57 -0700 | [diff] [blame] | 565 | * cie.c (intern_new_cie): Canonicalize DW_EH_PE_absptr FDE encoding to |
| 566 | either DW_EH_PE_udata8 or DW_EH_PE_udata4. |
| 567 | |
Roland McGrath | 7934ded | 2010-06-16 03:04:09 -0700 | [diff] [blame] | 568 | * encoded-value.h (read_encoded_value): Handle DW_EH_PE_indirect. |
| 569 | Don't assume DW_EH_PE_aligned refers to native address size. |
| 570 | |
Roland McGrath | c70ebc0 | 2010-06-16 02:21:26 -0700 | [diff] [blame] | 571 | * cfi.c (execute_cfi): Barf on CIE initial instructions changing the |
| 572 | address. |
| 573 | |
Roland McGrath | c70cf4e | 2010-06-18 17:01:05 -0700 | [diff] [blame] | 574 | 2010-06-17 Roland McGrath <roland@redhat.com> |
| 575 | |
| 576 | * libdwP.h (struct Dwarf_Line_s): Add members isa, discriminator, and |
| 577 | op_index. |
| 578 | * dwarf_getsrclines.c (dwarf_getsrclines): Move NEW_FILE macro guts |
| 579 | into an inner inline function. Set new fields. Check all fields for |
| 580 | overflow when setting. |
| 581 | * dwarf_lineisa.c: New file. |
| 582 | * dwarf_linediscriminator.c: New file. |
| 583 | * dwarf_lineop_index.c: New file. |
| 584 | * Makefile.am (libdw_a_SOURCES): Add them. |
| 585 | * libdw.map (ELFUTILS_0.148): Add them. |
| 586 | * libdw.h: Declare them. |
| 587 | |
Roland McGrath | 3f63307 | 2010-06-15 22:17:04 -0700 | [diff] [blame] | 588 | 2010-06-16 Roland McGrath <roland@redhat.com> |
| 589 | |
Roland McGrath | 4a87dfa | 2010-06-16 16:35:10 -0700 | [diff] [blame] | 590 | * dwarf_next_cfi.c: Fix version 4 return_address_register decoding. |
| 591 | |
Roland McGrath | b75f444 | 2010-06-15 22:24:19 -0700 | [diff] [blame] | 592 | * fde.c (fde_by_offset): Renamed to ... |
| 593 | (__libdw_fde_by_offset): ... this, made global and internal_function. |
| 594 | Don't take ADDRESS argument. |
| 595 | (__libdw_find_fde): Update caller. Do address sanity check here. |
| 596 | * cfi.h: Declare __libdw_fde_by_offset. |
Roland McGrath | 9bcd265 | 2010-06-15 22:17:20 -0700 | [diff] [blame] | 597 | * cfi.c (dwarf_cfi_validate_fde): New function. |
| 598 | * libdw.h: Declare it. |
Roland McGrath | 3f63307 | 2010-06-15 22:17:04 -0700 | [diff] [blame] | 599 | * libdw.map (ELFUTILS_0.148): Add it. |
| 600 | |
Roland McGrath | 0b3363e | 2010-06-01 15:42:14 -0700 | [diff] [blame] | 601 | * cie.c (intern_new_cie): Canonicalize DW_EH_PE_absptr FDE encoding to |
| 602 | either DW_EH_PE_udata8 or DW_EH_PE_udata4. |
Roland McGrath | 827d4d1 | 2010-06-01 20:17:36 -0700 | [diff] [blame] | 603 | |
| 604 | * encoded-value.h (read_encoded_value): Handle DW_EH_PE_indirect. |
| 605 | Don't assume DW_EH_PE_aligned refers to native address size. |
Roland McGrath | 1a030b3 | 2010-06-01 20:11:40 -0700 | [diff] [blame] | 606 | |
| 607 | * cfi.c (execute_cfi): Barf on CIE initial instructions changing the |
Roland McGrath | 675229b | 2010-06-01 20:10:19 -0700 | [diff] [blame] | 608 | address. |
| 609 | |
| 610 | 2010-06-15 Roland McGrath <roland@redhat.com> |
Roland McGrath | 5212396 | 2010-06-01 19:05:08 -0700 | [diff] [blame] | 611 | |
| 612 | * dwarf_formref.c (__libdw_formref): Diagnose DW_FORM_ref_sig8 like |
Roland McGrath | 7fac1ce | 2010-06-01 15:56:58 -0700 | [diff] [blame] | 613 | DW_FORM_ref_addr. |
| 614 | * dwarf_formref_die.c (dwarf_formref_die): Diagnose it the same way |
Roland McGrath | 0b3363e | 2010-06-01 15:42:14 -0700 | [diff] [blame] | 615 | here, since we don't support it yet. |
| 616 | |
Mark Wielaard | 3f507bd | 2010-05-31 15:06:31 +0200 | [diff] [blame] | 617 | * dwarf_next_cfi.c: Handle version 4 format. |
| 618 | |
Mark Wielaard | 08e71db | 2010-05-31 15:39:15 +0200 | [diff] [blame] | 619 | * dwarf_getsrclines.c: Handle version 4 format. |
| 620 | |
| 621 | 2010-06-01 Roland McGrath <roland@redhat.com> |
| 622 | |
| 623 | * libdwP.h: Remove unused IDX_debug_*names, add IDX_debug_types. |
Mark Wielaard | 3f507bd | 2010-05-31 15:06:31 +0200 | [diff] [blame] | 624 | * dwarf_begin_elf.c (dwarf_scnnames): Likewise. |
| 625 | |
Eduardo Santiago | d2240bc | 2010-05-28 14:26:52 -0700 | [diff] [blame] | 626 | * libdwP.h (CIE_VERSION): Remove unused macro. |
Ulrich Drepper | 6fb3451 | 2010-05-28 20:28:04 -0700 | [diff] [blame] | 627 | |
Ulrich Drepper | 49fe714 | 2010-05-28 20:32:37 -0700 | [diff] [blame] | 628 | * dwarf_getsrclines.c: Fix version field test. |
| 629 | * libdwP.h (DWARF_VERSION): Remove useless macro. |
Ulrich Drepper | 6fb3451 | 2010-05-28 20:28:04 -0700 | [diff] [blame] | 630 | |
Roland McGrath | cfa5da2 | 2010-05-27 13:49:25 -0700 | [diff] [blame] | 631 | * dwarf_formudata.c (__libdw_formptr): Fix DW_FORM_sec_offset handling. |
| 632 | |
| 633 | * dwarf_formblock.c (dwarf_formblock): Handle DW_FORM_exprloc. |
| 634 | |
| 635 | * libdw_findcu.c (__libdw_findcu): Accept version 4. |
Roland McGrath | 688f7fc | 2010-05-08 03:22:59 -0700 | [diff] [blame] | 636 | |
| 637 | 2010-05-31 Mark Wielaard <mjw@redhat.com> |
| 638 | |
| 639 | * cfi.h (dwarf_cfi_cie_p): Move definition from here, to .. |
| 640 | * libdw.h (dwarf_cfi_cie_p): ... here. |
| 641 | |
| 642 | 2010-05-31 Mark Wielaard <mjw@redhat.com> |
| 643 | |
| 644 | * dwarf.h: Fix DW_LANG_Python constant. |
Roland McGrath | 0ab9783 | 2010-04-26 11:50:27 -0700 | [diff] [blame] | 645 | |
| 646 | 2010-05-28 Eduardo Santiago <santiago@redhat.com> |
Roland McGrath | 3b10ac0 | 2010-04-26 18:45:36 -0700 | [diff] [blame] | 647 | |
| 648 | * dwarf_getlocation.c (dwarf_getlocation): Do attr_ok check first |
| 649 | thing. |
| 650 | |
| 651 | 2010-05-27 Roland McGrath <roland@redhat.com> |
Roland McGrath | 0ab9783 | 2010-04-26 11:50:27 -0700 | [diff] [blame] | 652 | |
| 653 | * dwarf.h: Add DW_AT_enum_class, DW_AT_linkage_name, |
| 654 | DW_TAG_template_alias, DW_LANG_Python, DW_LNE_set_discriminator. |
| 655 | |
| 656 | 2010-05-08 Roland McGrath <roland@redhat.com> |
| 657 | |
| 658 | * dwarf_getlocation.c (__libdw_intern_expression): Take new argument |
Roland McGrath | 3f9d955 | 2010-04-22 20:51:07 -0700 | [diff] [blame] | 659 | REF_SIZE. Use that to handle DW_OP_call_ref correctly. |
| 660 | (getlocation): Update caller. |
| 661 | * dwarf_frame_cfa.c (dwarf_frame_cfa): Likewise. |
| 662 | * dwarf_frame_register.c (dwarf_frame_register): Likewise. |
| 663 | * libdwP.h: Update decl. |
| 664 | |
| 665 | 2010-04-26 Roland McGrath <roland@redhat.com> |
Roland McGrath | 8068e06 | 2010-03-10 23:49:13 -0800 | [diff] [blame] | 666 | |
| 667 | * cfi.h (struct Dwarf_Frame_s): Add cfa_invalid alternative in cfa_rule. |
| 668 | * cfi.c (execute_cfi): Set that instead of doing cfi_assert for |
| 669 | DW_CFA_def_cfa_{offset*,register} when a non-offset rule is in force. |
Roland McGrath | 22359e2 | 2010-02-15 15:57:03 -0800 | [diff] [blame] | 670 | * dwarf_frame_cfa.c (dwarf_frame_cfa): Handle cfa_invalid. |
| 671 | |
| 672 | * dwarf_getlocation.c (__libdw_intern_expression): Take new arg CFAP. |
| 673 | Prepend DW_OP_call_frame_cfa if true. |
Mark Wielaard | ee29a31 | 2010-02-02 20:44:53 +0100 | [diff] [blame] | 674 | (getlocation): Update caller. |
| 675 | * dwarf_frame_cfa.c (dwarf_frame_cfa): Likewise. |
| 676 | * dwarf_frame_register.c (dwarf_frame_register): Likewise. |
| 677 | * libdwP.h: Update decl. |
Roland McGrath | f95760a | 2010-01-07 20:24:34 -0800 | [diff] [blame] | 678 | |
| 679 | 2010-04-22 Roland McGrath <roland@redhat.com> |
| 680 | |
| 681 | * cfi.c (execute_cfi): Never return without cleanup. |
Roland McGrath | 019d9fb | 2010-01-05 13:36:07 -0800 | [diff] [blame] | 682 | Free FS on failure. |
| 683 | (cie_cache_initial_state): Adjust caller to expect that free. |
Roland McGrath | ebc5c88 | 2010-01-05 22:53:31 -0800 | [diff] [blame] | 684 | (__libdw_frame_at_address): Likewise. |
| 685 | |
| 686 | 2010-03-10 Roland McGrath <roland@redhat.com> |
| 687 | |
| 688 | * libdw.map (ELFUTILS_0.146): New set. Add dwfl_core_file_report. |
| 689 | |
| 690 | 2010-02-15 Roland McGrath <roland@redhat.com> |
| 691 | |
| 692 | * Makefile.am: Use config/eu.am for common stuff. |
Roland McGrath | 0cb1983 | 2010-01-05 13:38:15 -0800 | [diff] [blame] | 693 | |
| 694 | 2010-02-02 Mark Wielaard <mjw@redhat.com> |
Roland McGrath | 019d9fb | 2010-01-05 13:36:07 -0800 | [diff] [blame] | 695 | |
| 696 | * fde.c (intern_fde): Fix length check for sized_augmentation_data. |
Roland McGrath | 888381b | 2009-11-21 17:03:34 -0800 | [diff] [blame] | 697 | |
| 698 | 2010-01-07 Roland McGrath <roland@redhat.com> |
| 699 | |
| 700 | * dwarf_getcfi_elf.c (getcfi_phdr): Use elf_getphdrnum. |
| 701 | |
Roland McGrath | 9ca7bc4 | 2009-10-15 12:26:49 -0700 | [diff] [blame] | 702 | 2010-01-05 Roland McGrath <roland@redhat.com> |
| 703 | |
| 704 | * dwarf_aggregate_size.c: New file. |
| 705 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 706 | * libdw.h: Declare it. |
Roland McGrath | 7e0aecd | 2009-09-17 15:02:34 -0700 | [diff] [blame] | 707 | * libdwP.h: Add INTDECL. |
| 708 | * libdw.map (ELFUTILS_0.144): New set. Add dwarf_aggregate_size. |
| 709 | |
| 710 | * dwarf_srclang.c: Add INTDEF. |
| 711 | * libdwP.h: Add INTDECL. |
| 712 | |
Roland McGrath | f037104 | 2009-09-10 12:39:09 -0700 | [diff] [blame] | 713 | * dwarf.h: Add some more DW_AT_GNU_* types from gcc. |
| 714 | |
| 715 | * dwarf.h: Add DW_AT_GNU_vector, DW_AT_GNU_template_name. |
| 716 | |
| 717 | 2009-11-21 Roland McGrath <roland@redhat.com> |
| 718 | |
| 719 | * dwarf_getlocation.c (check_constant_offset): Return 1 for all |
| 720 | non-constant forms. |
Mark Wielaard | 418ae4c | 2009-09-09 20:59:26 +0200 | [diff] [blame] | 721 | |
| 722 | 2009-10-15 Roland McGrath <roland@redhat.com> |
| 723 | |
| 724 | * libdw_form.c (__libdw_form_val_len): Grok DW_FORM_sec_offset, |
Josh Stone | cc93cc4 | 2009-08-21 18:04:44 -0700 | [diff] [blame] | 725 | DW_FORM_exprloc, DW_FORM_flag_present, and DW_FORM_ref_sig8. |
| 726 | |
| 727 | 2009-09-17 Roland McGrath <roland@redhat.com> |
| 728 | |
Roland McGrath | 08277ba | 2009-08-10 15:08:08 -0700 | [diff] [blame] | 729 | * dwarf_getlocation.c (dwarf_getlocation_implicit_value): Make OP |
| 730 | argument a pointer to const. |
| 731 | * libdw.h: Update decl. |
| 732 | |
Roland McGrath | ebfb648 | 2009-08-09 15:40:52 -0700 | [diff] [blame] | 733 | 2009-09-10 Roland McGrath <roland@redhat.com> |
| 734 | |
| 735 | * dwarf_getlocation.c (store_implicit_value): New function. |
| 736 | (__libdw_intern_expression): Use it, handle DW_OP_implicit_value. |
| 737 | (dwarf_getlocation_implicit_value): New function. |
| 738 | * libdw.h: Declare it. |
| 739 | * libdw.map (ELFUTILS_0.143): Add it. |
| 740 | |
| 741 | 2009-09-09 Mark Wielaard <mjw@redhat.com> |
| 742 | |
| 743 | * dwarf_getcfi.c (dwarf_getcfi): Clear cfi->ebl. |
| 744 | |
| 745 | 2009-08-21 Josh Stone <jistone@redhat.com> |
| 746 | |
Roland McGrath | de69d52 | 2009-08-07 18:26:19 -0700 | [diff] [blame] | 747 | * dwarf_hasattr_integrate.c: Integrate DW_AT_specification too. |
| 748 | |
| 749 | 2009-08-10 Roland McGrath <roland@redhat.com> |
| 750 | |
| 751 | * dwarf_getscopevar.c: Use dwarf_diename. |
| 752 | |
| 753 | 2009-08-09 Roland McGrath <roland@redhat.com> |
| 754 | |
| 755 | * libdw.map (ELFUTILS_0.143): New version set, |
| 756 | inherits from ELFUTILS_0.142. |
Roland McGrath | af80014 | 2009-07-22 13:55:50 -0700 | [diff] [blame] | 757 | * dwarf_arrayorder.c: Use OLD_VERSION and NEW_VERSION to define an |
| 758 | alias in the ELFUTILS_0.122 version set and the default in the new set. |
| 759 | * dwarf_srclang.c: Likewise. |
| 760 | * dwarf_decl_file.c: Likewise. |
| 761 | * dwarf_decl_line.c: Likewise. |
| 762 | * dwarf_decl_column.c: Likewise. |
| 763 | * dwarf_bytesize.c: Likewise. |
| 764 | * dwarf_bitsize.c: Likewise. |
| 765 | * dwarf_bitoffset.c: Likewise. |
| 766 | |
| 767 | 2009-08-07 Roland McGrath <roland@redhat.com> |
| 768 | |
| 769 | * dwarf_arrayorder.c: Use dwarf_attr_integrate. |
| 770 | * dwarf_srclang.c: Likewise. |
| 771 | * dwarf_decl_file.c: Likewise. |
| 772 | * dwarf_decl_line.c (__libdw_attr_intval): Likewise. |
Roland McGrath | e23e9e7 | 2009-07-21 18:14:52 -0700 | [diff] [blame] | 773 | * dwarf_bytesize.c: Likewise. |
| 774 | * dwarf_bitsize.c: Likewise. |
| 775 | * dwarf_bitoffset.c: Likewise. |
| 776 | |
| 777 | 2009-07-22 Roland McGrath <roland@redhat.com> |
| 778 | |
| 779 | * dwarf_frame_cfa.c: Change calling convention. |
| 780 | * libdw.h: Update decl. |
Roland McGrath | 96349ff | 2009-07-20 11:51:41 -0700 | [diff] [blame] | 781 | |
| 782 | * dwarf_frame_register.c: Change calling/return-value convention for |
| 783 | value-only results and undefined/same_value. |
| 784 | * libdw.h: Update decl. |
| 785 | |
Roland McGrath | a6abdfd | 2009-07-16 17:40:19 -0700 | [diff] [blame] | 786 | * dwarf_getlocation.c (__libdw_intern_expression): Take new bool |
| 787 | argument, append DW_OP_stack_value if set. Don't take NOPS argument, |
Roland McGrath | e160cc9 | 2009-07-16 17:48:27 -0700 | [diff] [blame] | 788 | return that value instead. |
| 789 | (getlocation): Update caller. |
| 790 | * dwarf_frame_cfa.c: Likewise. |
| 791 | * libdwP.h: Update decl. |
| 792 | |
Roland McGrath | a6abdfd | 2009-07-16 17:40:19 -0700 | [diff] [blame] | 793 | 2009-07-21 Roland McGrath <roland@redhat.com> |
| 794 | |
| 795 | * dwarf_getsrc_file.c: Ignore a CU that just has no DW_AT_stmt_list. |
| 796 | Fix loop iteration after skipping a bogus or useless CU. |
| 797 | |
| 798 | * dwarf_entry_breakpoints.c: Handle 0 dwarf_errno () as harmless |
| 799 | absence, not DWARF_E_NO_DEBUG_LINE. |
Roland McGrath | 7dd9464 | 2009-07-15 11:14:23 -0700 | [diff] [blame] | 800 | |
| 801 | 2009-07-20 Roland McGrath <roland@redhat.com> |
| 802 | |
| 803 | * dwarf_getlocation.c (__libdw_intern_expression): |
| 804 | Handle DW_OP_stack_value. |
Roland McGrath | 8089343 | 2009-07-13 12:08:55 -0700 | [diff] [blame] | 805 | |
| 806 | 2009-07-16 Roland McGrath <roland@redhat.com> |
| 807 | |
| 808 | * dwarf_formudata.c (__libdw_formptr): Handle DW_FORM_sec_offset, |
Roland McGrath | cfdd86e | 2009-07-08 13:15:07 -0700 | [diff] [blame] | 809 | reject others when CU's version > 3. |
| 810 | |
Roland McGrath | 3c84db3 | 2009-06-24 17:41:40 -0700 | [diff] [blame] | 811 | * dwarf_formflag.c: Handle DW_FORM_flag_present. |
| 812 | |
| 813 | * dwarf.h: Add DW_OP_{implicit,stack}_value from DWARF 4 draft. |
| 814 | Also DW_TAG_type_unit and DW_TAG_rvalue_reference_type. |
| 815 | Also DW_AT_signature, DW_AT_main_subprogram, DW_AT_data_bit_offset, |
| 816 | and DW_AT_const_expr. |
| 817 | Also DW_FORM_sec_offset, DW_FORM_exprloc, DW_FORM_flag_present, |
| 818 | and DW_FORM_ref_sig8. |
| 819 | |
| 820 | 2009-07-15 Roland McGrath <roland@redhat.com> |
| 821 | |
| 822 | * dwarf_getlocation.c: Grok DW_OP_form_tls_address, |
| 823 | DW_OP_GNU_push_tls_address, and DW_OP_bit_piece. |
| 824 | |
| 825 | 2009-07-13 Roland McGrath <roland@redhat.com> |
| 826 | |
| 827 | * dwarf_getlocation.c: Grok DW_OP_call_frame_cfa. |
| 828 | |
| 829 | 2009-07-08 Roland McGrath <roland@redhat.com> |
| 830 | |
| 831 | * libdw.map (ELFUTILS_0.142): Add dwfl_module_dwarf_cfi, |
| 832 | dwfl_module_eh_cfi. |
| 833 | |
| 834 | * libdwP.h (struct Dwarf): Add member `cfi'. |
| 835 | * dwarf_end.c (dwarf_end): Call __libdw_destroy_frame_cache on it. |
| 836 | * dwarf_getcfi.c: New file. |
| 837 | * dwarf_getcfi_elf.c: New file. |
| 838 | * dwarf_cfi_end.c: New file. |
| 839 | * dwarf_cfi_addrframe.c: New file. |
| 840 | * dwarf_frame_cfa.c: New file. |
| 841 | * dwarf_frame_register.c: New file. |
| 842 | * dwarf_frame_return_address_register.c: New file. |
| 843 | * Makefile.am (libdw_a_SOURCES): Add them. |
| 844 | * unwind.h: Declare those functions. |
| 845 | * libdw.map (ELFUTILS_0.142): Export them. |
| 846 | |
| 847 | * dwarf_getlocation.c (__libdw_intern_expression): New function, |
| 848 | broken out of ... |
| 849 | (getlocation): ... here, call it. |
| 850 | * libdwP.h: Declare it. |
| 851 | |
| 852 | * cie.c: New file. |
| 853 | * fde.c: New file. |
| 854 | * frame-cache.c: New file. |
| 855 | * cfi.c: New file. |
| 856 | * cfi.h: New file. |
| 857 | * encoded-value.h: New file. |
| 858 | * Makefile.am (libdw_a_SOURCES, noinst_HEADERS): Add them. |
| 859 | * libdwP.h: Add DWARF_E_INVALID_CFI to errors enum. |
| 860 | * dwarf_error.c (errmsgs): Add element for it. |
| 861 | |
| 862 | * dwarf_next_cfi.c: New file. |
| 863 | * Makefile.am (libdw_a_SOURCES): Add it. |
Roland McGrath | 6e1f465 | 2009-07-08 14:48:34 -0700 | [diff] [blame] | 864 | * libdw.h (Dwarf_CIE, Dwarf_FDE, Dwarf_CIE_Entry): New types. |
| 865 | Declare dwarf_next_cfi. |
Roland McGrath | cfdd86e | 2009-07-08 13:15:07 -0700 | [diff] [blame] | 866 | * libdw.map (ELFUTILS_0.142): New set, inherits from ELFUTILS_0.136. |
| 867 | Add dwarf_next_cfi. |
| 868 | |
| 869 | * memory-access.h [! ALLOW_UNALIGNED] |
Roland McGrath | 05c4e04 | 2009-06-18 13:56:02 -0700 | [diff] [blame] | 870 | (read_2ubyte_unaligned): Renamed to ... |
| 871 | (read_2ubyte_unaligned_1): ... this. Take bool rather than Dwarf *. |
| 872 | (read_2ubyte_unaligned): Define as macro passing dbg->other_byte_order. |
| 873 | (read_2sbyte_unaligned): Likewise. |
| 874 | (read_4ubyte_unaligned): Likewise. |
| 875 | (read_4sbyte_unaligned): Likewise. |
| 876 | (read_8ubyte_unaligned): Likewise. |
| 877 | (read_8sbyte_unaligned): Likewise. |
| 878 | |
Ulrich Drepper | 99d2372 | 2009-06-14 20:19:45 -0700 | [diff] [blame] | 879 | * libdwP.h (IDX_eh_frame): Remove it. |
| 880 | * dwarf_begin_elf.c (dwarf_scnnames): Remove its element. |
| 881 | |
| 882 | 2009-07-08 Roland McGrath <roland@redhat.com> |
| 883 | |
| 884 | * libdwP.h (struct Dwarf_Line_s): Reorder members to pack better. |
| 885 | |
| 886 | * dwarf_getlocation.c (check_constant_offset): New function. |
| 887 | (dwarf_getlocation, dwarf_getlocation_addr): Call it to |
| 888 | handle DW_AT_data_member_location of data[48] as constant offset. |
| 889 | |
| 890 | 2009-06-18 Roland McGrath <roland@redhat.com> |
| 891 | |
| 892 | * libdwP.h (__libdw_read_address_inc): Constify. |
| 893 | (__libdw_read_offset_inc): Likewise. |
| 894 | * dwarf_getaranges.c: Likewise. |
| 895 | * dwarf_getlocation.c: Likewise. |
| 896 | * dwarf_getsrclines.c: Likewise. |
| 897 | * dwarf_nextcu.c: Likewise. |
| 898 | |
| 899 | 2009-05-05 Petr Machata <pmachata@redhat.com> |
| 900 | |
| 901 | * libdwP.h (__libdw_formptr): Declare new function. |
| 902 | * dwarf_formudata.c: Implement it here. |
| 903 | * dwarf_getlocation.c (dwarf_getlocation_addr): |
| 904 | Call it instead of hand-rolled offset handling code. |
| 905 | * dwarf_getsrclines.c (dwarf_getsrclines): Likewise. |
| 906 | * dwarf_ranges.c (dwarf_ranges): Likewise. |
| 907 | |
| 908 | 2009-05-04 Petr Machata <pmachata@redhat.com> |
| 909 | |
| 910 | * libdwP.h (__libdw_read_begin_end_pair_inc): Declare new function. |
| 911 | * dwarf_ranges.c: Implement it here. |
| 912 | (dwarf_ranges): Call it. |
Roland McGrath | e2eabd8 | 2009-05-07 18:54:52 -0700 | [diff] [blame] | 913 | * dwarf_getlocation.c (dwarf_getlocation_addr): Call it also here. |
| 914 | |
| 915 | 2009-04-23 Petr Machata <pmachata@redhat.com> |
| 916 | |
| 917 | * dwarf_formaddr.c (dwarf_formaddr): Call __libdw_read_* instead |
| 918 | of read_*ubyte_unaligned. |
Petr Machata | f3df61f | 2009-05-07 21:02:33 +0200 | [diff] [blame] | 919 | * dwarf_formref_die.c (dwarf_formref_die): Likewise. |
| 920 | * dwarf_formstring.c (dwarf_formstring): Likewise. |
| 921 | * dwarf_formudate.c (dwarf_formudata): Likewise. |
| 922 | * dwarf_getaranges.c (dwarf_getaranges): Likewise. |
| 923 | * dwarf_getlocation.c (dwarf_getlocation_addr): Likewise. |
Roland McGrath | 2fb9051 | 2009-04-15 14:47:13 -0700 | [diff] [blame] | 924 | * dwarf_getpubnames.c (get_offsets): Likewise. |
| 925 | * dwarf_nextcu.c (dwarf_nextcu): Likewise. |
| 926 | |
| 927 | 2009-04-23 Petr Machata <pmachata@redhat.com> |
| 928 | |
Roland McGrath | 6a4bdd9 | 2009-04-01 14:25:29 -0700 | [diff] [blame] | 929 | * libdwP.h (__libdw_read_addr_inc, __libdw_read_off_inc, |
| 930 | __libdw_read_addr, __libdw_read_off): Add four new internal |
| 931 | functions. |
| 932 | |
Roland McGrath | c5acb30 | 2009-01-28 18:28:52 -0800 | [diff] [blame] | 933 | 2009-05-07 Roland McGrath <roland@redhat.com> |
| 934 | |
Roland McGrath | 03288f0 | 2009-01-28 22:00:54 -0800 | [diff] [blame] | 935 | * dwarf_getmacros.c (dwarf_getmacros): Use absolute section offset in |
| 936 | return value and OFFSET argument, not CU-relative. Only fetch the |
| 937 | attribute data when called with OFFSET of 0. |
Roland McGrath | c5acb30 | 2009-01-28 18:28:52 -0800 | [diff] [blame] | 938 | |
| 939 | 2009-05-07 Petr Machata <pmachata@redhat.com> |
Roland McGrath | f46272a | 2009-01-26 18:36:16 -0800 | [diff] [blame] | 940 | |
| 941 | * dwarf_getmacros.c (dwarf_getmacros): Take into account offset in |
| 942 | DW_AT_macro_info attribute of CU DIE. |
| 943 | |
Roland McGrath | d31505f | 2009-01-25 19:37:33 -0800 | [diff] [blame] | 944 | 2009-04-15 Roland McGrath <roland@redhat.com> |
| 945 | |
| 946 | * dwarf.h (DW_CIE_ID): Removed. |
| 947 | (DW_CIE_ID_32, DW_CIE_ID_64): New constants replace it. |
Roland McGrath | 3bf7a09 | 2009-01-23 16:34:07 -0800 | [diff] [blame] | 948 | |
| 949 | 2009-04-01 Roland McGrath <roland@redhat.com> |
| 950 | |
| 951 | * dwarf.h: Add DW_CFA_GNU_negative_offset_extended. |
| 952 | |
Roland McGrath | afdd51e | 2009-01-22 02:26:24 -0800 | [diff] [blame] | 953 | 2009-01-28 Roland McGrath <roland@redhat.com> |
| 954 | |
| 955 | * libdwP.h (struct Dwarf_Line_s): Move out of struct Dwarf_Lines_s |
| 956 | defn so C++ doesn't scope the name to not match the Dwarf_Line typedef. |
Roland McGrath | 1ea4fdc | 2009-01-21 19:14:37 -0800 | [diff] [blame] | 957 | |
| 958 | * libdwP.h (struct Dwarf_Files_s): Replace dbg field with cu field. |
| 959 | |
| 960 | 2009-01-26 Roland McGrath <roland@redhat.com> |
| 961 | |
| 962 | * dwarf_ranges.c: Return 0 when no ranges or *_pc attrs at all. |
Roland McGrath | 24b0330 | 2009-01-17 14:34:13 -0800 | [diff] [blame] | 963 | |
| 964 | 2009-01-25 Roland McGrath <roland@redhat.com> |
Roland McGrath | 54456d8 | 2009-01-17 14:39:35 -0800 | [diff] [blame] | 965 | |
| 966 | * dwarf_getattrs.c: Correctly skip attribute values when restarting. |
| 967 | |
Roland McGrath | 5513e64 | 2009-01-11 01:35:11 -0800 | [diff] [blame] | 968 | 2009-01-23 Roland McGrath <roland@redhat.com> |
| 969 | |
| 970 | * Makefile.am ($(srcdir)/known-dwarf.h): Target renamed back. |
| 971 | Put these rules under if MAINTAINER_MODE. |
| 972 | |
| 973 | 2009-01-22 Roland McGrath <roland@redhat.com> |
| 974 | |
Roland McGrath | 24b0330 | 2009-01-17 14:34:13 -0800 | [diff] [blame] | 975 | * dwarf.h: Add DW_OP_GNU_encoded_addr. |
| 976 | |
Ulrich Drepper | 7e678fa | 2009-01-10 18:02:05 -0800 | [diff] [blame] | 977 | 2009-01-21 Roland McGrath <roland@redhat.com> |
| 978 | |
| 979 | * Makefile.am (CLEANFILES): Renamed to ... |
| 980 | (MOSTLYCLEANFILES): ... here. |
Roland McGrath | e06762c | 2009-01-08 13:39:08 -0800 | [diff] [blame] | 981 | (CLEANFILES): New variable, add known-dwarf.h. |
| 982 | |
| 983 | 2009-01-17 Roland McGrath <roland@redhat.com> |
| 984 | |
Roland McGrath | 7e827f2 | 2009-01-06 02:09:50 -0800 | [diff] [blame] | 985 | * Makefile.am (known-dwarf.h): Target renamed, not in $(srcdir). |
Roland McGrath | 1f6d201 | 2008-12-31 00:21:04 -0800 | [diff] [blame] | 986 | Make it unconditional. |
| 987 | (BUILT_SOURCES): Updated. |
| 988 | |
| 989 | * dwarf.h: Add description comments for DW_LANG_* values. |
Roland McGrath | bca4315 | 2009-01-05 23:59:32 -0800 | [diff] [blame] | 990 | |
| 991 | * Makefile.am [MAINTAINER_MODE] |
| 992 | ($(srcdir)/known-dwarf.h): New target. |
Ulrich Drepper | ac194d0 | 2009-01-06 00:30:01 -0800 | [diff] [blame] | 993 | (BUILT_SOURCES): Add it. |
| 994 | |
Roland McGrath | c462c63 | 2009-01-06 01:04:31 -0800 | [diff] [blame] | 995 | * dwarf.h: Add DW_OP_GNU_push_tls_address, DW_OP_GNU_uninit. |
Ulrich Drepper | ac194d0 | 2009-01-06 00:30:01 -0800 | [diff] [blame] | 996 | |
| 997 | 2009-01-10 Ulrich Drepper <drepper@redhat.com> |
| 998 | |
| 999 | * dwarf_error.c: Always use __thread. Remove all !USE_TLS code. |
Roland McGrath | b4d6f0f | 2008-08-25 22:55:17 +0000 | [diff] [blame] | 1000 | |
| 1001 | 2009-01-08 Roland McGrath <roland@redhat.com> |
| 1002 | |
| 1003 | * Makefile.am (libdw.so): Don't depend on $(zip_LIBS), just link it in. |
| 1004 | |
Ulrich Drepper | 8d358d9 | 2008-01-22 06:34:31 +0000 | [diff] [blame] | 1005 | 2008-01-06 Roland McGrath <roland@redhat.com> |
| 1006 | |
| 1007 | * libdwP.h (struct Dwarf_Abbrev): Change type of 'has_children' to bool. |
| 1008 | Reorder members. |
| 1009 | * dwarf_haschildren.c: Return -1 for error case, not 0. |
| 1010 | |
| 1011 | * Makefile.am (libdw.so): Link in $(zip_LIBS). |
| 1012 | |
Ulrich Drepper | b27ce00 | 2008-01-18 20:08:54 +0000 | [diff] [blame] | 1013 | 2009-01-06 Ulrich Drepper <drepper@redhat.com> |
| 1014 | |
| 1015 | * dwarf.h: Add definition for unwind and call frame information. |
| 1016 | |
| 1017 | * memory-access.h: Define read_ubyte_unaligned, read_sbyte_unaligned, |
Ulrich Drepper | 35f08c4 | 2008-01-18 19:59:08 +0000 | [diff] [blame] | 1018 | read_ubyte_unaligned_inc, and read_sbyte_unaligned_inc. |
| 1019 | |
| 1020 | 2008-08-15 Roland McGrath <roland@redhat.com> |
| 1021 | |
| 1022 | * libdw.map (ELFUTILS_0.136): New version set, inherits from |
| 1023 | ELFUTILS_0.130. Add dwfl_addrsegment, dwfl_report_segment. |
| 1024 | |
| 1025 | 2008-01-21 Ulrich Drepper <drepper@redhat.com> |
| 1026 | |
| 1027 | * dwarf_child.c: Minor optimizations. |
| 1028 | * dwarf_getattrs.c: Likewise. |
| 1029 | * dwarf_getpubnames.c: Likewise. |
| 1030 | * dwarf_siblingof.c: Likewise. |
Ulrich Drepper | a969d8e | 2008-01-22 06:15:00 +0000 | [diff] [blame] | 1031 | * dwarf_tag.c: Likewise. |
Ulrich Drepper | 35f08c4 | 2008-01-18 19:59:08 +0000 | [diff] [blame] | 1032 | |
| 1033 | 2008-01-18 Ulrich Drepper <drepper@redhat.com> |
| 1034 | |
| 1035 | * dwarf_getsrclines.c (dwarf_getsrclines): Don't require exact match |
| 1036 | of DWARF_VERSION comparison, just fail if the file's version is newer. |
| 1037 | |
| 1038 | 2008-01-17 Nick Clifton <nickc@redhat.com> |
| 1039 | |
| 1040 | * dwarf.h (DWARF3_LENGTH_MIN_ESCAPE_CODE): New define. |
| 1041 | (DWARF3_LENGTH_MAX_ESCAPE_CODE): New define. |
| 1042 | (DWARF3_LENGTH_64_BIT): New define. |
| 1043 | * dwarf_getaranges (dwarf_getaranges): Use the new definitions. |
| 1044 | * dwarf_getpubnames: Include dwarf.h. |
| 1045 | (get_offsets): Use the new definitions. |
| 1046 | * dwarf_getsrclines.c (dwarf_getsrclines): Use the new defintions. |
| 1047 | * dwarf_nextcu.c: Include dwarf.h. Correct comment. |
| 1048 | (dwarf_nextcu): Use the new definitions. |
| 1049 | |
| 1050 | * libdwP.h (DIE_OFFSET_FROM_CU_OFFSET): New macro. |
| 1051 | * dwarf_diecu.c (dwarf_diecu): Use the new macro. |
| 1052 | * dwarf_getaranges (dwarf_getaranges): Use the new macro. |
| 1053 | * dwarf_nextcu.c (dwarf_nextcu): Use the new macro. |
| 1054 | |
| 1055 | * dwarf_getpubnames (get_offsets): Replace assertion with test and |
| 1056 | error return. |
| 1057 | |
| 1058 | * dwarf_entry_breakpoints.c (dwarf_entry_breakpoints): Use CUDIE. |
| 1059 | |
| 1060 | * dwarf_siblingof (dwarf_siblingof): Detect a NULL return pointer. |
| 1061 | Set the address in the return structure to the address of the next |
| 1062 | non-sibling die, if there is no sibling and the return pointer is |
| 1063 | not the same as the die pointer. |
Ulrich Drepper | e219f1c | 2008-01-09 05:49:49 +0000 | [diff] [blame] | 1064 | * libdw.h: Expand the description of the dwarf_siblingof prototype. |
| 1065 | |
| 1066 | * dwarf_child.c: Fix typo in comment. |
| 1067 | |
| 1068 | * libdwP.h (DWARF_VERSION): Change to 3. |
| 1069 | |
Roland McGrath | e4c22ea | 2007-10-23 13:07:39 +0000 | [diff] [blame] | 1070 | * dwarf_formref.c (__libdw_formref.c): Handle attributes which do |
| 1071 | not have a initialised valp pointer. |
| 1072 | |
| 1073 | * dwarf_getattrs.c (dwarf_getattrs): Return 1 rather than 0 when |
| 1074 | the end of the attributes is reached. When the callback fails, |
| 1075 | return the address of the failing attribute, not the address of |
| 1076 | its successor. |
| 1077 | * libdw.h: Expand the description of the dwarf_getattrs prototype. |
| 1078 | |
| 1079 | * dwarf_child.c (__libdw_find_attr): Use the new definition. |
| 1080 | (dwarf_child): Likewise. |
| 1081 | * dwarf_tag.c (__libdw_findabbrev): Likewise. |
| 1082 | (dwarf_tag): Likewise. |
| 1083 | |
| 1084 | 2008-01-08 Roland McGrath <roland@redhat.com> |
| 1085 | |
| 1086 | * Makefile.am (euinclude): Variable removed. |
| 1087 | (pkginclude_HEADERS): Set this instead of euinclude_HEADERS. |
| 1088 | (libdw.so): Pass -Wl,--enable-new-dtags,-rpath,$(pkglibdir). |
Ulrich Drepper | b597dfa | 2007-10-16 05:21:27 +0000 | [diff] [blame] | 1089 | |
| 1090 | 2007-10-17 Roland McGrath <roland@redhat.com> |
| 1091 | |
| 1092 | * libdw.h (__deprecated_attribute__): New macro. |
| 1093 | (dwarf_formref): Mark it deprecated. |
| 1094 | * dwarf_formref.c (__libdw_formref): New function, broken out of ... |
| 1095 | (dwarf_formref): ... here. Call it. Remove INTDEF. |
Roland McGrath | 59ea7f3 | 2007-10-04 08:50:09 +0000 | [diff] [blame] | 1096 | * libdwP.h: Remove INTDECL. |
| 1097 | Declare __libdw_formref. |
| 1098 | * dwarf_siblingof.c (dwarf_siblingof): Call __libdw_formref instead. |
| 1099 | * dwarf_formref_die.c: Likewise. Handle DW_FORM_ref_addr here. |
| 1100 | |
| 1101 | * libdw_form.c (__libdw_form_val_len): Fix DW_FORM_ref_addr result, |
| 1102 | needs to check CU->version. |
| 1103 | |
Roland McGrath | 057ec6b | 2007-10-02 20:55:05 +0000 | [diff] [blame] | 1104 | * libdwP.h (struct Dwarf_CU): New member `version'. |
| 1105 | * libdw_findcu.c (__libdw_findcu): Initialize it. |
| 1106 | |
| 1107 | * dwarf_child.c: Return 1 for null entry as first child. |
| 1108 | |
Roland McGrath | d1a4817 | 2007-08-07 19:51:01 +0000 | [diff] [blame] | 1109 | 2007-10-05 Roland McGrath <roland@redhat.com> |
| 1110 | |
| 1111 | * dwarf_begin_elf.c (check_section): Punt on SHT_NOBITS sections. |
| 1112 | |
| 1113 | * libdw.h (__extern_inline): Rename to __libdw_extern_inline. |
| 1114 | [__OPTIMIZE__] (dwarf_whatattr, dwarf_whatform): Update uses. |
| 1115 | |
| 1116 | 2007-10-03 Roland McGrath <roland@redhat.com> |
| 1117 | |
| 1118 | * libdw.map (ELFUTILS_0.130: Add dwfl_build_id_find_elf |
| 1119 | and dwfl_build_id_find_debuginfo. |
Roland McGrath | 87d4780 | 2007-07-16 22:23:37 +0000 | [diff] [blame] | 1120 | |
| 1121 | * libdw.map (ELFUTILS_0.130): New version set, inherits from |
| 1122 | ELFUTILS_0.127. Add dwfl_module_build_id, dwfl_module_report_build_id. |
| 1123 | |
| 1124 | 2007-10-02 Roland McGrath <roland@redhat.com> |
Roland McGrath | 43da989 | 2007-04-16 23:13:37 +0000 | [diff] [blame] | 1125 | |
| 1126 | * libdw_visit_scopes.c (classify_die): Return walk for class_type and |
| 1127 | structure_type. |
| 1128 | |
Roland McGrath | bf2ee48 | 2007-04-05 09:27:36 +0000 | [diff] [blame] | 1129 | 2007-08-07 Roland McGrath <roland@redhat.com> |
| 1130 | |
Roland McGrath | 43da989 | 2007-04-16 23:13:37 +0000 | [diff] [blame] | 1131 | * dwarf_getscopes.c (pc_match): Swallow dwarf_haspc error return when |
| 1132 | error code is DWARF_E_NOERROR (0). |
| 1133 | |
| 1134 | * dwarf_getscopes.c (pc_record): Always bail early if DIE->prune. |
| 1135 | Fix typo in __libdw_visit_scopes argument. |
| 1136 | |
| 1137 | * dwarf_getscopes.c (pc_match): Check dwarf_haspc error return, |
| 1138 | swallow DWARF_E_NO_DEBUG_RANGES but not other errors. |
| 1139 | |
| 1140 | 2007-07-03 Roland McGrath <roland@redhat.com> |
Roland McGrath | bf2ee48 | 2007-04-05 09:27:36 +0000 | [diff] [blame] | 1141 | |
| 1142 | * libdw.h (__extern_inline): New macro. |
| 1143 | [__OPTIMIZE__] (dwarf_whatattr, dwarf_whatform): Use it. |
| 1144 | |
Ulrich Drepper | c07fbb3 | 2007-03-30 19:14:59 +0000 | [diff] [blame] | 1145 | 2007-04-16 Roland McGrath <roland@redhat.com> |
| 1146 | |
| 1147 | * libdw.map (ELFUTILS_0.127): Add dwfl_module_address_section. |
| 1148 | |
| 1149 | 2007-04-05 Roland McGrath <roland@redhat.com> |
| 1150 | |
| 1151 | * dwarf_getsrcdirs.c: New file. |
| 1152 | * Makefile.am (libdw_a_SOURCES): Add it. |
Ulrich Drepper | 6258e74 | 2007-03-13 06:22:40 +0000 | [diff] [blame] | 1153 | * libdw.h: Declare dwarf_getsrcdirs. |
| 1154 | * libdw.map (ELFUTILS_0.127): Add it. |
| 1155 | |
| 1156 | * libdwP.h (struct Dwarf_Files_s): New member ndirs. |
| 1157 | * dwarf_getsrclines.c (dwarf_getsrclines): Don't clobber NDIRLIST to |
| 1158 | zero before we use it to check for DWARF_E_INVALID_DIR_IDX. |
| 1159 | Save DIRARRAY in the Dwarf_Files. |
| 1160 | |
| 1161 | * dwarf_ranges.c (dwarf_ranges): Don't sign-extend 32-bit BEGIN |
Ulrich Drepper | 903c116 | 2007-02-15 19:40:37 +0000 | [diff] [blame] | 1162 | address to check for all-ones base address entry. Check directly. |
| 1163 | Reported by Sébastien Dugué <sebastien.dugue@bull.net>. |
| 1164 | |
| 1165 | 2007-03-25 Roland McGrath <roland@redhat.com> |
Ulrich Drepper | aa915fd | 2007-02-05 07:25:33 +0000 | [diff] [blame] | 1166 | |
| 1167 | * dwarf_begin_elf.c (check_section): Return Dwarf * instead of void. |
| 1168 | Return NULL when freeing RESULT on error. |
| 1169 | (global_read, scngrp_read): Check return value from check_section, |
| 1170 | break out of loop after it has freed RESULT. |
| 1171 | (valid_p): Handle null argument. |
| 1172 | |
Roland McGrath | 8190db6 | 2006-12-17 23:56:51 +0000 | [diff] [blame] | 1173 | 2007-03-12 Roland McGrath <roland@redhat.com> |
| 1174 | |
| 1175 | * libdw.map (ELFUTILS_0.127): Add dwfl_report_begin_add. |
| 1176 | |
| 1177 | 2007-03-04 Roland McGrath <roland@redhat.com> |
Roland McGrath | c373d85 | 2006-10-10 00:25:21 +0000 | [diff] [blame] | 1178 | |
| 1179 | * libdw.map (ELFUTILS_0.127): New version set, inherits from |
| 1180 | ELFUTILS_0.126. Add dwfl_module_addrsym. |
| 1181 | |
| 1182 | 2007-02-10 Roland McGrath <roland@redhat.com> |
| 1183 | |
| 1184 | * dwarf.h (DW_OP_fbreg): Comment fix. |
| 1185 | |
| 1186 | 2007-02-03 Roland McGrath <roland@redhat.com> |
| 1187 | |
| 1188 | * dwarf_getelf.c (dwarf_getelf): Renamed from dwarf_get_elf. |
| 1189 | * libdw.map (ELFUTILS_0.126): New version set, inherits from |
Ulrich Drepper | 077c65f | 2006-07-12 19:54:51 +0000 | [diff] [blame] | 1190 | ELFUTILS_0.122. Move dwarf_getelf there; it was never truly |
| 1191 | exported in the past. |
| 1192 | |
| 1193 | 2006-12-17 Roland McGrath <roland@redhat.com> |
| 1194 | |
| 1195 | * dwarf_getlocation.c (dwarf_getlocation_addr): Use zero as base |
| 1196 | address when the CU is missing attributes due to buggy GCC. |
| 1197 | |
Ulrich Drepper | e1812e1 | 2006-07-12 07:46:03 +0000 | [diff] [blame] | 1198 | 2006-08-29 Roland McGrath <roland@redhat.com> |
| 1199 | |
| 1200 | * Makefile.am (CLEANFILES): Add libdw.so.$(VERSION). |
| 1201 | |
| 1202 | * libdw.h (dwarf_diecu): Add __nonnull_attribute__. |
| 1203 | (dwarf_child): Don't list arg 1 in __nonnull_attribute__. |
| 1204 | |
Ulrich Drepper | 3be7447 | 2006-05-27 18:15:40 +0000 | [diff] [blame] | 1205 | * libdw_alloc.c (__libdw_allocate): Take new ALIGN argument, make sure |
| 1206 | result is aligned. Adjust NEWP->remaining here for this allocation. |
| 1207 | * libdwP.h: Update decl. |
| 1208 | (libdw_alloc): Update caller. |
Ulrich Drepper | e7a7317 | 2006-05-22 18:16:45 +0000 | [diff] [blame] | 1209 | |
| 1210 | 2006-07-12 Ulrich Drepper <drepper@redhat.com> |
| 1211 | |
| 1212 | * dwarf_child.c: Adjust for internal_function_def removal. |
| 1213 | * dwarf_getabbrev.c: Likewise. |
Ulrich Drepper | 4f3d2a2 | 2006-05-22 01:30:56 +0000 | [diff] [blame] | 1214 | * dwarf_tag.c: Likewise. |
| 1215 | * libdw_form.c: Likewise. |
| 1216 | * memory-access.c: Likewise. |
| 1217 | |
| 1218 | 2006-06-28 Roland McGrath <roland@redhat.com> |
Roland McGrath | 2dade66 | 2006-02-28 22:13:20 +0000 | [diff] [blame] | 1219 | |
| 1220 | * libdw.map: Export dwfl_linecu, dwfl_line_comp_dir. |
| 1221 | |
| 1222 | * libdw.map: Bump to 0.122; export dwfl_module_getsymtab and |
| 1223 | dwfl_module_getsym. |
| 1224 | |
Roland McGrath | 0833312 | 2006-02-27 04:54:26 +0000 | [diff] [blame] | 1225 | 2006-05-27 Ulrich Drepper <drepper@redhat.com> |
| 1226 | |
| 1227 | * libdw.h: Add extern "C". |
| 1228 | |
Roland McGrath | 50ffcbf | 2005-12-23 01:51:43 +0000 | [diff] [blame] | 1229 | 2006-05-22 Ulrich Drepper <drepper@redhat.com> |
| 1230 | |
| 1231 | * dwarf_getaranges.c (dwarf_getaranges): Handle files without |
| 1232 | aranges information. |
Roland McGrath | dec3a24 | 2005-12-12 08:35:55 +0000 | [diff] [blame] | 1233 | |
| 1234 | 2006-05-21 Ulrich Drepper <drepper@redhat.com> |
| 1235 | |
| 1236 | * libdw.h: Add nonnull attributes to dwarf_tag, dwarf_getattrs, |
| 1237 | dwarf_haschildren. |
Roland McGrath | f64a442 | 2005-12-09 23:40:30 +0000 | [diff] [blame] | 1238 | |
| 1239 | 2006-02-28 Roland McGrath <roland@redhat.com> |
| 1240 | |
| 1241 | * dwarf.h: Add missing DW_ATE_*, DW_TAG_*, DW_LANG_*, DW_CFA_*, |
| 1242 | DW_OP_* values, to match DWARF 3.0. Add new DW_DS_*, DW_END_* |
| 1243 | values from DWARF 3.0. |
Roland McGrath | 994b489 | 2005-12-05 22:46:21 +0000 | [diff] [blame] | 1244 | |
| 1245 | 2006-02-22 Roland McGrath <roland@redhat.com> |
| 1246 | |
| 1247 | * libdw.map: Bump to 0.120; export dwfl_version. |
Roland McGrath | e47ab76 | 2005-11-17 03:16:00 +0000 | [diff] [blame] | 1248 | |
| 1249 | 2005-12-22 Roland McGrath <roland@redhat.com> |
| 1250 | |
| 1251 | * libdw.map: Bump to 0.119; export dwfl_linux_proc_maps_report. |
| 1252 | |
| 1253 | 2005-12-12 Roland McGrath <roland@redhat.com> |
| 1254 | |
| 1255 | * dwarf_ranges.c: Copy CU base address-finding code from |
Roland McGrath | 07d4f2f | 2005-10-28 06:56:24 +0000 | [diff] [blame] | 1256 | dwarf_getlocation. |
| 1257 | |
| 1258 | 2005-12-09 Roland McGrath <roland@redhat.com> |
| 1259 | |
| 1260 | * dwarf_getlocation.c (dwarf_getlocation_addr): Add some unlikelys. |
| 1261 | Delay CU base lookup until it's needed. |
| 1262 | If CU base lookup fails with no error, flag invalid DWARF. |
| 1263 | |
| 1264 | 2005-11-25 Roland McGrath <roland@redhat.com> |
| 1265 | |
| 1266 | * libdw.map: Bump to 0.118; export dwfl_module_register_names. |
| 1267 | |
Roland McGrath | 6724c90 | 2005-10-28 07:07:19 +0000 | [diff] [blame] | 1268 | 2005-11-15 Roland McGrath <roland@redhat.com> |
| 1269 | |
| 1270 | * Makefile.am [BUILD_STATIC] (AM_CFLAGS): Add -fpic. |
| 1271 | |
| 1272 | 2005-11-13 Roland McGrath <roland@redhat.com> |
| 1273 | |
| 1274 | * libdw.map: Bump to 0.117; export dwfl_module_return_value_location. |
| 1275 | |
| 1276 | 2005-10-27 Roland McGrath <roland@redhat.com> |
| 1277 | |
| 1278 | * dwarf_entry_breakpoints.c (search_range): Fix binary search code; |
| 1279 | don't match end_sequence markers. |
| 1280 | |
| 1281 | * dwarf_getsrclines.c (compare_lines): Sort end_sequence markers |
| 1282 | before normal records at the same address. |
| 1283 | * dwarf_getsrc_die.c (dwarf_getsrc_die): Don't match an end_sequence |
| 1284 | marker. |
| 1285 | |
| 1286 | 2005-10-26 Roland McGrath <roland@redhat.com> |
| 1287 | |
| 1288 | * dwarf_getfuncs.c (dwarf_getfuncs): Use Dwarf_Die, not Dwarf_Func. |
| 1289 | * dwarf_func_file.c: Renamed to ... |
| 1290 | * dwarf_decl_file.c: ... here. |
| 1291 | * dwarf_func_col.c: Renamed to ... |
| 1292 | * dwarf_decl_column.c: ... here. |
| 1293 | * dwarf_func_line.c: Renamed to ... |
| 1294 | * dwarf_decl_line.c: ... here. |
| 1295 | (dwarf_func_line): Renamed to ... |
| 1296 | (dwarf_decl_line): ... this. Take a Dwarf_Die * argument. |
| 1297 | (__libdw_func_intval): Renamed __libdw_attr_intval. |
| 1298 | * dwarf_func_name.c: File removed. |
| 1299 | * dwarf_func_lowpc.c: File removed. |
| 1300 | * dwarf_func_highpc.c: File removed. |
| 1301 | * dwarf_func_entrypc.c: File removed. |
| 1302 | * dwarf_func_die.c: File removed. |
| 1303 | * Makefile.am (libdw_a_SOURCES): Updated. |
| 1304 | * libdw.h: Update decls. |
| 1305 | (Dwarf_Func): Type removed. |
| 1306 | * libdwP.h: Update decls. |
Roland McGrath | 07d4f2f | 2005-10-28 06:56:24 +0000 | [diff] [blame] | 1307 | (struct Dwarf_Func_s): Type removed. |
| 1308 | * libdw.map: Updated. |
| 1309 | |
| 1310 | * libdwP.h (CUDIE): New macro. |
| 1311 | * dwarf_getlocation.c (dwarf_getlocation_addr): Use it. |
| 1312 | * dwarf_getscopes_die.c (dwarf_getscopes_die): Likewise. |
| 1313 | * dwarf_ranges.c (dwarf_ranges): Likewise. |
| 1314 | |
| 1315 | * dwarf_getloclist.c: Renamed to ... |
| 1316 | * dwarf_getlocation.c: ... here. |
| 1317 | (getloclist): Renamed to getlocation. |
| 1318 | (dwarf_getloclist): Renamed to dwarf_getlocation. |
| 1319 | (dwarf_addrloclists): Renamed to dwarf_getlocation_addr. |
| 1320 | * Makefile.am (libdw_a_SOURCES): Updated. |
| 1321 | * libdw.h (dwarf_getloclist): Renamed to dwarf_getlocation. |
| 1322 | (dwarf_addrloclists): Renamed dwarf_getlocation_addr. |
| 1323 | (Dwarf_Loc): Renamed Dwarf_Op. |
| 1324 | * libdwP.h (struct loc_s): Update use. |
| 1325 | * libdw.map: Update map. |
| 1326 | |
| 1327 | * dwarf_entry_breakpoints.c: Use the second line record within the |
| 1328 | function, regardless of its source location data. |
| 1329 | |
| 1330 | 2005-10-25 Roland McGrath <roland@redhat.com> |
| 1331 | |
| 1332 | * dwarf_entry_breakpoints.c: Fall back to entrypc for contiguous too. |
| 1333 | |
| 1334 | * libdw.map: Add dwarf_entrypc, dwarf_entry_breakpoints. |
| 1335 | |
| 1336 | 2005-10-14 Roland McGrath <roland@redhat.com> |
| 1337 | |
| 1338 | * dwarf_diecu.c (dwarf_diecu): New file. |
| 1339 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 1340 | * libdw.h: Declare dwarf_diecu. |
| 1341 | * libdw.map: Export it. |
| 1342 | |
| 1343 | * libdw.map: Bump to 0.116; export dwarf_ranges. |
| 1344 | |
| 1345 | 2005-09-20 Roland McGrath <roland@redhat.com> |
| 1346 | |
| 1347 | * dwarf_haspc.c: Use dwarf_ranges. |
| 1348 | * dwarf_entry_breakpoints.c: Likewise. |
| 1349 | |
| 1350 | * dwarf_ranges.c: New file. |
| 1351 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 1352 | * libdw.h: Declare dwarf_ranges. |
| 1353 | * libdwP.h: Add INTDECL. |
| 1354 | |
Ulrich Drepper | fbe998a | 2005-08-29 16:27:10 +0000 | [diff] [blame] | 1355 | 2005-09-14 Roland McGrath <roland@redhat.com> |
| 1356 | |
| 1357 | * dwarf_entry_breakpoints.c (dwarf_entry_breakpoints): Fix braino in |
| 1358 | prologue_end marker scanning loop. |
| 1359 | |
| 1360 | 2005-09-11 Roland McGrath <roland@redhat.com> |
Roland McGrath | 71e15a0 | 2005-08-27 10:33:26 +0000 | [diff] [blame] | 1361 | |
| 1362 | * dwarf.h: Comment typo fix. |
| 1363 | |
| 1364 | 2005-09-07 Roland McGrath <roland@redhat.com> |
| 1365 | |
| 1366 | * dwarf_entry_breakpoints.c: New file. |
| 1367 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 1368 | * libdw.h: Declare dwarf_entry_breakpoints. |
| 1369 | |
| 1370 | * dwarf_entrypc.c: New file. |
| 1371 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 1372 | * libdw.h: Declare dwarf_entrypc. |
| 1373 | * libdwP.h: Add INTDECL. |
| 1374 | |
| 1375 | 2005-08-28 Ulrich Drepper <drepper@redhat.com> |
| 1376 | |
| 1377 | * Makefile.am: Use $(LINK) not $(CC) when creating DSO. |
| 1378 | (%.os): Use COMPILE.os. |
| 1379 | (COMPILE.os): Filter out gconv options. |
| 1380 | |
| 1381 | 2005-08-27 Roland McGrath <roland@redhat.com> |
| 1382 | |
Roland McGrath | d17fac7 | 2005-08-23 08:20:21 +0000 | [diff] [blame] | 1383 | * dwarf_getscopes.c (dwarf_getscopes): Rewritten using |
| 1384 | __libdw_visit_scopes. |
| 1385 | |
| 1386 | * dwarf_getscopes_die.c: New file. |
| 1387 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 1388 | * libdw.h: Declare dwarf_getscopes_die. |
| 1389 | * libdw.map: Bump to 0.115 and add it. |
| 1390 | |
| 1391 | * libdw_visit_scopes.c (__libdw_visit_scopes): Pass a struct |
| 1392 | containing a DIE and its parent pointer, instead of just Dwarf_Die. |
| 1393 | Take two functions for both preorder and postorder visitors. |
| 1394 | * libdwP.h: Update decl. |
| 1395 | (struct Dwarf_Die_Chain): New type. |
| 1396 | * dwarf_func_inline.c: Update uses. |
| 1397 | |
| 1398 | * dwarf_diename.c (dwarf_diename): Use dwarf_attr_integrate. |
| 1399 | Add INTDEF. |
Roland McGrath | f5fda7d | 2005-08-18 22:01:57 +0000 | [diff] [blame] | 1400 | * libdwP.h: Add INTDECL. |
| 1401 | * dwarf_func_name.c (dwarf_func_name): Use dwarf_diename. |
| 1402 | |
| 1403 | 2005-08-23 Roland McGrath <roland@redhat.com> |
| 1404 | |
Roland McGrath | 1ecb606 | 2005-08-15 09:53:04 +0000 | [diff] [blame] | 1405 | * dwarf_attr_integrate.c (dwarf_attr_integrate): Treat |
| 1406 | DW_AT_specification the same as DW_AT_abstract_origin. |
| 1407 | |
| 1408 | 2005-08-20 Roland McGrath <roland@redhat.com> |
| 1409 | |
| 1410 | * libdw.map: Add dwfl_cumodule, remove dwfl_linecu. |
| 1411 | Add dwfl_linux_kernel_report_offline, dwfl_offline_section_address, |
| 1412 | and dwfl_report_offline. |
| 1413 | |
| 1414 | 2005-08-19 Roland McGrath <roland@redhat.com> |
| 1415 | |
| 1416 | * libdw.map: Bump version to ELFUTILS_0.114 for libdwfl changes. |
Roland McGrath | 1c83bf1 | 2005-08-11 07:03:55 +0000 | [diff] [blame] | 1417 | Add dwfl_module_relocate_address, dwfl_module_relocations, |
Ulrich Drepper | 6d5c3bd | 2005-08-11 04:37:52 +0000 | [diff] [blame] | 1418 | dwfl_module_relocation_info. |
Roland McGrath | 1c83bf1 | 2005-08-11 07:03:55 +0000 | [diff] [blame] | 1419 | |
| 1420 | 2005-08-18 Roland McGrath <roland@redhat.com> |
Ulrich Drepper | 6d5c3bd | 2005-08-11 04:37:52 +0000 | [diff] [blame] | 1421 | |
Roland McGrath | 4959bf8 | 2005-08-09 10:31:08 +0000 | [diff] [blame] | 1422 | * dwarf_getscopes.c (dwarf_getscopes): Include the CU itself as |
| 1423 | outermost scope in the results. |
Roland McGrath | b6312e1 | 2005-08-09 10:36:01 +0000 | [diff] [blame] | 1424 | |
| 1425 | 2005-08-15 Roland McGrath <roland@redhat.com> |
Roland McGrath | 4959bf8 | 2005-08-09 10:31:08 +0000 | [diff] [blame] | 1426 | |
| 1427 | * dwarf_func_inline.c: New file. |
| 1428 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 1429 | * libdw.h: Declare dwarf_func_inline, dwarf_func_inline_instances. |
Roland McGrath | a5a8968 | 2005-08-02 01:24:01 +0000 | [diff] [blame] | 1430 | * libdw.map: Add them. |
| 1431 | |
| 1432 | * dwarf_func_die.c: New file. |
| 1433 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 1434 | * libdw.h: Declare dwarf_func_die. |
Ulrich Drepper | 18618fd | 2005-07-28 21:29:22 +0000 | [diff] [blame] | 1435 | * libdw.map: Add it. Bump version to ELFUTILS_0.114. |
| 1436 | |
| 1437 | 2005-08-10 Ulrich Drepper <drepper@redhat.com> |
| 1438 | |
| 1439 | * dwarf_getsrclines.c (dwarf_getsrclines): Correct fallout of renaming |
Roland McGrath | 366784a | 2005-07-28 06:20:53 +0000 | [diff] [blame] | 1440 | of DW_LNS_set_epilog_begin. |
| 1441 | |
Roland McGrath | 1838590 | 2005-07-28 07:12:38 +0000 | [diff] [blame] | 1442 | 2005-08-09 Roland McGrath <roland@redhat.com> |
| 1443 | |
| 1444 | * dwarf.h (DW_LNS_set_epilog_begin): Renamed DW_LNS_set_epilogue_begin. |
| 1445 | |
| 1446 | * dwarf_end.c: Add INTDEF. |
| 1447 | * dwarf_error.c (dwarf_errmsg): Likewise. |
Roland McGrath | 366784a | 2005-07-28 06:20:53 +0000 | [diff] [blame] | 1448 | * libdwP.h (dwarf_end, dwarf_errmsg): Add INTDECLs. |
| 1449 | |
| 1450 | 2005-08-01 Roland McGrath <roland@redhat.com> |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 1451 | |
| 1452 | * dwarf_getaranges.c (dwarf_getaranges): Check for bogus offset. |
| 1453 | * dwarf_getabbrev.c (__libdw_getabbrev): Likewise. |
| 1454 | |
| 1455 | 2005-07-28 Ulrich Drepper <drepper@redhat.com> |
| 1456 | |
| 1457 | * Makefile.am (libdw.so): No need to link with libeu.a anymore. |
| 1458 | (libdw_a_LIBADD): Add all files from libdwfl.a. |
| 1459 | |
| 1460 | 2005-07-27 Roland McGrath <roland@redhat.com> |
| 1461 | |
| 1462 | * Makefile.am (libdw.so): Link ../libdwfl/libdwfl_pic.a in, |
| 1463 | along with ../libebl/libebl.a and ../lib/libeu.a; |
| 1464 | depend on ../libelf/libelf.so. |
| 1465 | (libdw_so_LDADD): New variable. |
| 1466 | * libdw.map: Add dwfl_* symbols formerly in ../libdwfl/libdwfl.map. |
| 1467 | |
| 1468 | * libdw.map: Define an empty base version and move all symbols to |
| 1469 | version ELFUTILS_0.111; don't define ELFUTILS_1.0 at all yet. |
| 1470 | |
| 1471 | 2005-07-23 Ulrich Drepper <drepper@redhat.com> |
| 1472 | |
| 1473 | * dwarf_error.c: Add internal alias for dwarf_errno. |
| 1474 | * libdwP.h: Declare __dwarf_errno_internal. |
| 1475 | * dwarf_getloclist.c: Use INTDEF for dwarf_errno. |
| 1476 | |
| 1477 | * dwarf_error.c [USE_TLS]: Actually use __thread in definition of |
| 1478 | global_error. |
| 1479 | |
| 1480 | 2005-06-01 Roland McGrath <roland@redhat.com> |
| 1481 | |
| 1482 | * dwarf_getaranges.c (dwarf_getaranges): Sort result array. |
| 1483 | * dwarf_getarange_addr.c (dwarf_getarange_addr): Use binary search. |
| 1484 | |
| 1485 | 2005-06-08 Roland McGrath <roland@redhat.com> |
| 1486 | |
| 1487 | * memory-access.h (get_uleb128_step, get_uleb128): Remove casts. |
| 1488 | (get_sleb128_step, get_sleb128): Likewise. |
| 1489 | * dwarf_getattrs.c (dwarf_getattrs): Add consts. |
| 1490 | * dwarf_getloclist.c (getloclist): Likewise. |
| 1491 | * dwarf_formblock.c (dwarf_formblock): Likewise. |
| 1492 | * dwarf_getsrclines.c (dwarf_getsrclines): Likewise. |
| 1493 | * dwarf_getabbrevattr.c (dwarf_getabbrevattr): Likewise. |
| 1494 | * dwarf_formref.c (dwarf_formref): Likewise. |
| 1495 | * dwarf_formsdata.c (dwarf_formsdata): Likewise. |
| 1496 | * dwarf_formudata.c (dwarf_formudata): Likewise. |
| 1497 | * dwarf_haschildren.c (dwarf_haschildren): Likewise. |
| 1498 | * dwarf_child.c (__libdw_find_attr, __libdw_find_attr): Likewise. |
| 1499 | * dwarf_tag.c (dwarf_tag): Likewise. |
| 1500 | * dwarf_getabbrev.c (__libdw_getabbrev): Likewise. |
| 1501 | * memory-access.c (__libdw_get_uleb128, __libdw_get_sleb128): Likewise. |
| 1502 | * libdw_form.c (__libdw_form_val_len): Likewise. |
| 1503 | * libdwP.h: Update decl. |
| 1504 | |
| 1505 | 2005-06-04 Roland McGrath <roland@redhat.com> |
| 1506 | |
| 1507 | * memory-access.h (get_uleb128_rest_return): New macro. |
| 1508 | [! IS_LIBDW] (__libdw_get_uleb128): New static, defined using it. |
| 1509 | (get_sleb128_rest_return): New macro. |
| 1510 | [! IS_LIBDW] (__libdw_get_sleb128): New static, defined using it. |
| 1511 | * memory-access.c: New file. |
| 1512 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 1513 | (DEFS): Add -DIS_LIBDW. |
| 1514 | |
| 1515 | 2005-05-31 Roland McGrath <roland@redhat.com> |
| 1516 | |
| 1517 | * dwarf_formref_die.c (dwarf_formref_die): Add CU header offset to |
| 1518 | formref offset. |
| 1519 | |
| 1520 | 2005-05-30 Roland McGrath <roland@redhat.com> |
| 1521 | |
| 1522 | * dwarf_getloclist.c (dwarf_addrloclists): Use DW_AT_entry_pc for base |
| 1523 | address if DW_AT_low_pc is missing. Not to spec, but GCC generates it. |
| 1524 | |
| 1525 | * dwarf_getloclist.c (dwarf_addrloclists): Don't sign-extend 4-byte |
| 1526 | BEGIN value. Instead, match base address entries separately for |
| 1527 | 32/64 size cases. |
| 1528 | |
| 1529 | 2005-05-28 Roland McGrath <roland@redhat.com> |
| 1530 | |
| 1531 | * dwarf_getloclist.c (dwarf_addrloclists): Fix decoding to advance |
| 1532 | past location expression contents. |
| 1533 | |
| 1534 | 2005-05-23 Roland McGrath <roland@redhat.com> |
| 1535 | |
| 1536 | * dwarf_getsrclines.c: Comment typo fix. |
| 1537 | |
| 1538 | * dwarf_haspc.c (dwarf_haspc): Fix CU DIE address calculation. |
| 1539 | * dwarf_getloclist.c (dwarf_addrloclists): Likewise. |
| 1540 | |
| 1541 | 2005-05-22 Ulrich Drepper <drepper@redhat.com> |
| 1542 | |
| 1543 | * libdwP.h: Only use INTDECL for alias prototypes. |
| 1544 | |
| 1545 | 2005-05-19 Roland McGrath <roland@redhat.com> |
| 1546 | |
| 1547 | * dwarf_getloclist.c (attr_ok): Permit DW_AT_static_link too. |
| 1548 | |
| 1549 | * dwarf_getscopevar.c: New file. |
| 1550 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 1551 | * libdw.h: Declare dwarf_getscopevar. |
| 1552 | |
| 1553 | * dwarf_getsrcfiles.c: Add INTDEF. |
| 1554 | * dwarf_haschildren.c: Likewise. |
| 1555 | * libdwP.h (dwarf_getsrcfiles, dwarf_haschildren): Add INTDECL. |
| 1556 | |
| 1557 | * dwarf_getscopes.c: New file. |
| 1558 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 1559 | * libdw.h: Declare dwarf_getscopes. |
| 1560 | * libdw.map: Add it. |
| 1561 | |
| 1562 | 2005-05-18 Roland McGrath <roland@redhat.com> |
| 1563 | |
| 1564 | * libdwP.h (IDX_debug_ranges): New enum constant. |
| 1565 | * dwarf_begin_elf.c (dwarf_scnnames): Add it for ".debug_ranges". |
| 1566 | * libdwP.h (DWARF_E_NO_DEBUG_RANGES): New enum constant. |
| 1567 | * dwarf_error.c (errmsgs): Add it. |
| 1568 | * dwarf_haspc.c: New file. |
| 1569 | * libdw.h: Declare dwarf_haspc. |
| 1570 | * libdw.map: Add it. |
| 1571 | * libdwP.h: Add INTDECL. |
| 1572 | |
| 1573 | * dwarf_attr_integrate.c: New file. |
| 1574 | * dwarf_hasattr_integrate.c: New file. |
| 1575 | * Makefile.am (libdw_a_SOURCES): Add them. |
| 1576 | * libdw.h: Declare dwarf_attr_integrate, dwarf_hasattr_integrate. |
| 1577 | * libdw.map: Add them. |
| 1578 | |
| 1579 | * dwarf_hasattr.c: Add INTDEF. |
| 1580 | * libdwP.h: Add INTDECL for it. |
| 1581 | |
| 1582 | * dwarf_formref_die.c: New file. |
| 1583 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 1584 | * libdw.h (dwarf_formref_die): Declare it. |
| 1585 | * libdwP.h (dwarf_formref_die): Add INTDECL. |
| 1586 | * libdw.map: Add it. |
| 1587 | |
| 1588 | * dwarf_getloclist.c (attr_ok, getloclist): New functions, broken out |
| 1589 | of ... |
| 1590 | (dwarf_getloclist): ... here. Call them. |
| 1591 | (dwarf_addrloclists): New function. |
| 1592 | * libdw.h: Declare it. |
| 1593 | * libdw.map: Add it. |
| 1594 | |
| 1595 | * dwarf_getmacros.c (dwarf_getmacros): Don't bail at |
| 1596 | DW_MACINFO_end_file. Recognize type 0 as terminator. |
| 1597 | |
| 1598 | 2005-05-05 Roland McGrath <roland@redhat.com> |
| 1599 | |
| 1600 | * dwarf_getsrc_die.c (dwarf_getsrc_die): Use binary search. |
| 1601 | |
| 1602 | * dwarf_getsrclines.c (dwarf_getsrclines): Sort result array, since |
| 1603 | the line program does not produce all entries in ascending order. |
| 1604 | |
| 1605 | 2005-04-25 Ulrich Drepper <drepper@redhat.com> |
| 1606 | |
| 1607 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Handle multiple |
| 1608 | occurences (e.g., inlines) better. |
| 1609 | |
| 1610 | 2005-04-24 Ulrich Drepper <drepper@redhat.com> |
| 1611 | |
| 1612 | * libdw.h (DWARF_END_ABBREV): Define. |
| 1613 | * dwarf_getabbrev.c (__libdw_getabbrev): Return DWARF_END_ABBREV if |
| 1614 | end is reached. |
| 1615 | * dwarf_offabbrev.c (dwarf_offabbrev): Return -1 on error, 1 if end |
| 1616 | of records reached. |
| 1617 | * dwarf_tag.c (__libdw_findabbrev): Also recognize DWARF_END_ABBREV |
| 1618 | as error of __libdw_getabbrev. |
| 1619 | |
| 1620 | 2005-04-04 Ulrich Drepper <drepper@redhat.com> |
| 1621 | |
| 1622 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Minor optimization. |
| 1623 | |
| 1624 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Always pass number of |
| 1625 | results back to caller. |
| 1626 | |
| 1627 | 2005-04-04 Roland McGrath <roland@redhat.com> |
| 1628 | |
| 1629 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Use size_t for CUHL. |
| 1630 | |
| 1631 | * dwarf_func_line.c (__libdw_func_intval): Use internal_function in |
| 1632 | defn. |
| 1633 | |
| 1634 | 2005-04-04 Ulrich Drepper <drepper@redhat.com> |
| 1635 | |
| 1636 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Use INTUSE. |
| 1637 | |
| 1638 | * dwarf_getsrc_file.c: New file. |
| 1639 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getsrc_file.c. |
| 1640 | * libdw.h: Declare dwarf_getsrc_file. |
| 1641 | * libdw.map: Add dwarf_getsrc_file. |
| 1642 | |
| 1643 | 2005-04-02 Ulrich Drepper <drepper@redhat.com> |
| 1644 | |
| 1645 | * dwarf_func_entrypc.c: New file. |
| 1646 | * dwarf_func_col.c: New file. |
| 1647 | * dwarf_func_line.c: New file. |
| 1648 | * dwarf_func_file.c: New file. |
| 1649 | * libdw.h: Add prototypes for new functions. |
| 1650 | * libdw.map: Add dwarf_func_entrypc, dwarf_func_col, dwarf_func_line, |
| 1651 | dwarf_func_file. |
| 1652 | * Makefile.am (libdw_a_SOURCES): Add dwarf_func_entrypc.c, |
| 1653 | dwarf_func_col.c, dwarf_func_line.c, dwarf_func_file.c. |
| 1654 | * libdwP.h (struct Dwarf_Func_s): Add cudie element. |
| 1655 | Declare __libdw_func_intval and __dwarf_formsdata_internal. |
| 1656 | * dwarf_getfuncs.c: Also fill in cudie in Dwarf_Func object. |
| 1657 | * dwarf_formsdata.c: Use INTUSE and INTDEF to avoid PLTs. |
| 1658 | |
| 1659 | * dwarf.h: Add some DWARF3 definitions. |
| 1660 | |
| 1661 | 2005-04-01 Ulrich Drepper <drepper@redhat.com> |
| 1662 | |
| 1663 | * dwarf_getfuncs.c: New file. |
| 1664 | * dwarf_func_highpc.c: New file. |
| 1665 | * dwarf_func_lowpc.c: New file. |
| 1666 | * dwarf_func_name.c: New file. |
| 1667 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getfuncs.c, |
| 1668 | dwarf_func_highpc.c, dwarf_func_lowpc.c, and dwarf_func_name.c. |
| 1669 | * libdw.map: Add dwarf_getfuncs, dwarf_func_highpc, dwarf_func_lowpc, |
| 1670 | and dwarf_func_name. |
| 1671 | * libdw.h: Add prototypes for new functions. |
| 1672 | * dwarf_child.c: Use INTUSE and INTDEF to avoid PLTs. |
| 1673 | * dwarf_siblingof.c: Likewise. |
| 1674 | * dwarf_dieoffset.c: Likewise. |
| 1675 | * dwarf_highpc.c: Likewise. |
| 1676 | * dwarf_lowpc.c: Likewise. |
| 1677 | * libdwP.h: Add prototypes for internal functions. |
| 1678 | Define Dwarf_Func_s structure. |
| 1679 | |
| 1680 | 2005-03-29 Ulrich Drepper <drepper@redhat.com> |
| 1681 | |
| 1682 | * libdw.h: Add padding in Dwarf_die. |
| 1683 | |
| 1684 | * dwarf_arrayorder.c: Use INTUSE and INTDEF to avoid PLTs. |
| 1685 | * dwarf_attr.c: Likewise. |
| 1686 | * dwarf_begin.c: Likewise. |
| 1687 | * dwarf_begin_elf.c: Likewise. |
| 1688 | * dwarf_bitoffset.c: Likewise. |
| 1689 | * dwarf_bitsize.c: Likewise. |
| 1690 | * dwarf_bytesize.c: Likewise. |
| 1691 | * dwarf_diename.c: Likewise. |
| 1692 | * dwarf_formaddr.c: Likewise. |
| 1693 | * dwarf_formblock.c: Likewise. |
| 1694 | * dwarf_formref.c: Likewise. |
| 1695 | * dwarf_formstring.c: Likewise. |
| 1696 | * dwarf_formudata.c: Likewise. |
| 1697 | * dwarf_getarange_addr.c: Likewise. |
| 1698 | * dwarf_getarangeinfo.c: Likewise. |
| 1699 | * dwarf_getaranges.c: Likewise. |
| 1700 | * dwarf_getloclist.c: Likewise. |
| 1701 | * dwarf_getmacros.c: Likewise. |
| 1702 | * dwarf_getsrc_die.c: Likewise. |
| 1703 | * dwarf_getsrcfiles.c: Likewise. |
| 1704 | * dwarf_getsrclines.c: Likewise. |
| 1705 | * dwarf_highpc.c: Likewise. |
| 1706 | * dwarf_lowpc.c: Likewise. |
| 1707 | * dwarf_nextcu.c: Likewise. |
| 1708 | * dwarf_offdie.c: Likewise. |
| 1709 | * dwarf_siblingof.c: Likewise. |
| 1710 | * dwarf_srclang.c: Likewise. |
| 1711 | * dwarf_tag.c: Likewise. |
| 1712 | * libdw_findcu.c: Likewise. |
| 1713 | * libdwP.h: Add prototypes for internal functions. |
| 1714 | |
| 1715 | * dwarf_addrdie.c: New file. |
| 1716 | * dwarf_macro_opcode.c: New file. |
| 1717 | * dwarf_macro_param1.c: New file. |
| 1718 | * dwarf_macro_param2.c: New file. |
| 1719 | * libdw.h: Add declarations. Move Dwarf_Macro definition to libdwP.h. |
| 1720 | * libdwP.h: Remove Dwarf_Macro definition. |
| 1721 | * Makefile.am (libdw_a_SOURCES): Add dwarf_addrdie.c, |
| 1722 | dwarf_macro_opcode.c, dwarf_macro_param1.c, and dwarf_macro_param2.c. |
| 1723 | * libdw.map: Add entries for new functions. |
| 1724 | |
| 1725 | 2005-03-21 Ulrich Drepper <drepper@redhat.com> |
| 1726 | |
| 1727 | * libdw.h: Handle broken gcc < 4. |
| 1728 | |
| 1729 | 2005-02-15 Ulrich Drepper <drepper@redhat.com> |
| 1730 | |
| 1731 | * Makefile (AM_CFLAGS): Add -Wunused -Wextra -Wformat=2. |
| 1732 | |
| 1733 | * dwarf_begin_elf.c: Fix warnings. |
| 1734 | * dwarf_dieoffset.c: Likewise. |
| 1735 | * dwarf_end.c: Likewise. |
| 1736 | * dwarf_error.c: Likewise. |
| 1737 | * dwarf_getpubnames.c: Likewise. |
| 1738 | |
| 1739 | * libdwP.h: Add new error values. |
| 1740 | * dwarf_error.c: Support new error values. |
| 1741 | * dwarf_getpubnames.c: Check parameter value. |
| 1742 | |
| 1743 | 2005-02-05 Ulrich Drepper <drepper@redhat.com> |
| 1744 | |
| 1745 | * Makefile.am: Check for text relocations in constructed DSO. |
| 1746 | |
| 1747 | * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. |
| 1748 | |
| 1749 | 2005-02-04 Ulrich Drepper <drepper@redhat.com> |
| 1750 | |
| 1751 | * dwarf_siblingof.c (dwarf_siblingof): Add some buffer boundary |
| 1752 | checks to not read over buffer boundaries for ill-formed DWARF data. |
| 1753 | |
| 1754 | 2004-09-25 Ulrich Drepper <drepper@redhat.com> |
| 1755 | |
| 1756 | * dwarf_child.c: Make compile with gcc 4.0. |
| 1757 | * dwarf_error.c: Likewise. |
| 1758 | * dwarf_formblock.c: Likewise. |
| 1759 | * dwarf_getabbrev.c: Likewise. |
| 1760 | * dwarf_getattrs.c: Likewise. |
| 1761 | * dwarf_getsrclines.c: Likewise. |
| 1762 | * dwarf_tag.c: Likewise. |
| 1763 | * libdw_form.c: Likewise. |
| 1764 | |
| 1765 | 2004-01-20 Ulrich Drepper <drepper@redhat.com> |
| 1766 | |
| 1767 | * Makefile.am: Support building with mudflap. |
| 1768 | |
| 1769 | * dwarf_getloclist.c: Fix warnings gcc 3.4 spits out. |
| 1770 | * dwarf_getsrclines.c: Likewise. |
| 1771 | * dwarf_memory-access.h: Likewise. |
| 1772 | |
| 1773 | 2004-01-19 Ulrich Drepper <drepper@redhat.com> |
| 1774 | |
| 1775 | * dwarf_getsrcfiles.c: Third parameter can be NULL. |
| 1776 | |
| 1777 | * libdw.h: Define Dwarf_macro. Declare dwarf_getmacros. |
| 1778 | Third parameter of dwarf_getsrcfiles can be NULL. |
| 1779 | |
| 1780 | * libdw.map: Add dwarf_getmacros. |
| 1781 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getmacros. |
| 1782 | * dwarf_getmacros.c: New file. |
| 1783 | |
| 1784 | 2004-01-18 Ulrich Drepper <drepper@redhat.com> |
| 1785 | |
| 1786 | * libdw.h: Second parameter of dwarf_getaranges can be NULL. |
| 1787 | |
| 1788 | * dwarf_nextcu.c: Return -1 if dwarf parameter is NULL. |
| 1789 | |
| 1790 | * dwarf_getsrclines.c: |
| 1791 | Use read_2ubyte_unaligned_inc instead of _inc-less variant. |
| 1792 | |
| 1793 | * dwarf_getaranges.c: Allow naranges parameter to be NULL. |
| 1794 | |
| 1795 | * libdwP.h (_): Use elfutils domain. |
| 1796 | |
| 1797 | * dwarf_getsrclines.c (dwarf_getsrclines): Add more branch prediction. |
| 1798 | |
| 1799 | * dwarf_getsrclines.c: Fix typo in comment. |
| 1800 | |
| 1801 | 2004-01-17 Ulrich Drepper <drepper@redhat.com> |
| 1802 | |
| 1803 | * Makefile.am: Support building with mudflap. |
| 1804 | |
| 1805 | 2004-01-16 Ulrich Drepper <drepper@redhat.com> |
| 1806 | |
| 1807 | * memory-access.h: Add lots of const in case a pointer passed is const. |
| 1808 | |
| 1809 | * dwarf_formflag.c: New file. |
| 1810 | * dwarf_getattrs.c: New file. |
| 1811 | * dwarf_error.c: Add new error value. |
| 1812 | * libdw.h: Add prototypes for new functions. Adjust prototype for |
| 1813 | dwarf_getpubnames. |
| 1814 | * libdw.map: Add new functions. |
| 1815 | * dwarf_getpubnames.c: Change type of return value and fourth parameter |
| 1816 | to ptrdiff_t. |
| 1817 | * libdwP.h: Add new error value. |
| 1818 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getattrs.c and |
| 1819 | dwarf_formflag.c. |
| 1820 | |
| 1821 | * dwarf_getpubnames.c (dwarf_getpubnames): Just fail if dbg is NULL. |
| 1822 | |
| 1823 | 2004-01-12 Ulrich Drepper <drepper@redhat.com> |
| 1824 | |
| 1825 | * dwarf_getarange_addr.c: New file |
| 1826 | * dwarf_getarangeinfo.c: New file. |
| 1827 | * dwarf_getaranges.c: New file. |
| 1828 | * dwarf_onerange.c: New file. |
| 1829 | * libdw.h: Declare new functions. Define Dwarf_Arange and |
| 1830 | Dwarf_Aranges. |
| 1831 | * libdw.map: Add new functions. |
| 1832 | * libdwP.h: Add new errors. Add aranges member to struct Dwarf. |
| 1833 | Define Dwarf_Aranges_s and Dwarf_Arange_s. |
| 1834 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getaranges.c, |
| 1835 | dwarf_onearange.c, dwarf_getarangeinfo.c, dwarf_getarange_addr.c. |
| 1836 | * dwarf_error.c: Add new message. |
| 1837 | |
| 1838 | 2004-01-11 Ulrich Drepper <drepper@redhat.com> |
| 1839 | |
| 1840 | * Makefile.am (libdw_a_SOURCES): Add dwarf_lineaddr.c, dwarf_linecol.c, |
| 1841 | dwarf_linebeginstatement.c, dwarf_lineendsequence.c, dwarf_lineblock.c, |
| 1842 | dwarf_lineprologueend.c, dwarf_lineepiloguebegin.c, dwarf_onesrcline.c. |
| 1843 | * dwarf_error.c: Add another message. |
| 1844 | * dwarf_getsrc_die.c: Adjust for Dwarf_Files and Dwarf_Lines |
| 1845 | introduction. |
| 1846 | * dwarf_filesrc.c: Likewise. |
| 1847 | * dwarf_getsrcfiles.c: Likewise. |
| 1848 | * dwarf_getsrclines.c: Likewise. |
| 1849 | * dwarf_lineaddr.c: New file. |
| 1850 | * dwarf_linebeginstatement.c: New file. |
| 1851 | * dwarf_lineblock.c: New file. |
| 1852 | * dwarf_linecol.c: New file. |
| 1853 | * dwarf_lineendsequence.c: New file. |
| 1854 | * dwarf_lineepiloguebegin.c: New file. |
| 1855 | * dwarf_lineno.c: New file. |
| 1856 | * dwarf_lineprologueend.c: New file. |
| 1857 | * dwarf_onesrcline.c: New file. |
| 1858 | * dwarf_lineno.c: Change interface to store result in object pointed |
| 1859 | to by second parameter. |
| 1860 | * libdw.h: Add prototypes for new functions. Change dwarf_lineno |
| 1861 | prototype. Define Dwarf_Files and Dwarf_Lines. |
| 1862 | * libdw.map: Add new functions. |
| 1863 | * libdwP.h: Define Dwarf_Files_s and Dwarf_Lines_s. |
| 1864 | * libdw_findcu.c: Don't initialize nlines field. |
| 1865 | |
| 1866 | * dwarf_siblingof: Little optimization. |
| 1867 | |
| 1868 | * dwarf_begin.c: Remember that the ELF descriptor must be closed. |
| 1869 | * dwarf_end.c: Close ELF descriptor if free_elf is set. |
| 1870 | * libdwP.h (struct Dwarf): Add free_elf field. |
| 1871 | |
| 1872 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getstring.c and |
| 1873 | dwarf_offabbrev.c. |
| 1874 | * dwarf_getstring.c: New file. |
| 1875 | * dwarf_offabbrev.c: New file. |
| 1876 | * libdw.map: Add dwarf_getstring and dwarf_offabbrev. |
| 1877 | * dwarf_getabbrev.c (__libdw_getabbrev): Add new dbg and result |
| 1878 | parameters. Don't allocate memory if not necessary and don't lookup |
| 1879 | previous results if no CU given. |
| 1880 | (dwarf_getabbrev): Adjust call to __libdw_getabbrev. |
| 1881 | * dwarf_tag.c: Adjust call to __libdw_getabbrev. |
| 1882 | * libdw.h: Declare dwarf_offabbrev and dwarf_getstring. |
| 1883 | * libdwP.h: Change prototype for __libdw_getabbrev. |
| 1884 | |
| 1885 | * dwarf_getabbrevattr.c: Add offsetp parameter. Fill in before |
| 1886 | returning if this is wanted. |
| 1887 | |
| 1888 | 2004-01-09 Ulrich Drepper <drepper@redhat.com> |
| 1889 | |
| 1890 | * dwarf_nextcu.c: Add new parameter offset_sizep. Initialize it |
| 1891 | with offset_size value. |
| 1892 | * libdw.h: Adjust dwarf_nextcu prototype. |
| 1893 | * libdwP.h (struct Dwarf_CU): Add offset_size member. |
| 1894 | * libdw_findcu.c: Adjust dwarf_nextcu call. Initialize offset_size |
| 1895 | member of new CU struct. |
| 1896 | * dwarf_formstring.c: Depend on offset_size not address_size for |
| 1897 | DW_FORM_strp handling. |
| 1898 | * dwarf_form.c: Likewise for DW_FORM_strp and DW_FORM_ref_addr. |
| 1899 | |
| 1900 | * dwarf_tag.c (__libdw_findabbrev): Return correct value for |
| 1901 | failing lookup. |
| 1902 | (dwarf_tag): Correctly recognize failed lookup. |
| 1903 | |
| 1904 | * dwarf_end.c (cu_free): Call tdestroy for locs member. Use new |
| 1905 | function noop_free. |
| 1906 | * dwarf_error.c: Add message for DWARF_E_NO_BLOCK. |
| 1907 | * dwarf_formblock.c: New file. |
| 1908 | * dwarf_getloclist.c: Rewrite to handle a single block. |
| 1909 | * libdw.h: Define Dwarf_Block. Rename Dwarf_Loc members. Remove |
| 1910 | Dwarf_Locdesc definition. Declare dwarf_formblock. Remove |
| 1911 | dwarf_getloclistent declaration. |
| 1912 | * libdw.map: Add dwarf_formblock, remove dwarf_getloclistent. |
| 1913 | * libdwP.h: Define struct loc_s and DWARF_E_NO_BLOCK. |
| 1914 | Add locs member to struct Dwarf_CU. |
| 1915 | * libdw_fundcu.c: Initialize locs member of new CU. |
| 1916 | * Makefile.am (libdw_a_SOURCES): Add dwarf_formblock.c. |
| 1917 | Remove dwarf_getloclistent.c. |
| 1918 | |
| 1919 | 2004-01-07 Ulrich Drepper <drepper@redhat.com> |
| 1920 | |
| 1921 | * libdw.h: Use __nonnull__ attribute only for gcc >= 3.3. |
| 1922 | * libdwP.h: Likewise. |
| 1923 | |
| 1924 | * dwarf_getloclist.c: New file. |
| 1925 | * dwarf_getloclistent.c: New file. |
| 1926 | * libdw.h: Define Dwarf_Loc and Dwarf_Locdesc. |
| 1927 | Declare dwarf_getloclistent and dwarf_getloclist. |
| 1928 | * libdw.map: Add dwarf_getloclistent and dwarf_getloclist. |
| 1929 | * libdwP.h: Define DWARF_E_NO_LOCLIST. |
| 1930 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getloclistent.c and |
| 1931 | dwarf_getloclist.c. |
| 1932 | |
| 1933 | * dwarf_error.c: More error messages. |
| 1934 | |
| 1935 | 2004-01-06 Ulrich Drepper <drepper@redhat.com> |
| 1936 | |
| 1937 | * dwarf_getsrclines.c: Remove debugging support. |
| 1938 | |
| 1939 | * dwarf_getsrcfiles.c: New file. |
| 1940 | * dwarf_filesrc.c: New file. |
| 1941 | * libdw.h: Declare these functions. Define Dwarf_File. |
| 1942 | * libdwP.c: Adjust Dwarf_File_s definition. |
| 1943 | * libdw.map: Add these functions. |
| 1944 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getsrcfiles.c and |
| 1945 | dwarf_filesrc.c. |
| 1946 | * dwarf_getsrclines.c: Initialize cu->files. |
| 1947 | |
| 1948 | 2004-01-05 Ulrich Drepper <drepper@redhat.com> |
| 1949 | |
| 1950 | * libdw.h: Add more nonnull function attributes. |
| 1951 | |
| 1952 | * dwarf_begin_elf.c (dwarf_begin_elf): Don't initialize mem_tail->next. |
| 1953 | * dwarf_end.c (cu_free): New function. |
| 1954 | (dwarf_end): Also free CU tree. Correct freeing of memory blocks. |
| 1955 | * dwarf_error.c (errmsgs): Add new messages. |
| 1956 | * dwarf_getsrc_die.c: New file. |
| 1957 | * dwarf_getsrclines.c: New file. |
| 1958 | * dwarf_lineno.c: New file. |
| 1959 | * dwarf_linesrc.c: New file. |
| 1960 | * dwarf_nextcu.c (dwarf_nextcu): Use read_*byte_unaligned_inc |
| 1961 | instead of the *_inc-less variants. |
Ulrich Drepper | 6fb3451 | 2010-05-28 20:28:04 -0700 | [diff] [blame] | 1962 | * libdw.h: Define Dwarf_Line. Add some function attributes. Declare |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 1963 | dwarf_getsrclines, dwarf_getsrc_die, dwarf_lineno, and dwarf_linesrc. |
| 1964 | * libdw.map: Add dwarf_getsrclines, dwarf_getsrc_die, dwarf_lineno, |
| 1965 | and dwarf_linesrc. |
| 1966 | * libdwP.h: Add more error codes. |
| 1967 | (struct Dwarf): Remove mem_tail.next member. |
| 1968 | (Dwarf_File): Define type. |
| 1969 | (struct Dwarf_Line_s): Define type. |
| 1970 | (struct Dwarf_CU): Add lines and nlines members. |
| 1971 | (libdw_alloc): Define local variable _tail and use it. |
| 1972 | Add some function attributes. |
| 1973 | * libdw_alloc.c (__libdw_allocate): Don't initialize next member. |
| 1974 | * libdw_findcu.c (__libdw_findcu): Initialize lines and nlines members. |
| 1975 | * memory-access.h: Add unlikely for the endian conversion paths. |
| 1976 | * Makefile.am (AM_CFLAGS): Add -std parameter. |
| 1977 | (libdw_a_SOURCES): Add dwarf_getsrclines, dwarf_getsrc_die, |
| 1978 | dwarf_lineno, and dwarf_linesrc. |
| 1979 | |
| 1980 | 2003-08-11 Ulrich Drepper <drepper@redhat.com> |
| 1981 | |
| 1982 | * Moved to CVS archive. |