[Bug tools/22250] New: readelf should support --dwarf-start and --dwarf-depth

2017-10-04 Thread tromey at sourceware dot org
Component: tools Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org CC: elfutils-devel at sourceware dot org Target Milestone: --- objdump supports --dwarf-start and --dwarf-depth options. --dwarf-start specifies the DIE at

[Bug tools/22250] readelf should support --dwarf-start and --dwarf-depth

2017-10-05 Thread tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22250 --- Comment #4 from Tom Tromey --- (In reply to Mark Wielaard from comment #1) > Which properties of the above are important to you? > Is the given selection mechanism of which DIEs to print the most convenient? > Is it important to suppress

[Bug tools/23100] New: dwarflint -vs- DW_AT_alignment

2018-04-20 Thread tromey at sourceware dot org
Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org CC: elfutils-devel at sourceware dot org Target Milestone: --- dwarflint should issue a warning if DW_AT_alignment is not a power of 2. -- You are receiving this mail because: You

[Bug tools/23100] dwarflint -vs- DW_AT_alignment

2018-04-20 Thread tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23100 --- Comment #1 from Tom Tromey --- It should also check other constraints, like that it is a constant and that it is a positive integer. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug tools/24509] New: eu-readelf does not know how to dissect DW_AT_discr_list

2019-05-01 Thread tromey at sourceware dot org
Priority: P2 Component: tools Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org CC: elfutils-devel at sourceware dot org Target Milestone: --- Consider the Ada test case in https://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug tools/24509] eu-readelf does not know how to dissect DW_AT_discr_list

2019-05-02 Thread tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24509 --- Comment #2 from Tom Tromey --- Here's one that uses both ranges and discrete elements: package Rng is type Rec (I : Integer) is record case I is when Positive => C : Character; case I is

[Bug tools/24509] eu-readelf does not know how to dissect DW_AT_discr_list

2019-05-02 Thread tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24509 --- Comment #3 from Tom Tromey --- To check for negative values, I think you can add another clause, here's what I did: package Rng is type Rec (I : Integer) is record case I is when Positive => C : Character;

[Bug tools/24509] eu-readelf does not know how to dissect DW_AT_discr_list

2019-05-09 Thread tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24509 --- Comment #5 from Tom Tromey --- FWIW the output looks reasonable to me now. Thanks for doing this! -- You are receiving this mail because: You are on the CC list for the bug.

[Bug tools/24550] New: eu-readelf does not know about DW_AT_GNU_bias

2019-05-13 Thread tromey at sourceware dot org
Component: tools Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org CC: elfutils-devel at sourceware dot org Target Milestone: --- The Ada compiler can emit DW_AT_GNU_bias in some situations. Here is "tt.adb": with Text_IO; u

[Bug tools/24550] eu-readelf does not know about DW_AT_GNU_{bias,numerator,denumerator}

2019-05-15 Thread tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24550 --- Comment #2 from Tom Tromey --- (In reply to Mark Wielaard from comment #1) > Could you help me with creating gnat examples that compile and show their > usage? For bias, the above works. > If I try to compile your example I get two warn

[Bug tools/24550] eu-readelf does not know about DW_AT_GNU_{bias,numerator,denumerator}

2019-05-15 Thread tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24550 --- Comment #3 from Tom Tromey --- > > There are three things that surprised me about this. > > First that the byte_size is 1, are these types really using a full byte and > > not 2 or 6 bits? > > I'm not totally sure what is going on here.

[Bug tools/24550] eu-readelf does not know about DW_AT_GNU_{bias,numerator,denumerator}

2019-05-15 Thread tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24550 --- Comment #4 from Tom Tromey --- BTW some of the oddities encountered might be good for dwarflint... -- You are receiving this mail because: You are on the CC list for the bug.

[Bug tools/24799] New: dwarflint could check .debug_names

2019-07-10 Thread tromey at sourceware dot org
Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org CC: elfutils-devel at sourceware dot org Target Milestone: --- It would be handy if dwarflint checked that .debug_names was complete and correct according to the rules in the DWARF

[Bug debuginfod/25502] New: debuginfod client should default to XDG cache

2020-02-04 Thread tromey at sourceware dot org
Component: debuginfod Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org CC: elfutils-devel at sourceware dot org Target Milestone: --- The debuginfod client defaults its cache to: static const char *cache_default_name

[Bug debuginfod/25502] debuginfod client should default to XDG cache

2020-02-07 Thread tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25502 --- Comment #3 from Tom Tromey --- (In reply to Mark Wielaard from comment #2) > What about the Default database file? Currently $HOME/.debuginfod.sqlite > > Should that go under $XDG_DATA_HOME/debuginfod/ ? > And then probably not as hidden

[Bug debuginfod/25502] debuginfod client should default to XDG cache

2020-02-18 Thread tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25502 --- Comment #6 from Tom Tromey --- > I think it's fair to default to XDG_CACHE_HOME since if the database is > particularly important to a user they'll probably just specify its location > like Mark said. FWIW I only really care about the beh

[Bug tools/30772] New: dwarflint checking for specification recursion

2023-08-16 Thread tromey at sourceware dot org via Elfutils-devel
Component: tools Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org CC: elfutils-devel at sourceware dot org Target Milestone: --- This idea comes from this thread: https://sourceware.org/pipermail/gdb-patches/2023-August/201655.html

[Bug libdw/26773] sleb128 values near INT64_MAX/MIN not correctly read

2020-10-22 Thread tromey at sourceware dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26773 --- Comment #1 from Tom Tromey --- I looked at this a little today. In addition to this bug, I think the _unchecked variants have another bug; namely they do: const size_t max = len_leb128 (int64_t) - 1; This limits the number of bytes re

[Bug tools/29150] Would be useful to have a filter in eu-readelf like --name=

2022-05-16 Thread tromey at sourceware dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29150 Tom Tromey changed: What|Removed |Added CC||tromey at sourceware dot org