public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "qiyao at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug mi/15945] New: gdb.mi/mi-catch-load.exp failed on Windows
Date: Thu, 12 Sep 2013 00:29:00 -0000	[thread overview]
Message-ID: <bug-15945-4717@http.sourceware.org/bugzilla/> (raw)

https://sourceware.org/bugzilla/show_bug.cgi?id=15945

            Bug ID: 15945
           Summary: gdb.mi/mi-catch-load.exp failed on Windows
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mi
          Assignee: unassigned at sourceware dot org
          Reporter: qiyao at gcc dot gnu.org

Created attachment 7192
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7192&action=edit
Patch to fix compilation error in mi-catch-load.c

mi-catch-load.c can't be compiled successfully on Windows,

  mi-catch-load.c:18:19: fatal error: dlfcn.h: No such file or directory

with the patch attached applied, mi-catch-load.c can be compiled successfully.
However, there are two fails in the test result.

FAIL: gdb.mi/mi-catch-load.exp: catch-load: solib-event stop
FAIL: gdb.mi/mi-catch-load.exp: catch-unload: solib-event stop

222-catch-load -t mi-catch-load-so.so*^M
222^done,bkpt={number="2",type="catchpoint",disp="del",enabled="y",what="load
of library matching
mi-catch-load-so.so*",catch-type="load",thread-groups=["i1"],times="0"}^M^M
(gdb) ^M^M
~"Catchpoint 2 (load)"^M^M
PASS: gdb.mi/mi-catch-load.exp: catch-load: catch load
-exec-continue^M
^running^M^M
*running,thread-id="all"^M^M
(gdb) ^M^M
=thread-exited,id="1",group-id="i1"^M^M
=thread-group-exited,id="i1",exit-code="0"^M^M
*stopped,reason="exited-normally"^M^M
(gdb) ^M^M
FAIL: gdb.mi/mi-catch-load.exp: catch-load: solib-event stop

222-catch-unload -t mi-catch-load-so.so*^M
222^done,bkpt={number="2",type="catchpoint",disp="del",enabled="y",what="unload
of library matching
mi-catch-load-so.so*",catch-type="unload",thread-groups=["i1"],times="0"}^M^M
(gdb) ^M^M
~"Catchpoint 2 (unload)"^M^M
PASS: gdb.mi/mi-catch-load.exp: catch-unload: catch unload
-exec-continue^M
^running^M^M
*running,thread-id="all"^M^M
(gdb) ^M^M
=thread-exited,id="1",group-id="i1"^M^M
=thread-group-exited,id="i1",exit-code="0"^M^M
*stopped,reason="exited-normally"^M^M
(gdb) ^M^M
FAIL: gdb.mi/mi-catch-load.exp: catch-unload: solib-event stop

-- 
You are receiving this mail because:
You are on the CC list for the bug.


             reply	other threads:[~2013-09-12  0:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-12  0:29 qiyao at gcc dot gnu.org [this message]
2013-09-12  0:30 ` [Bug mi/15945] " qiyao at gcc dot gnu.org
2024-01-13 20:45 ` ssbssa at sourceware dot org

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=bug-15945-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).