public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug mi/18326] New: infinite loop by used mi commands in a command file
@ 2015-04-24 20:44 red.skotina at gmail dot com
2022-08-12 19:55 ` [Bug mi/18326] " tromey at sourceware dot org
0 siblings, 1 reply; 2+ messages in thread
From: red.skotina at gmail dot com @ 2015-04-24 20:44 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=18326
Bug ID: 18326
Summary: infinite loop by used mi commands in a command file
Product: gdb
Version: 7.9
Status: NEW
Severity: normal
Priority: P2
Component: mi
Assignee: unassigned at sourceware dot org
Reporter: red.skotina at gmail dot com
Overview:
mi commands in a command file forced GDB to go into an infinite loop.
Steps to Reproduce:
gdb -x gdb-x-test.mi
#gdb-x-test.mi
interpreter-exec mi "-file-exec-and-symbols --thread-group i1
pretty_printing_test.exe"
interpreter-exec mi "-exec-run"
Actual Results:
C:\gdb79\bin>gdb -q -x gdb-x-test.mi
[New Thread 6268.0x57c]
[Inferior 1 (process 6268) exited normally]
^done
~"[New Thread 1652.0xba4]\n"
~"[Inferior 1 (process 1652) exited normally]\n"
^done,reason="exited-normally"
(gdb) select: Bad file descriptor.
(gdb) select: Bad file descriptor.
(gdb) select: Bad file descriptor.
...
Expected Results:
[Inferior 1 (process 6268) exited normally]
^done
~"[New Thread 1652.0xba4]\n"
~"[Inferior 1 (process 1652) exited normally]\n"
^done,reason="exited-normally"
Build Date & Hardware:
Build 2015-22-04 on Windows 7 x64 (i686-mingw-w64)
Additional Information:
Same with 7.8 compiled by mingw-w64 (concrete mingw-w64-x32 package for
windows)
Same with -ix commandline option and with 'source' command from gdb shell.
If i dont use mi then all is good.
Sample:
#gdb-x-test.mi
file pretty_printing_test.exe
run
Probably readline library can not handle properly with end of script.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug mi/18326] infinite loop by used mi commands in a command file
2015-04-24 20:44 [Bug mi/18326] New: infinite loop by used mi commands in a command file red.skotina at gmail dot com
@ 2022-08-12 19:55 ` tromey at sourceware dot org
0 siblings, 0 replies; 2+ messages in thread
From: tromey at sourceware dot org @ 2022-08-12 19:55 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=18326
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
This works for me.
Note there is bug #15811 - but this works fine even without
the patch for that one.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-12 19:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-24 20:44 [Bug mi/18326] New: infinite loop by used mi commands in a command file red.skotina at gmail dot com
2022-08-12 19:55 ` [Bug mi/18326] " 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).