public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/18464] New: unknown value in GNU .note.ABI-tag should not cause a crash
@ 2015-05-29 16:21 roland at gnu dot org
  2015-05-29 16:21 ` [Bug gdb/18464] " roland at gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: roland at gnu dot org @ 2015-05-29 16:21 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18464

            Bug ID: 18464
           Summary: unknown value in GNU .note.ABI-tag should not cause a
                    crash
           Product: gdb
           Version: 7.9
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: roland at gnu dot org
  Target Milestone: ---

When an executable has a .note.ABI-tag section with vendor "GNU", and a first
word (ABI tag value) that is unrecognized, GDB gets an assertion failure (calls
internal_error).  This kind of error is inappropriate for diagnosing the
content of an input file.  It should be a simple runtime warning instead.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/18464] unknown value in GNU .note.ABI-tag should not cause a crash
  2015-05-29 16:21 [Bug gdb/18464] New: unknown value in GNU .note.ABI-tag should not cause a crash roland at gnu dot org
@ 2015-05-29 16:21 ` roland at gnu dot org
  2015-05-29 16:32 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: roland at gnu dot org @ 2015-05-29 16:21 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18464

Roland McGrath <roland at gnu dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at sourceware dot org   |roland at gnu dot org

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/18464] unknown value in GNU .note.ABI-tag should not cause a crash
  2015-05-29 16:21 [Bug gdb/18464] New: unknown value in GNU .note.ABI-tag should not cause a crash roland at gnu dot org
  2015-05-29 16:21 ` [Bug gdb/18464] " roland at gnu dot org
@ 2015-05-29 16:32 ` cvs-commit at gcc dot gnu.org
  2015-05-29 17:27 ` cvs-commit at gcc dot gnu.org
  2015-05-29 17:35 ` roland at gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-05-29 16:32 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18464

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Roland McGrath <roland@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c8f6c93cb29febd6b8174a20eb35368e70f62faa

commit c8f6c93cb29febd6b8174a20eb35368e70f62faa
Author: Roland McGrath <mcgrathr@chromium.org>
Date:   Fri May 29 09:24:36 2015 -0700

    PR gdb/18464: Do not crash on unrecognized GNU .note.ABI-tag values

    Diagnosis of unexpected input (in this case, in an executable file)
    should not crash as if it were a bug in GDB.

    gdb/
        PR gdb/18464
        * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use warning
        rather than internal_error for an unrecognized value.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/18464] unknown value in GNU .note.ABI-tag should not cause a crash
  2015-05-29 16:21 [Bug gdb/18464] New: unknown value in GNU .note.ABI-tag should not cause a crash roland at gnu dot org
  2015-05-29 16:21 ` [Bug gdb/18464] " roland at gnu dot org
  2015-05-29 16:32 ` cvs-commit at gcc dot gnu.org
@ 2015-05-29 17:27 ` cvs-commit at gcc dot gnu.org
  2015-05-29 17:35 ` roland at gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-05-29 17:27 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18464

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The gdb-7.9-branch branch has been updated by Roland McGrath
<roland@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=509cc2cf714f6a194ab27610f4db429579f6090b

commit 509cc2cf714f6a194ab27610f4db429579f6090b
Author: Roland McGrath <mcgrathr@chromium.org>
Date:   Fri May 29 09:24:36 2015 -0700

    PR gdb/18464: Do not crash on unrecognized GNU .note.ABI-tag values

    Diagnosis of unexpected input (in this case, in an executable file)
    should not crash as if it were a bug in GDB.

    gdb/
        PR gdb/18464
        * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use warning
        rather than internal_error for an unrecognized value.

    (cherry picked from commit c8f6c93cb29febd6b8174a20eb35368e70f62faa)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/18464] unknown value in GNU .note.ABI-tag should not cause a crash
  2015-05-29 16:21 [Bug gdb/18464] New: unknown value in GNU .note.ABI-tag should not cause a crash roland at gnu dot org
                   ` (2 preceding siblings ...)
  2015-05-29 17:27 ` cvs-commit at gcc dot gnu.org
@ 2015-05-29 17:35 ` roland at gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: roland at gnu dot org @ 2015-05-29 17:35 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18464

Roland McGrath <roland at gnu dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Roland McGrath <roland at gnu dot org> ---
Fixed on trunk and 7.9.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-05-29 17:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-29 16:21 [Bug gdb/18464] New: unknown value in GNU .note.ABI-tag should not cause a crash roland at gnu dot org
2015-05-29 16:21 ` [Bug gdb/18464] " roland at gnu dot org
2015-05-29 16:32 ` cvs-commit at gcc dot gnu.org
2015-05-29 17:27 ` cvs-commit at gcc dot gnu.org
2015-05-29 17:35 ` roland at gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).