Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Denis PILAT <denis.pilat@st.com>
To: Pedro Alves <pedro_alves@portugalmail.pt>,
	        gdb-patches <gdb-patches@sourceware.org>
Subject: Re: TUI + gdbserver broken?
Date: Wed, 14 Mar 2007 08:29:00 -0000	[thread overview]
Message-ID: <45F7B25E.3090800@st.com> (raw)
In-Reply-To: <45F7480C.5010207@portugalmail.pt>

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 
<procfs_set_exec_trap>, init_trace_fun=0x63940 <procfs_init_inferior>,
    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


       reply	other threads:[~2007-03-14  8:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <45F7480C.5010207@portugalmail.pt>
2007-03-14  8:29 ` Denis PILAT [this message]
2007-03-19  1:53 Pedro Alves
2007-03-19  2:11 ` Daniel Jacobowitz
2007-03-19 15:58   ` Denis PILAT
2007-03-27 20:09     ` Daniel Jacobowitz
2007-03-19 21:43   ` Pedro Alves
2007-03-19 22:14     ` Daniel Jacobowitz
2007-03-19 23:31       ` Pedro Alves
2007-03-19 23:41         ` Daniel Jacobowitz
2007-03-20  0:39           ` Pedro Alves
2007-03-20  2:56             ` Daniel Jacobowitz
2007-03-20  9:05               ` Pedro Alves
2007-03-20 23:21                 ` Pedro Alves
2007-03-22  2:51                   ` Pedro Alves
2007-03-27 20:15                     ` Daniel Jacobowitz
2007-03-29  2:26                       ` Pedro Alves
2007-03-29 18:55                         ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45F7B25E.3090800@st.com \
    --to=denis.pilat@st.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro_alves@portugalmail.pt \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox