https://sourceware.org/bugzilla/show_bug.cgi?id=32914
Bug ID: 32914 Summary: dwp is silent on missing dwo references in executable Product: binutils Version: 2.45 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: vries at gcc dot gnu.org CC: ian at airs dot com Target Milestone: --- There are two ways to specify input dwo files for dwp. Either: - you specify dwo files explicitly, or - you specify an executable, and then dwp has to find the dwo references in the executable. Now say we don't specify an executable, and no dwo files either, we get a fatal error: ... $ dwp -o a.out.dwp /home/vries/binutils/install/bin/dwp: fatal error: no input files and no executable specified ... However, say we generate an a.out without dwo file references: ... $ g++ test.cc -g $ dwp -e a.out $ ... That happens silently. Essentially this is another case of "no input files", and should probably also produce an error. -- You are receiving this mail because: You are on the CC list for the bug.