public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/10720] GDB goes into background when "-x" and target-async are used
       [not found] <bug-10720-4717@http.sourceware.org/bugzilla/>
@ 2011-08-24  7:31 ` jan.kratochvil at redhat dot com
  2011-09-04 21:11 ` cvs-commit at gcc dot gnu.org
  2011-09-26 15:37 ` jan.kratochvil at redhat dot com
  2 siblings, 0 replies; 6+ messages in thread
From: jan.kratochvil at redhat dot com @ 2011-08-24  7:31 UTC (permalink / raw)
  To: gdb-prs

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

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan.kratochvil at redhat
                   |                            |dot com

--- Comment #3 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2011-08-24 07:29:33 UTC ---
*** Bug 12260 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug gdb/10720] GDB goes into background when "-x" and target-async are used
       [not found] <bug-10720-4717@http.sourceware.org/bugzilla/>
  2011-08-24  7:31 ` [Bug gdb/10720] GDB goes into background when "-x" and target-async are used jan.kratochvil at redhat dot com
@ 2011-09-04 21:11 ` cvs-commit at gcc dot gnu.org
  2011-09-26 15:37 ` jan.kratochvil at redhat dot com
  2 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2011-09-04 21:11 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-09-02 21:16:58 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    ratmice@sourceware.org    2011-09-02 21:16:54

Modified files:
    gdb            : ChangeLog event-top.c 
    gdb/testsuite  : ChangeLog 
Added files:
    gdb/testsuite/gdb.python: py-prompt.c py-prompt.exp 
    gdb/testsuite/lib: prompt.exp 

Log message:
    PR gdb/10720
    * event-top.c (cli_command_loop): Replace readline setup with
    direct call to display_gdb_prompt.
    (display_gdb_prompt): Do not call observer mechanism during
    synchronous execution.

    testsuite:
    * lib/prompt.exp: New file for testing the first prompt.
    * gdb.python/py-prompt.exp: Ditto.
    * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13296&r2=1.13297
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/event-top.c.diff?cvsroot=src&r1=1.81&r2=1.82
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2844&r2=1.2845
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-prompt.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-prompt.exp.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/lib/prompt.exp.diff?cvsroot=src&r1=NONE&r2=1.1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug gdb/10720] GDB goes into background when "-x" and target-async are used
       [not found] <bug-10720-4717@http.sourceware.org/bugzilla/>
  2011-08-24  7:31 ` [Bug gdb/10720] GDB goes into background when "-x" and target-async are used jan.kratochvil at redhat dot com
  2011-09-04 21:11 ` cvs-commit at gcc dot gnu.org
@ 2011-09-26 15:37 ` jan.kratochvil at redhat dot com
  2 siblings, 0 replies; 6+ messages in thread
From: jan.kratochvil at redhat dot com @ 2011-09-26 15:37 UTC (permalink / raw)
  To: gdb-prs

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

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2011-09-23 15:03:23 UTC ---
Fixed by the Matt Rice's check-in.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug gdb/10720] GDB goes into background when "-x" and target-async are used
  2009-10-02  5:44 [Bug gdb/10720] New: " nenad at intrepid dot com
  2010-01-26 16:02 ` [Bug gdb/10720] " timo dot suoranta at acrodea dot co dot jp
  2010-01-26 16:09 ` timo dot suoranta at acrodea dot co dot jp
@ 2010-01-28 13:22 ` timo dot suoranta at acrodea dot co dot jp
  2 siblings, 0 replies; 6+ messages in thread
From: timo dot suoranta at acrodea dot co dot jp @ 2010-01-28 13:22 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From timo dot suoranta at acrodea dot co dot jp  2010-01-28 13:22 -------
Looks like remote+async+ source command will also end up with endless loop of
&"select: Bad file descriptor.\n" -lines when script ends.

-- 


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

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


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

* [Bug gdb/10720] GDB goes into background when "-x" and target-async are used
  2009-10-02  5:44 [Bug gdb/10720] New: " nenad at intrepid dot com
  2010-01-26 16:02 ` [Bug gdb/10720] " timo dot suoranta at acrodea dot co dot jp
@ 2010-01-26 16:09 ` timo dot suoranta at acrodea dot co dot jp
  2010-01-28 13:22 ` timo dot suoranta at acrodea dot co dot jp
  2 siblings, 0 replies; 6+ messages in thread
From: timo dot suoranta at acrodea dot co dot jp @ 2010-01-26 16:09 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timo dot suoranta at acrodea
                   |                            |dot co dot jp


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

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


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

* [Bug gdb/10720] GDB goes into background when "-x" and target-async are used
  2009-10-02  5:44 [Bug gdb/10720] New: " nenad at intrepid dot com
@ 2010-01-26 16:02 ` timo dot suoranta at acrodea dot co dot jp
  2010-01-26 16:09 ` timo dot suoranta at acrodea dot co dot jp
  2010-01-28 13:22 ` timo dot suoranta at acrodea dot co dot jp
  2 siblings, 0 replies; 6+ messages in thread
From: timo dot suoranta at acrodea dot co dot jp @ 2010-01-26 16:02 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From timo dot suoranta at acrodea dot co dot jp  2010-01-26 16:02 -------
With 7.0.50.20100125, just having

interpreter-exec mi "-gdb-set target-async 1"
interpreter-exec mi "-target-select remote localhost:2000"

in script run with ./gdb.exe -fullname -quiet -nx -i=mi2 -x gdbinit.txt gives me
endless flood of lines like this:

&"select: Bad file descriptor.\n"
&"select: Bad file descriptor.\n"
&"select: Bad file descriptor.\n"

(needs a remote target to connect to)


-- 


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

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


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

end of thread, other threads:[~2011-09-23 15:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-10720-4717@http.sourceware.org/bugzilla/>
2011-08-24  7:31 ` [Bug gdb/10720] GDB goes into background when "-x" and target-async are used jan.kratochvil at redhat dot com
2011-09-04 21:11 ` cvs-commit at gcc dot gnu.org
2011-09-26 15:37 ` jan.kratochvil at redhat dot com
2009-10-02  5:44 [Bug gdb/10720] New: " nenad at intrepid dot com
2010-01-26 16:02 ` [Bug gdb/10720] " timo dot suoranta at acrodea dot co dot jp
2010-01-26 16:09 ` timo dot suoranta at acrodea dot co dot jp
2010-01-28 13:22 ` timo dot suoranta at acrodea dot co dot jp

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).