This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/13860] New: Fail in gdb.mi/mi-solib.exp whendisplaced stepping is on


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

             Bug #: 13860
           Summary: Fail in gdb.mi/mi-solib.exp when displaced stepping is
                    on
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: unassigned@sourceware.org
        ReportedBy: qiyao@gcc.gnu.org
    Classification: Unclassified


When running gdb.mi/mi-solib.exp with displaced stepping turned on (native
gdb),  I get one fail,

FAIL: gdb.mi/mi-solib.exp: check for solib event (timeout)

gdb.log:
PASS: gdb.mi/mi-solib.exp: set stop-on-solib-events
run ^M
&"run \n"^M
~"Starting program:
/home/yao/SourceCode/gnu/gdb/git.new/build-x86/gdb/testsuite/gdb.mi/solib-main
\n"^M
=thread-group-started,id="i1",pid="2998"^M
=thread-created,id="1",group-id="i1"^M
^running^M
*running,thread-id="all"^M
=library-loaded,id="/lib/ld-linux.so.2",target-name="/lib/ld-linux.so.2",host-name="/lib/ld-linux.so.2",symbols-loaded="0",thread-group="i1"^M
(gdb) ^M
*stopped,reason="solib-event",thread-id="1",stopped-threads=["1"],core="3"^M
mi_expect_stop: expecting:
\*stopped,reason="solib-event",.*frame={addr="0x[0-9A-Fa-f]+",func=".*",args=\[.*\],(?:file="[^
]*.*",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z]:[^\n]*\\).*",line=".*"|from=".*")}.*,thread-id="[0-9]+",stopped-threads=[^
]*^M
(=thread-selected,id="[0-9]+"^M
|=(?:breakpoint-created|breakpoint-deleted)[^
]+"^M
)*
FAIL: gdb.mi/mi-solib.exp: check for solib event (timeout)


Looks like it is the test case should be revised to match the output,
considering gdb_prompt is displaced in the middle of output.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]