This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/15888] New: Architecture.name fails with ../../gdb-7.6/gdb/gdbarch.c:1423: internal-error: gdbarch_bfd_arch_info: Assertion `gdbarch != NULL'


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

            Bug ID: 15888
           Summary: Architecture.name fails with
                    ../../gdb-7.6/gdb/gdbarch.c:1423: internal-error:
                    gdbarch_bfd_arch_info: Assertion `gdbarch != NULL'
           Product: gdb
           Version: 7.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: mail at dbalan dot in

GDB 7.6 from arch repositories and from RTEMS toolchain builder.

Output: 
(gdb) pi
>>> ar = gdb.Architecture()
>>> ar.name()
gdbarch.c:1423: internal-error: gdbarch_bfd_arch_info: Assertion `gdbarch !=
NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) n

(Complete output here: http://pastebin.com/KhaWaMVi)

Steps to reproduce:

Call Architecture.name() from gdb.Architecture with the executable file
loaded/not loaded.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]