From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17747 invoked by alias); 14 Mar 2007 08:29:48 -0000 Received: (qmail 17737 invoked by uid 22791); 14 Mar 2007 08:29:47 -0000 X-Spam-Check-By: sourceware.org Received: from lon-del-03.spheriq.net (HELO lon-del-03.spheriq.net) (195.46.50.99) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 Mar 2007 08:29:38 +0000 Received: from lon-out-01.spheriq.net ([195.46.50.129]) by lon-del-03.spheriq.net with ESMTP id l2E8TaCD021209 for ; Wed, 14 Mar 2007 08:29:36 GMT Received: from lon-cus-01.spheriq.net (lon-cus-01.spheriq.net [195.46.50.37]) by lon-out-01.spheriq.net with ESMTP id l2E8TYQk019495 for ; Wed, 14 Mar 2007 08:29:35 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by lon-cus-01.spheriq.net with ESMTP id l2E8TWu6021187 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 14 Mar 2007 08:29:34 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 5D997DA48; Wed, 14 Mar 2007 08:29:20 +0000 (GMT) Received: from mail1.cro.st.com (mail1.cro.st.com [164.129.40.131]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 123D6472C8; Wed, 14 Mar 2007 08:29:20 +0000 (GMT) Received: from [164.129.44.95] (crx595.cro.st.com [164.129.44.95]) by mail1.cro.st.com (MOS 3.7.5a-GA) with ESMTP id CJZ06982 (AUTH "denis pilat"); Wed, 14 Mar 2007 09:29:19 +0100 (CET) Message-ID: <45F7B25E.3090800@st.com> Date: Wed, 14 Mar 2007 08:29:00 -0000 From: Denis PILAT User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: Pedro Alves , gdb-patches Subject: Re: TUI + gdbserver broken? References: <45F7480C.5010207@portugalmail.pt> In-Reply-To: <45F7480C.5010207@portugalmail.pt> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00136.txt.bz2 Pedro Alves wrote: > Hi, > > TUI + gdbserver seems to be broken on head. Can't reproduce when > TUI + native debugging. > As far as the TUI is concerned: It's broken with Solaris Native debugging. I've spent a few hours debugging that problem but I have not solution yet !! I also tried using deprecated_get_selected_frame without any better results :( This problem is present in the CVS HEAD but also in the 6.6 released version, so I don't think it comes from recent changes. -- Denis P.S. here is the backtrace I got in the native solaris TUI Program received signal SIGTTIN, Stopped (tty input). Line: ?? PC: 0xff3a3958 0xff19e880 in _read () from /usr/lib/libc.so.1 (gdb) btto change it and/or distribute copies of it under certain conditions. #0 0xff19e880 in _read () from /usr/lib/libc.so.1 #1 0xff33da4c in _chkinput () from /usr/lib/libcurses.so.1ty" for details. #2 0xff34e680 in wrefresh () from /usr/lib/libcurses.so.1 #3 0x00095628 in tui_refresh_win (win_info=0x2e73c4) at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/tui/tui-wingeneral.c:63testsuite/gdb.base/break.c, line 90. #4 0x00092b18 in tui_show_locator_content () at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/tui/tui-stack.c:261 #5 0x00092db8 in tui_show_frame_info (fi=0x317890)uild-sts-gdb-repository/cvshead-sol8/gdb/testsuite/gdb.base/break at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/tui/tui-stack.c:341 #6 0x0008e6bc in tui_selected_frame_level_changed_hook (level=0) at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/tui/tui-hooks.c:249 #7 0x0016a4f8 in select_frame (fi=0x317890) at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/frame.c:986 #8 0x0016a3bc in get_selected_frame (message=0x0) at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/frame.c:956 #9 0x0016a48c in deprecated_safe_get_selected_frame () at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/frame.c:972 #10 0x0008e684 in tui_selected_frame_level_changed_hook (level=-1) at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/tui/tui-hooks.c:233 #11 0x0016a4f8 in select_frame (fi=0x0) at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/frame.c:986 #12 0x0016a80c in reinit_frame_cache () at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/frame.c:1086 #13 0x000d66e8 in handle_inferior_event (ecs=0xffbee0a0) at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/infrun.c:1306 #14 0x000d5f38 in wait_for_inferior () at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/infrun.c:1007 #15 0x00177020 in startup_inferior (ntraps=2) at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/fork-child.c:435 #16 0x00063bc0 in procfs_init_inferior (pid=3577048) at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/procfs.c:4872 #17 0x00176fa4 in fork_inferior ( exec_file_arg=0x340418 "/project/flexdbug/user/pd10/gdb/build-sts-gdb-repository/cvshead-sol8/gdb/testsuite/gdb.base/break", allargs=0x327008 "", env=0x30bdd8, traceme_fun=0x63bcc , init_trace_fun=0x63940 , pre_trace_fun=0, shell_file_arg=0xffbef892 "/bin/tcsh") at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/fork-child.c:396 #18 0x00063ebc in procfs_create_inferior ( exec_file=0x340418 "/project/flexdbug/user/pd10/gdb/build-sts-gdb-repository/cvshead-sol8/gdb/testsuite/gdb.base/break", allargs=0x327008 ""Quit ) at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/procfs.c:5101 #19 0x0008b640 in sol_thread_create_inferior ( exec_file=0x340418 "/project/flexdbug/user/pd10/gdb/build-sts-gdb-repository/cvshead-sol8/gdb/testsuite/gdb.base/break", allargs=0x327008 "", env=0x30bdd8, from_tty=1) at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/sol-thread.c:758 #20 0x000fdaec in find_default_create_inferior ( exec_file=0x340418 "/project/flexdbug/user/pd10/gdb/build-sts-gdb-repository/cvshead-sol8/gdb/testsuite/gdb.base/break", allargs=0x327008 "", env=0x30bdd8, from_tty=1) at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/target.c:1768 #21 0x000d2724 in run_command_1 (args=0x0, from_tty=1, tbreak_at_main=0) at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/infcmd.c:558 #22 0x0007cb74 in do_cfunc (c=0x30b978, args=0x340418 "/project/flexdbug/user/pd10/gdb/build-sts-gdb-repository/cvshead-sol8/gdb/testsuite/gdb.base/break", from_tty=1) at /project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/cli/cli-decode.c:62