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 tui/10771] New: Crash when using "layout next" without running process


Using gdb 7.0-debian (from unstable) I stumbled upon the following bug: if you
run "gdb -tui any-program-with-debug-info" and immediately enter "layout next"
in the gdb window it crashes with:

(gdb) layout next
/tmp/buildd/gdb-7.0/gdb/gdbarch.c:1428: internal-error: gdbarch_addr_bit:
Assertion `gdbarch != NULL' failed.

This is, of course, easy to work around (layout works fine when running the
program) but should probably be easy to fix as well so I wanted to report it in
case it can be useful. Please let me know if you have any trouble reproducing
this and I'll try to provide more information.

Thanks!

-- 
           Summary: Crash when using "layout next" without running process
           Product: gdb
           Version: 7.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: tui
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: vz-gdb at zeitlins dot org
                CC: gdb-prs at sourceware dot org
  GCC host triplet: x86_64-unknown-linux-gnu


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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