Lines Matching +refs:dwarf +refs:insert +refs:substructure

1139 	cannot insert breakpoints in the middle of this sequence. Before this, we only
1995 insert the breakpoint/catchpoint location. This patch is a fix to the same.
3091 Add "maint set dwarf synchronous"
4268 Finally, this commit also changes the dwarf assembler to be able to emit
4532 FAIL: gdb.base/gdb-index-err.exp: flag=-dwarf-5: \
4614 dwarf, fortran: add support for DW_TAG_entry_point
4652 gdb, dwarf: add assert to dwarf2_get_pc_bounds
4660 gdb, dwarf: move part of dwarf2_get_pc_bounds into separate function
9558 Cannot insert breakpoint 1.
9560 Cannot insert breakpoint 1.
9977 * dwarf.c (display_debug_addr): Free dummy debug_addr_info entry.
10143 * dwarf.c (display_debug_names): Handle empty .debug_names hash
10715 optimized NOPs right afterwards; insert a plain old NOP first in such
11435 gdb: generate dwarf-5 index identically as worker-thread count changes
11436 Similar to the previous commit, this commit ensures that the dwarf-5
11440 Building the dwarf-5 index makes use of a closed hash table, the
11443 by calls to debug_names::insert() in write_debug_names. The insert
11449 table prior to using this to build the dwarf-5 index.
11497 then re-insert them in sorted order. This will ensure that the
11593 new option_def data structures for parsing the '-dwarf-5' option.
12697 * config/tc-s390.c: Add support to insert operand for format
13891 * dwarf.c (display_gdb_index): Restore v9 display code.
16588 * dwarf.c (read_and_display_attr_value): Fix loclist handling. (display_loclists_list): Likewise.
17698 In AIX unused or constant variables are collected as garbage by the linker and in the dwarf dump
18116 Add a dwarf assembly test-case that reflects the debug info as generated by
19485 seems like a good choice for this, we don't need to insert/remove
20003 generates dwarf that states that the return type is void:
20029 Work around this in the dwarf reader, such that we have instead:
20208 BSIFI- The instruction shall insert a right-adjusted bit field
20691 * dwarf.c (read_and_display_attr_value): Don't dereference NULL
21026 BSIFI- The instruction shall insert a right-adjusted bit field
21372 In the gcc-10 case, though the exec contains dwarf, it's not used to set the
22783 …* dwarf.c (fetch_indexed_value): Delete. (fetch_indexed_offset): Correct base address calculation.…
24094 The difference in gdb output is due to difference in the dwarf generated by
24294 Fix readelf's display of dwarf v5 range lists
24296 * dwarf.h (struct debug_info): Remove range_versions field.
24297 …* dwarf.c (fetch_indexed_offset): New function. (read_and_display_attr_value): Use it for DW_FORM_…
24475 insert/extract functions.
24523 (arc_flag_class): Update structure to hold new extract/insert
24902 Make the current situation explicit by emitting a dwarf error:
26129 This is PR symtab/26797: when using readnow, a failure in reading the dwarf
26150 the CUs generated by the dwarf assembler are missing.
26286 'objdump --dwarf=decodedline ./a.out' looks like
28123 binutils/dwarf.c abbrev list leak
28124 * dwarf.c (process_debug_info): Call free_abrev_list on
28129 * dwarf.c (free_debug_information): Free range_versions.
29587 * dwarf.h (debug_info): Add range_versions field.
29588 …* dwarf.c (read_and_display_attr_value): When recording a range arribute also ecord the dwarf vers…
30390 * dwarf.c (display_formatted_table): Sanity check count of
30725 new_args.insert (new_args.end (), args.begin (), args.end ());
30730 This shouldn't have any really bad effects, as insert will grow the
30834 An obvious optimisation here is to only insert breakpoint locations
31130 While working on a dwarf assembly test-case I accidentally created the
31131 following pathological dwarf:
31154 but the approach for deciding whether to fix pathological dwarf cases is as
32142 /* GDBserver must insert single-step breakpoint for software
32748 * dwarf2.h: Update with additional languages from dwarf
34433 The comment seems to be copied from debug_names::insert, which does indeed use
34533 -break-insert -c "cond_fail()" foo
37077 * ld.texi (--insert-timestamp): Document change in behaviour.
37089 null slot to insert IRELATIVE relocation.
37093 insert IRELATIVE relocation.
37101 insert IRELATIVE relocation to .rela.dyn.
37771 Add two test-cases, a C test-case gdb.opt/static-optimized-out.exp and a dwarf
43357 Cannot insert Ada exception catchpoint in this configuration.^M
44762 * dwarf.c (display_debug_frames <DW_CFA_restore_state>): Do free
46166 Improve MI -dprintf-insert documentation
46167 I found the documentation for -dprintf-insert a bit unclear. It
46831 * testsuite/gas/elf/dwarf-5-irp.d: Likewise.
46832 * testsuite/gas/elf/dwarf-5-loc0.d: Likewise.
46833 * testsuite/gas/elf/dwarf-5-macro-include.d: Likewise.
46834 * testsuite/gas/elf/dwarf-5-macro.d: Likewise.
47353 Instead they're separators for pseudo-prefixes. Don't insert them in
48601 expressions and insert fixups for them.
49656 The problem happens when evaluating this dwarf expression:
51623 -break-insert -p 99 main
52180 lang_add_section won't actually insert anything for most of them. That
53966 * dwarf.h (DWARF2_Internal_LineInfo): Replace unsigned short
53969 * dwarf.c (display_debug_lines_raw): Revert "adv" back to an int.
54048 …* dwarf.c (read_and_display_attr_value): Correctly handle DW_loclistx attributes that index a vers…
54202 * dwarf.c (fetch_indexed_string): Sanity check string index.
55247 Replace an assertion in the dwarf code with a warning message.
55249 …* dwarf.c (read_and_display_attr_value): Warn if the number of views is greater than the number of…
55257 * dwarf.c (display_debug_lines_decoded): Check for an overlarge number of files or directories.
55261 * dwarf.c (prealloc_cu_tu_list): Always allocate at least one entry.
55397 gdb/dwarf: Fix MinGW build
56934 while trying to insert a breakpoint. As soon as GDB spots that
56937 throw an exception which is caught in the insert breakpoints code, and
56952 calculated, and the first thing we do is try to insert the
57090 * dwarf.c (process_abbrev_set): Call free_abbrev_list on errors.
58408 * dwarf.c (read_and_display_attr_value): Detect and ignore negative base values.
59835 [gdb/testsuite] Add missing include_file in gdb.dwarf/*.exp
59846 running and passing, so let's rewrite the test-case using dwarf assembly
59851 the dwarf assembly. This gives us:
59865 Note that the dwarf assembly also describes main, otherwise the test-case
60554 Don't insert a second stub if the target is already compatible with
61789 describes roughly "how do we ask the target to insert that location".
61795 meaningful, as we ask the target to insert the point at a specific
61804 bp_loc_software_breakpoint, because we don't want GDB to insert
61807 type describes that the way to insert these locations is with
61810 GDB won't try to insert a memory breakpoint for them.
62656 …* dwarf.c (process_cu_tu_index): Prevent excessive memory allocation when nused is large and ncols…
62687 * dwarf.c (display_debug_lines_decoded): Reduce space for filenames.
65566 -break-insert -p 2 main
65702 -break-insert -f -c x==4 mi-pendshr.c:pendfunc2
65812 -break-insert -p 1 bar
67271 * testsuite/gas/elf/dwarf-5-macro.s: Change Line.s to Line2.s.
67619 case of the insert script being inserted before the first
68415 - adding a fallback "amd64 epilogue" after the dwarf unwinders,
69618 When replaying with btrace, record_btrace_frame_sniffer insert entries
70709 std::unordered_map::emplace to insert the new factory function, and
71409 unwinders at once using "maint set dwarf unwinders on/off".
71754 Cannot insert breakpoint 0.
71984 Add full display feature to dwarf-mode.el
71985 I've found that I often use dwarf-mode with relatively small test
71992 * I removed a stale FIXME from dwarf-mode. In practice I find I often
71996 * I tightened the regexp in dwarf-insert-substructure. This prevents
72000 * Finally, I've bumped the dwarf-mode version number so that this
72005 * dwarf-mode.el: Bump version to 1.8.
72006 (dwarf-insert-substructure): Tighten regexp.
72007 (dwarf-refresh-all): New defun.
72008 (dwarf-mode-map): Bind "A" to dwarf-refresh-all.
72009 (dwarf-mode): Remove old FIXME.
72667 gprofng: fix SIGSEGV when processing unusual dwarf
73326 Python Exception <class 'gdb.error'>: Unhandled dwarf expression opcode 0xe1
73865 gdb/dwarf: rename cooked_index_vector to cooked_index
73873 gdb/dwarf: rename cooked_index to cooked_index_shard
73913 Since commit 7d82b08e9e0a ("gdb/dwarf: dump cooked index contents in
73955 Following 7d82b08e9e0a ("gdb/dwarf: dump cooked index contents in
74006 fix file_chain.tail pointer if the insert point happens to be
74139 gdb/dwarf: dump cooked index contents in cooked_index_functions::dump
75311 higher priority than the dwarf unwinders in the amd64 and i386 targets:
76093 compiled with nodebug, to prevent the dwarf unwinders from taking effect.
76097 dwarf unwinders and bypass the architecture-specific unwinders.
76581 gdb/dwarf: fix UBsan crash in read_subrange_type
77109 needs the support, the others might not be present in dwarf debug
81028 * dwarf.c (display_debug_lines_decoded): Display the given
81034 * testsuite/gas/elf/dwarf-5-loc0.d: Update.
81344 gdb/testsuite: new test for recent dwarf reader issue
82495 Avoid compiler warning in dwarf-do-refresh
82496 The Emacs 28 compiler warns about dwarf-mode.el:
82498 Warning (comp): dwarf-mode.el:180:32: Warning: Unused lexical argument `ignore'
82505 * dwarf-mode.el (dwarf-do-refresh): Avoid compiler warning.
82543 * dwarf.c (display_debug_addr): Combine dwarf5 unit_length checks.
82568 * dwarf.c (fetch_indexed_value): Fail if the section is not big
83036 * dwarf.c (display_debug_addr): Check for corrupt header lengths.
83637 gdb/testsuite: new test for recent dwarf reader issue
83873 * dwarf.c (struct Frame_Chunk): Make col_offset an int64_t.
84047 gdb/testsuite: fix gdb.trace/unavailable-dwarf-piece.exp with Clang
84049 The gdb.trace/unavailable-dwarf-piece.exp test script was creating a
84262 * dwarf.c (display_debug_addr): Sanity check dwarf5 unit_length
84481 PR29872, uninitialised value in display_debug_lines_decoded dwarf.c:5413
84485 * dwarf.c (null_name): New function.
84547 PR29870, objdump SEGV in display_debug_lines_decoded dwarf.c:5524
84549 to break things. There are likely other places in dwarf.c that should
84553 * dwarf.c (display_debug_lines_decoded): Handle NULL file_table
85268 gdb/riscv: correct dwarf to gdb register number mapping
85522 Not so long ago we started to insert these artificially when expanding
85884 gdb/dwarf: add some QUIT macros
85992 * dwarf.c (display_debug_loc): Adjust holes detections for
87704 * testsuite/gas/riscv/insn-dwarf.d: Likewise.
87785 Fix leak in the dwarf reader
87786 Valgrind reports a leak in the dwarf reader (see details below).
88524 * dwarf.c (cmalloc, xcmalloc, xcrealloc, xcalloc2): Make nmemb
88526 * dwarf.h: Update prototypes.
88581 With the recent changes to the dwarf assembler, there is no longer a
89042 gdb/testsuite: rewrite gdb.cp/call-method-register.exp with dwarf assembler
89166 described in the comment on the function_range proc in lib/dwarf.exp,
89194 And make use of 'proc function_range' (from lib/dwarf.exp).
89231 gdb/testsuite: fix gdb.trace/unavailable-dwarf-piece.exp with Clang
89232 I noticed that the test gdb.trace/unavailable-dwarf-piece.exp was
89257 Currently, the unavailable-dwarf-piece.exp script names the assembler
89273 portable (see the comments in lib/dwarf.exp on function_range for
89292 PR29799 heap buffer overflow in display_gdb_index dwarf.c:10548
89294 * dwarf.c (display_gdb_index): Typo fix.
90620 (gdb) PASS: gdb.base/foll-exec.exp: insert first exec catchpoint
91316 their dwarf representations. This is compounded by Clang not adding linkage
91652 possible to insert a breakpoint in one inferior but not the other.
91952 expansion of gdb.cp/overload.cc because it needed the dwarf assembler,
94214 * dwarf.c (add_shndx_to_cu_tu_entry): Delete range check.
95285 On openSUSE Tumbleweed I run into this for the dwarf assembly test-cases, and
95299 Fix the dwarf assembly test-cases by adding the missing .note.GNU-stack in
95317 Note that dwarf assembly testcases use %progbits as decided by proc _section.
97986 The problem is that we have 64-bit dwarf so the debug_line offset in the
97998 ("[gdb/testsuite] Fix 64-bit dwarf test-cases with -m32") for for instance
99183 Merge both implementations of debug_names::insert
99184 The class debug_names has two 'insert' overloads, but only one of them
99854 ignore DWARF debug information for -gsplit-dwarf with dwarf-5
99855 Skip dwo_id for split dwarf.
99942 under gcc is that the dwarf generated by gcc links the class to the
99971 * dwarf.c (dwarf_regnames_riscv): Assign DWARF register numbers
101562 * bfd: for addr2line, objdump --dwarf, gdb, etc
102967 * dwarf.c (lookup_symbol_in_function_table): Match a symbol
103004 * dwarf.c (struct funcinfo, struct varinfo): Remove "sec" field.
104324 * testsuite/gas/elf/dwarf-3-func.d: Update expected output.
104325 * testsuite/gas/elf/dwarf-5-func-global.d: Likewise.
104326 * testsuite/gas/elf/dwarf-5-func-local.d: Likewise.
104327 * testsuite/gas/elf/dwarf-5-func.d: Likewise.
104362 * dwarf.c (display_debug_lines_decoded): Correctly handle DWARF-5
104647 a .debug_names section, but no .debug_types section. For dwarf-5, the TUs
104690 Add a test-case gdb.dwarf2/debug-names-tu.exp, that uses the dwarf assembler
104697 $ gdb-add-index -dwarf-5 a.out
105342 gdb, dwarf: create symbols for template tags without names
105457 When writing a dwarf testcase for some C++ code I wanted to use the
105458 MACRO_AT_range which in turn uses the function_range proc in dwarf.exp
105509 >> objdump ./a.out --dwarf=info | grep "foo" -A3 -B3
105543 >> objdump --dwarf=info ./a.out | grep foo -A3 -B3
106050 * testsuite/gas/elf/dwarf-3-func.d: Update to allow for newly
106052 * testsuite/gas/elf/dwarf-5-func-global.d: Likewise.
106053 * testsuite/gas/elf/dwarf-5-func-local.d: Likewise.
106054 * testsuite/gas/elf/dwarf-5-func.d: Likewise.
106664 x86: insert "no error" enumerator in i386_error enumeration
106965 * dwarf.c (free_debug_information): New function, extracted..
107104 Don't use bfd_size_type in readelf.c and dwarf.c
107889 dwarf: use find_abstract_instance for vars and DW_AT_specification
108042 [gdb/testsuite] Add support for .debug_names in dwarf assembler
108044 - support for a per-module .debug_names section in the dwarf assembler, and
108051 - adding dummy CUs in the dwarf assembler.
108058 than adding that functionality in the dwarf assembler.
108372 * dwarf.c (fetch_indexed_value): Return -1 on error.
109300 For the DWARF assembler-based test, add to testsuite/lib/dwarf.exp the
109714 gdb/dwarf: pass a file_entry to line_header::file_file_name
109739 gdb/dwarf: pass compilation directory to line header
110009 * testsuite/gas/riscv/insn-dwarf.d: Reflect insn.s update.
110275 kernels (such as RHEL6). This means that GDB is unable to insert
110283 Cannot insert breakpoint 1.
110312 running kernel, enabling GDB to insert breakpoints on these older
111177 cc-with-debug-names on a system with gcc 12.1.1 (defaulting to dwarf 5), I
111190 .debug_types section (which is what you'd expect for dwarf 4).
111729 $ gdb-add-index -dwarf-5 a.out
111786 * dwarf.c (is_aarch64, DW_CFA_GNU_window_save_name): New.
111802 * dwarf.c (display_gdb_index): Correct use of cu_list_elements.
111817 * dwarf.c (struct abbrev_list): Replace abbrev_base and
111827 binutils/dwarf.c: abbrev caching
111836 * dwarf.c (record_abbrev_list_for_cu): Add free_list param.
111851 miscellaneous dwarf.c tidies
111852 * dwarf.c: Leading and trailing whitespace fixes.
113405 dwarf regnos 0~31 ==> gdb regs r0~r31
113406 dwarf regno CSKY_HI_REGNUM(36) ==> gdb reg hi
113407 dwarf regno CSKY_LO_REGNUM(37) ==> gdb reg hi
113408 dwarf regno CSKY_PC_REGNUM(72) ==> gdb reg pc
113409 dwarf regnos FV_PSEUDO_REGNO_FIRST(74)~FV_PSEUDO_REGNO_LAST(201)
113413 other dwarf regnos have no corresponding gdb regs to them.
114502 Fix pedantically invalid DWARF in gdb.trace/unavailable-dwarf-piece.exp
114512 gdb.trace/unavailable-dwarf-piece.exp emits decl_line with
114519 TESTS="gdb.trace/unavailable-dwarf-piece.exp" \
114530 before/after fix for gdb.trace/unavailable-dwarf-piece.exp with that
114803 DW_AT_rank is a dwarf-5 feature.
114918 Support for location and range lists for split-dwarf and dwarf-5.
114919 Adding support for location and range lists for split-dwarf and dwarf-5.
114924 * dwarf.c(read_and_display_attr_value): Handle DW_FORM_loclistx
114931 * dwarf.h (enum dwarf_section_display_enum): Include 2 entries.
115004 Modified changes for split-dwarf and dwarf-5.
115005 * dwarf.c(process_debug_info): Include DW_TAG_skeleton_unit.
115008 (load_separate_debug_files): Skip DWO ID dump for dwarf-5.
115300 * dwarf.c (dwarf_select_sections_by_name): If the entry's value is
115682 * dwarf.c (display_debug_rnglists): New function, broken out of..
115746 use them for the dwarf registers.
115998 * dwarf.c (display_debug_names): Replace assert with a warning
116003 * dwarf.c (read_and_display_attr_value): Check that debug_info_p
116027 * dwarf.c (fetch_indexed_string): Do not use length of first table
116168 4 bytes of the initial length (it's 12 bytes because of 64-bit dwarf), as well
116186 Note that this happens to give the right answer for 32-bit dwarf and
116190 Conversely, for 32-bit dwarf and addr_size == 4 (target board unix/-m32)
116270 Fix location list offset address dump under DW_AT_location (dwarf-5)
116271 For clang compiled objects with dwarf-5, location list offset address dump
116276 * dwarf.c (fetch_indexed_value): Add base_address as parameter and
116874 Binutils support for split-dwarf and dwarf-5
116875 * dwarf.c (fetch_indexed_string): Added new parameter
116882 * dwarf.h (struct debug_info): Add str_offsets_base field.
117011 * dwarf.c (read_and_display_attr_value): Output DW_FORM_udata
117149 Binutils support for dwarf-5 (location and range lists related)
117150 * dwarf.h (struct debug_info): Add rnglists_base field.
117151 * dwarf.c (read_and_display_attr_value): Read attribute DW_AT_rnglists_base.
117580 * dwarf.c (debug_dump_long_opts): Add letter.
117594 * dwarf.c (display_debug_frames): Set col_type[reg] on sizing
118297 * dwarf.c (fetch_indexed_string): Move initialisation of "curr"
119095 gdb/testsuite: remove get_compiler_info calls from gdb.exp and dwarf.exp
119100 This commit cleans up lib/gdb.exp and lib/dwarf.exp a little by
119634 Remove "-break-insert -r" tests
119636 unimplemented "-r" switch for "-break-insert". This switch was never
120686 displayed is compiler (and dwarf) dependent. While all symbols should
121198 Newer Intel compilers emit their dwarf type name in a slightly different
121752 Now, when we insert whitespace we get:
122564 * dwarf.c (display_debug_macro, display_debug_names): Pass section
122573 * dwarf.c (display_debug_names): Don't attempt to display bucket
122578 * dwarf.c (display_gdb_index): Combine sanity checks. Calculate
123282 * dwarf.c (dwarf_select_sections_by_names): Return zero if no
123285 * dwarf.h: (dwarf_select_sections_by_names): Update prototype.
123290 (main): Do not enable dwarf section dumping for -WK or -WN.
123291 * readelf.c (parse_args): Do not enable dwarf section dumping for
123686 [1] https://github.com/ARM-software/abi-aa/blob/2022Q1/aadwarf64/aadwarf64.rst#dwarf-register-names
128608 gdb/dwarf: remove line_header::header_length field
128615 gdb/dwarf: remove line_header::total_length field
129217 gdb/testsuite/dwarf: don't automatically add directory and file entry for DWARF 5
129222 ("[gdb/testsuite] Support .debug_line v5 in dwarf assembler")), but in
129307 -break-insert -t 34^M
130012 g_complaint_interceptor->m_complaints.insert (string_vprintf (fmt, args));
130102 Fix that by using std::vector::insert to insert the items of entries
130697 the user to actually insert .file/.line inside such constructs. Note
131413 Cannot insert breakpoint 1.^M
131642 gdb/testsuite/dwarf: simplify line number program syntax
131651 gdb/testsuite/dwarf: remove two unused variables
132317 The fix is simple, insert a cast to int32_t to force interpretation as a
132378 * dwarf.c (fetch_indexed_value): Rename to fecth_indexed_addr and
132395 * dwarf.h (struct debug_info): Add loclists_base field.
132424 - Extends the dwarf unwinder to track the value of RA_AUTH_CODE.
132845 shared with the child, that would re-insert breakpoints in the child
132854 6. Clean program_space::breakpoints_not_allowed and re-insert
133695 on to the dwarf expression evaluator. This rank will only be used in
133774 gdb/dwarf: pass an array of values to the dwarf evaluator
133777 function, which is declared in gdb/dwarf/loc.h and defined in
133778 gdb/dwarf/loc.c.
133783 addr_stack is pushed onto the dwarf expression evaluation stack before
133794 the dwarf expression evaluation stack before the expression is
133801 dwarf expression evaluation stack.
133815 While examining the dwarf expression evaluator, I noticed that in
134676 _csi_L - insert line
135321 - insert character: this control sequence is supposed to insert blank
135325 insert blank characters at the cursor.
136016 if (addr_hash.insert (target_call_site->pc ()).second)
136128 * testsuite/gas/elf/dwarf-5-irp.d: xfail am33.
136870 Fix some stale header names from dwarf files
138808 to operand->insert for PPC_OPERAND_PLUS1 when calculating mask.
138847 Fix bug in dwarf-mode.el
138848 I noticed that, occasionally, dwarf-mode would think that the objdump
138854 I've bumped the version number of dwarf-mode.el to make it easier to
138861 * dwarf-mode.el: Now 1.7.
138862 (dwarf--sentinel): Switch to the process buffer.
139671 * dwarf.c (use_debuginfod): New variable. Set to 1.
139677 * dwarf.h (use_debuginfod): New extern.
144677 Stop the BFD library complaining about compressed dwarf debug string sections being too big.
144680 overlarge dwarf debug info sections.
145216 /git/gdb/gdb/ppc-sysv-tdep.c:1764:34: note: insert an explicit cast to silence this issue
148278 * dwarf.c (display_debug_lines_decoded): Don't check the
148285 * testsuite/gas/elf/dwarf-5-loc0.d: Add -W to readelf options.
149322 * dwarf.c: Revert previous delta.
150152 * dwarf.c (load_build_id_debug_file): Remove spurious printf.
151997dwarf.c:11300:3: error: format not a string literal and no format arguments [-Werror=format-securi…
152001 * dwarf.c (try_build_id_prefix): Avoid -Wformat-security error.
152026 * dwarf.c (load_build_id_debug_file): New function.
152030 * dwarf.h (enum dwarf_section_display_enum): Add
152256 PR28691, validate dwarf attribute form
152992 at /export/gnu/import/git/sources/binutils-gdb/binutils/dwarf.c:11057
152995 at /export/gnu/import/git/sources/binutils-gdb/binutils/dwarf.c:11381
153003 * dwarf.c (load_separate_debug_info): Don't return the input
154709 * dwarf.c (process_cu_tu_index): Add test for overruning section
155834 * dwarf.c (find_debug_info_for_offset): Use dwarf_vma type for
156323 we run into another instance of PR28383, where the dwarf assembler generates
156688 * testsuite/gas/elf/dwarf-5-nop-for-line-table.d: Pass -W to
157617 The reason that the CU has 64-bit dwarf is because -gdwarf64 was passed to
157618 gcc. The reason that the .debug_line entry has 32-bit dwarf is because that's
157633 [gdb/testsuite] Support .debug_line v5 in dwarf assembler
157638 Add support for this in the dwarf assembler.
157655 Rather than generate dwarf immediately in procs include_dir and file_name,
157663 [gdb/testsuite] Support .debug_line v4 in dwarf assembler
157667 Generate this field in the dwarf assembler, for now hardcoding the value to 1,
157683 Currently, for each MACRO_AT_range or MACRO_AT_func in dwarf assembly the
157694 up a make check with RUNTESTFLAGS like this to catch all dwarf assembly
157924 [gdb/testsuite] Fix 64-bit dwarf test-cases with -m32
157946 Instead, work around this in the dwarf assembler by emitting:
158504 Pass DEBUGINFOD_CFLAGS when compiling dwarf.c
158509 (dwarf.@OBJECT@): New rule.
160718 * dwarf.c (read_and_display_attr_value): Consume a byte when
161396 * dwarf.c (display_debug_frames): Don't print cie offset when
161697 * dwarf.c (display_debug_loc): Use section name in warnings.
161796 * dwarf.c (display_debug_aranges): Use "end_ranges" in loop
162938 [ I've tried to create a dwarf assembly test-case for this, but didn't
163763 Expecting: ^(-break-insert -f pendfunc1[^M
163768 -break-insert -f pendfunc1^M
163776 -break-insert -f pendfunc1 (unexpected output)
163782 DEF_MI_CMD_MI_1 ("break-insert", mi_cmd_break_insert,
163791 -break-insert -f pendfunc1
164441 * dwarf.c (display_debug_ranges): Don't constrain data to length
164496 [gdb/testsuite] Add .debug_loc support in dwarf assembler
164497 Add .debug_loc support in the dwarf assembler, and use it in new test-case
166003 function_range in gdb/testsuite/lib/dwarf.exp. Hence fix this also by
166182 So, what explains the difference? Noteworthy, this is a dwarf assembly
166741 gdb/testsuite/dwarf: use options for rnglists/loclists procs
166752 gdb/testsuite/dwarf: don't define nested procs for rnglists/loclists
167099 information, but uses the exec containing either dwarf or ctf.
167107 UNTESTED: gdb.base/cvexpr.exp: dwarf: failed to prepare
167247 * testsuite/gas/elf/dwarf-5-loc0.d: New file.
167248 * testsuite/gas/elf/dwarf-5-loc0.s: Likewise.
167249 * testsuite/gas/elf/elf.exp: Run dwarf-5-loc0.
167549 * dwarf.c (display_debug_lines_decoded): Correct indexing used
168834 source-paths. See binutils/dwarf.c:
168940 …PATH: gdb.perf/backtrace.exp: python sys.path.insert(0, os.path.abspath("/home/pedro/rocm/gdb/buil…
168947 …-PASS: gdb.perf/backtrace.exp: python sys.path.insert(0, os.path.abspath("/home/pedro/rocm/gdb/bui…
168948 …-PATH: gdb.perf/backtrace.exp: python sys.path.insert(0, os.path.abspath("/home/pedro/rocm/gdb/bui…
168952 …+PASS: gdb.perf/backtrace.exp: setup perftest: python sys.path.insert(0, os.path.abspath("${srcdir…
169027 A typical dwarf assembly test-case start like this:
169050 function_range, which may even be triggered by dwarf assembly like this:
169061 be called at the start of the dwarf assembly body:
169496 using "maint set dwarf unwinder on/off".
170085 where the compiler does not emit a .file or .loc dwarf debug directive
170088 a dwarf debug directive. The dwarf .file has a file number before the
170456 in the comment of proc function_range in gdb/testsuite/lib/dwarf.exp.
170639 "[gdb/testsuite] Add dummy start and end CUs in dwarf assembly".
171139 * testsuite/gas/elf/dwarf-5-file0-2.s: Use %object rather than
171163 * testsuite/gas/elf/dwarf-5-file0-2.d: New file.
171164 * testsuite/gas/elf/dwarf-5-file0-2.s: Likewise.
171165 * testsuite/gas/elf/elf.exp: Run dwarf-5-file0-2.
172317 * testsuite/ld-elf/dwarf.exp: Likewise.
173047 $ gdb -q -batch $shlib -ex "save gdb-index -dwarf-5 ."
173074 dwarf assembly" we had in exec outputs/gdb.dlang/watch-loc/watch-loc a D
173156 to missing .debug_aranges entries for the CUs added by the dwarf assembler.
173164 [gdb/testsuite] Support .debug_aranges in dwarf assembly
173165 Add a proc aranges such that we can generate .debug_aranges sections in dwarf
173182 We can use current dwarf assembly infrastructure to declare a label that marks
173363 While the use seems natural alongside the use of gas-generated dwarf in the
173374 The intention of the test-case is to test gas-generated dwarf, and using
173393 [gdb/testsuite] Add dummy start and end CUs in dwarf assembly
173411 This difference has caused me to find some errors in the dwarf assembly
173424 * lib/dwarf.exp (Dwarf::dummy_cu): New proc.
174910 * testsuite/gas/elf/dwarf-5-dir0.s: New test source file.
174911 * testsuite/gas/elf/dwarf-5-dir0.d: New test driver.
174913 * testsuite/gas/elf/dwarf-5-file0.d: Adjust expected output.
176177 * lib/dwarf.exp (_location): Handle DW_OP_fbreg.
176992 dw2-using-debug-str-no-debug-str executable. When loading the latter, a dwarf
176998 dwarf error is triggered, which causes the FAIL.
177025 The test expects the dwarf error, but has no matching pattern for the entire
177775 [gdb/symtab] Fix unhandled dwarf expression opcode with gcc-11 -gdwarf-5
177787 Unhandled dwarf expression opcode 0xff^M
177822 In gdb/dwarf/attribute.h we have:
177837 "Unhandled dwarf expression opcode 0xff".
177847 Fix the dwarf error by translating the DW_FORM_data16 constant into a
178900 unix/gdb:debug_flags=-gdwarf-4, so this is not a dwarf 4 vs 5 issue. ]
179008 dwarf-5] undefined static member removed by
179943 * dwarf.h (struct dwarf_section): Add XCOFF name.
179944 * dwarf.c (struct dwarf_section_display): Update.
180343 gdb, dwarf: Don't follow the parent of a subprogram to get a prefix.
181104 PR28069, assertion fail in dwarf.c:display_discr_list
181108 It would only make sense to assert or report dwarf.c/readelf.c source
181127 * dwarf.c (display_discr_list): Remove assertions. Delete "end"
181133 * dwarf.h (report_leb_status): Don't report file and line
182357 * dwarf.c (get_type_abbrev_from_form): Add cu_end parameter.