http://sourceware.org/bugzilla/show_bug.cgi?id=15125

             Bug #: 15125
           Summary: Improve error message for objcopy --add-gnu-debuglink
                    when section already exists
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: binutils
        AssignedTo: unassig...@sourceware.org
        ReportedBy: bob....@riverbed.com
    Classification: Unclassified


When you try to run:

objcopy --add-gnu-debuglink='strip_file' objfile

and objfile already has a .gnu_debuglink section you get this error:

objcopy: strip_file: Invalid operation

It would be nice if the error message mentioned that the section already
existed and that the section had to first be removed and then added.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to