public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/28900] New: GDB crash on loading symbols form openbios binary
@ 2022-02-16 22:02 development at efficientek dot com
  2022-02-17  0:43 ` [Bug symtab/28900] " simark at simark dot ca
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: development at efficientek dot com @ 2022-02-16 22:02 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 28900
           Summary: GDB crash on loading symbols form openbios binary
           Product: gdb
           Version: 11.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: development at efficientek dot com
  Target Milestone: ---

Created attachment 13985
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13985&action=edit
OpenBIOS qemu-ppc build with symbols

GDB crashes when loading the symbols from the attached binary, which is the
qemu-ppc build of openbios.

I'm using this toolchain from builtroot:
https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc
64le-power8/tarballs/powerpc64le-power8--glibc--bleeding-edge-2021.11-2.tar.bz2

To reproduce the issue, run the following command:
./powerpc64le-power8--glibc--bleeding-edge-2021.11-2/bin/powerpc64le-buildroot-linux-gnu-gdb
-ex 'set verbose on' -ex 'set debug symfile on' -ex 'set debug symtab-create
99' -ex "symbol-file $PWD/openbios-qemu.elf.nostrip"

The last few lines of output, which give a clue to the issue are:

Recording minsym:  mst_text                       0xfff33824     1  escc_init
Recording minsym:  mst_text                       0xfff2b950     1  adb_cmd
Recording minsym:  mst_text                       0xfff0938c     1  free
Recording minsym:  mst_bss                        0xfffdd150     6  FSYS_BUF
Installing 2364 minimal symbols of objfile
/home/user/openbios-qemu.elf.nostrip.
Done reading minimal symbols.
sf->sym_relocate (openbios-qemu.elf.nostrip, 0x22607a8, 0x0) = 0x0
Aborted

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

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

end of thread, other threads:[~2022-04-29 19:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-16 22:02 [Bug symtab/28900] New: GDB crash on loading symbols form openbios binary development at efficientek dot com
2022-02-17  0:43 ` [Bug symtab/28900] " simark at simark dot ca
2022-02-17 16:17 ` development at efficientek dot com
2022-02-17 16:26 ` simark at simark dot ca
2022-02-17 16:28 ` simark at simark dot ca
2022-02-17 16:47 ` schwab@linux-m68k.org
2022-02-17 18:44 ` development at efficientek dot com
2022-02-18 16:52 ` tromey at sourceware dot org
2022-02-18 16:57 ` simark at simark dot ca
2022-02-19 19:53 ` aburgess at redhat dot com
2022-02-21 11:49 ` cvs-commit at gcc dot gnu.org
2022-02-21 12:06 ` aburgess at redhat dot com
2022-04-29 19:54 ` tromey at sourceware 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).