This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
gdb/2350: GNU/Solaris x86, GCC 3.4.6, C++
- From: giamby at infinito dot it
- To: gdb-gnats at sources dot redhat dot com
- Date: 29 Oct 2007 16:52:28 -0000
- Subject: gdb/2350: GNU/Solaris x86, GCC 3.4.6, C++
- Reply-to: giamby at infinito dot it
>Number: 2350
>Category: gdb
>Synopsis: GNU/Solaris x86, GCC 3.4.6, C++
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 29 16:58:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: giamby@infinito.it
>Release: GNU gdb 6.7
>Organization:
>Environment:
- OS: SunOS compilami 5.10 Generic_118855-33 i86pc i386 i86pc
- GCC: Configured with: ../configure --prefix=/geek-gadgets/i686-sun-solaris10/gcc-3.4.6 --enable-shared --enable-threads=posix --enable-languages=c,c++ --with-gnu-as --with-as=/geek-gadgets/i686-sun-solaris10/bin/as --without-gnu-ld --with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 3.4.6
- GDB: This GDB was configured as "i386-pc-solaris2.10"
- binutils: 2.18
GNU assembler version 2.18 (i386-pc-solaris2.10) using BFD version (GNU Binutils) 2.18
>Description:
GDB cores while executing "bt" (stack of the core attached).
I suspect that this could be caused by binutils 2.18 as they caused problems on a SPARC Solaris system too where I used GNU linker along with GCC.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="gdb-stack.txt"
Content-Disposition: inline; filename="gdb-stack.txt"
#0 process_die (die=0xa4be048, cu=0xa5625d8) at dwarf2read.c:4202
#1 0x0813cda4 in process_die (die=0xa2bc3c0, cu=0xa5625d8) at dwarf2read.c:4487
#2 0x0813d645 in process_die (die=0xa3e5030, cu=0xa5625d8) at dwarf2read.c:2877
#3 0x0813f20c in psymtab_to_symtab_1 (pst=0xa5625d8) at dwarf2read.c:2638
#4 0x0813f3f8 in dwarf2_psymtab_to_symtab (pst=0x88b5568) at dwarf2read.c:2374
#5 0x080f4d55 in psymtab_to_symtab (pst=0x88b5568) at symfile.c:287
#6 0x080f1db1 in find_pc_sect_symtab (pc=136517375, section=0x0) at symtab.c:1961
#7 0x080f1f01 in find_pc_sect_line (pc=136517375, section=0x0, notcurrent=1) at symtab.c:2114
#8 0x080f1e4d in find_pc_line (pc=577707323747931904, notcurrent=1) at symtab.c:2236
#9 0x0817c0ff in find_frame_sal (frame=0x831a8b0, sal=0x8046e80) at frame.c:1536
#10 0x08108f60 in print_frame_info (frame=0x831a8b0, print_level=1, print_what=LOCATION, print_args=1) at stack.c:455
#11 0x0810a649 in backtrace_command_stub (data=0x0) at stack.c:1186
#12 0x0810cf8f in catch_errors (func=0x810a550 <backtrace_command_stub>, func_args=0x8046f60, errstring=0x8269a70 "", mask=2)
at exceptions.c:513
#13 0x0810a344 in backtrace_command (arg=0x0, from_tty=0) at stack.c:1282
#14 0x08088844 in execute_command (p=0x82f055a "", from_tty=1) at top.c:449
#15 0x08110442 in command_handler (command=0x82f0558 "bt") at event-top.c:518
#16 0x081108f9 in command_line_handler (rl=0x83260f8 "bt") at event-top.c:804
#17 0x081aa91c in rl_callback_read_char () at callback.c:205
#18 0x0810fdeb in rl_callback_read_char_wrapper (client_data=0x0) at event-top.c:177
#19 0x0810f6c4 in handle_file_event (event_file_desc=172742416) at event-loop.c:728
#20 0x0810f17e in process_event () at event-loop.c:341
#21 0x0810f999 in gdb_do_one_event (data=0x0) at event-loop.c:378
#22 0x0810cf8f in catch_errors (func=0x810f870 <gdb_do_one_event>, func_args=0x0, errstring=0x8264c97 "", mask=6) at exceptions.c:513
#23 0x080c0b7f in tui_command_loop (data=0x0) at .././gdb/tui/tui-interp.c:152
#24 0x0810d1ff in current_interp_command_loop () at interps.c:276
#25 0x08083cf3 in captured_command_loop (data=0x0) at .././gdb/main.c:99
#26 0x0810cf8f in catch_errors (func=0x8083ce8 <captured_command_loop>, func_args=0x0, errstring=0x825e749 "", mask=6) at exceptions.c:513
#27 0x080843c3 in captured_main (data=0x0) at .././gdb/main.c:870
#28 0x0810cf8f in catch_errors (func=0x8083d20 <captured_main>, func_args=0x8047490, errstring=0x825e749 "", mask=6) at exceptions.c:513
#29 0x08084b3f in gdb_main (args=0xa4bd710) at .././gdb/main.c:879
#30 0x08083ccd in main (argc=0, argv=0x0) at gdb.c:33