From: "Jonathan M. McCune" <jonmccune@cmu.edu>
To: xen-devel@lists.xensource.com
Cc: Bryan Parno <parno@cmu.edu>
Subject: pdb missing files?
Date: Fri, 30 Sep 2005 01:58:38 -0400 [thread overview]
Message-ID: <433CD40E.6030907@cmu.edu> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 6790 bytes --]
Hello,
I'm trying to get PDB working in accordance with the instructions at
http://www.cl.cam.ac.uk/~sos22/replay.bk/docs/misc/XenDebugger-HOWTO and
a message from this list:
http://lists.xensource.com/archives/html/xen-devel/2004-08/msg00017.html
When I try to build pdb I first get errors because the Makefile is
configured to treat warnings as errors, and there are some warnings. I
decided to take my chances, and I removed Werror from CFLAGS in
tools/debugger/pdb/Makefile. At that point, the build failed because it
is unable to find xcs_proto.h. After some googling, it seems this
existed in the xen-unstable.hg tree earlier this month.
Is the PDB system currently broken?
Thanks,
-Jon
Output of errors from warnings:
root:01:20 AM:pdb $ make
make[1]: Entering directory
`/usr/src/xen-unstable.hg-20050930_orig/tools/debugger/pdb'
making ._bcdi/Process.di from Process.mli
making ._bcdi/Domain.di from Domain.mli
making ._bcdi/Xen_domain.di from Xen_domain.mli
making ._bcdi/xcs.di from xcs.mli
making ._bcdi/evtchn.di from evtchn.mli
making ._d/server.d from server.ml
making ._d/debugger.d from debugger.ml
making ._d/PDB.d from PDB.ml
making ._d/Process.d from Process.ml
making ._d/Domain.d from Domain.ml
making ._d/Xen_domain.d from Xen_domain.ml
making ._d/xcs.d from xcs.ml
making ._d/evtchn.d from evtchn.ml
making ._d/Intel.d from Intel.ml
making ._d/Util.d from Util.ml
make[1]: Leaving directory
`/usr/src/xen-unstable.hg-20050930_orig/tools/debugger/pdb'
make[1]: Entering directory
`/usr/src/xen-unstable.hg-20050930_orig/tools/debugger/pdb'
/usr/local/bin/ocamlc -c -g Util.ml
/usr/local/bin/ocamlc -c -g Intel.ml
/usr/local/bin/ocamlc -c -g evtchn.mli
/usr/local/bin/ocamlc -c -g evtchn.ml
/usr/local/bin/ocamlc -c -g xcs.mli
/usr/local/bin/ocamlc -c -g xcs.ml
/usr/local/bin/ocamlc -c -g Xen_domain.mli
/usr/local/bin/ocamlc -c -g Xen_domain.ml
/usr/local/bin/ocamlc -c -g Domain.mli
/usr/local/bin/ocamlc -c -g Domain.ml
/usr/local/bin/ocamlc -c -g Process.mli
/usr/local/bin/ocamlc -c -g Process.ml
/usr/local/bin/ocamlc -c -g PDB.ml
/usr/local/bin/ocamlc -c -g debugger.ml
/usr/local/bin/ocamlc -c -g server.ml
/usr/local/bin/ocamlc -c -cc "gcc" -ccopt " -m32 -march=i686 -I
../../../tools/python/xen/lowlevel/xc -I ../../../tools/libxc -I
../libxendebug -I ./linux-2.6-module -I /usr/local/lib/ocaml -Wall
-Werror -g \
\
-o pdb_caml_xc.o " pdb_caml_xc.c
/usr/local/bin/ocamlc -c -cc "gcc" -ccopt " -m32 -march=i686 -I
../../../tools/python/xen/lowlevel/xc -I ../../../tools/libxc -I
../libxendebug -I ./linux-2.6-module -I /usr/local/lib/ocaml -Wall
-Werror -g \
\
-o pdb_caml_domain.o " pdb_caml_domain.c
cc1: warnings being treated as errors
pdb_caml_domain.c: In function 'dom_read_memory':
pdb_caml_domain.c:221: warning: pointer targets in passing argument 6 of
'xendebug_read_memory' differ in signedness
pdb_caml_domain.c: In function 'dom_write_memory':
pdb_caml_domain.c:285: warning: pointer targets in passing argument 6 of
'xendebug_write_memory' differ in signedness
make[1]: *** [pdb_caml_domain.o] Error 2
make[1]: Leaving directory
`/usr/src/xen-unstable.hg-20050930_orig/tools/debugger/pdb'
make: *** [debug-code] Error 2
Output of errors from missing xcs_proto.h:
root:01:21 AM:pdb $ make
make[1]: Entering directory
`/usr/src/xen-unstable.hg-20050930_orig/tools/debugger/pdb'
/usr/local/bin/ocamlc -c -cc "gcc" -ccopt " -m32 -march=i686 -I
../../../tools/python/xen/lowlevel/xc -I ../../../tools/libxc -I
../libxendebug -I ./linux-2.6-module -I /usr/local/lib/ocaml -Wall -g \
\
-o pdb_caml_domain.o " pdb_caml_domain.c
pdb_caml_domain.c: In function 'dom_read_memory':
pdb_caml_domain.c:221: warning: pointer targets in passing argument 6 of
'xendebug_read_memory' differ in signedness
pdb_caml_domain.c: In function 'dom_write_memory':
pdb_caml_domain.c:285: warning: pointer targets in passing argument 6 of
'xendebug_write_memory' differ in signedness
/usr/local/bin/ocamlc -c -cc "gcc" -ccopt " -m32 -march=i686 -I
../../../tools/python/xen/lowlevel/xc -I ../../../tools/libxc -I
../libxendebug -I ./linux-2.6-module -I /usr/local/lib/ocaml -Wall -g \
\
-o pdb_caml_process.o " pdb_caml_process.c
/usr/local/bin/ocamlc -c -cc "gcc" -ccopt " -m32 -march=i686 -I
../../../tools/python/xen/lowlevel/xc -I ../../../tools/libxc -I
../libxendebug -I ./linux-2.6-module -I /usr/local/lib/ocaml -Wall -g \
\
-o pdb_caml_evtchn.o " pdb_caml_evtchn.c
/usr/local/bin/ocamlc -c -cc "gcc" -ccopt " -m32 -march=i686 -I
../../../tools/python/xen/lowlevel/xc -I ../../../tools/libxc -I
../libxendebug -I ./linux-2.6-module -I /usr/local/lib/ocaml -Wall -g \
\
-o pdb_caml_xcs.o " pdb_caml_xcs.c
pdb_caml_xcs.c:27:23: error: xcs_proto.h: No such file or directory
pdb_caml_xcs.c: In function 'xcs_write_message':
pdb_caml_xcs.c:87: error: 'xcs_msg_t' undeclared (first use in this
function)
pdb_caml_xcs.c:87: error: (Each undeclared identifier is reported only once
pdb_caml_xcs.c:87: error: for each function it appears in.)
pdb_caml_xcs.c:87: error: syntax error before 'my_msg'
pdb_caml_xcs.c:90: error: 'my_msg' undeclared (first use in this function)
pdb_caml_xcs.c:90: error: 'XCS_REQUEST' undeclared (first use in this
function)
pdb_caml_xcs.c: In function 'xcs_read_message':
pdb_caml_xcs.c:120: error: 'xcs_msg_t' undeclared (first use in this
function)
pdb_caml_xcs.c:120: error: syntax error before 'msg'
pdb_caml_xcs.c:122: error: 'msg' undeclared (first use in this function)
pdb_caml_xcs.c:130: error: 'XCS_REQUEST' undeclared (first use in this
function)
pdb_caml_xcs.c:152: error: 'XCS_RESPONSE' undeclared (first use in this
function)
pdb_caml_xcs.c: In function 'xcs_connect':
pdb_caml_xcs.c:186: error: 'xcs_msg_t' undeclared (first use in this
function)
pdb_caml_xcs.c:186: error: syntax error before 'msg'
pdb_caml_xcs.c:208: error: 'msg' undeclared (first use in this function)
pdb_caml_xcs.c:208: error: 'XCS_CONNECT_CTRL' undeclared (first use in
this function)
pdb_caml_xcs.c:214: error: 'XCS_RSLT_OK' undeclared (first use in this
function)
pdb_caml_xcs.c:242: error: 'XCS_CONNECT_DATA' undeclared (first use in
this function)
pdb_caml_xcs.c:257: error: 'XCS_MSG_BIND' undeclared (first use in this
function)
pdb_caml_xcs.c:258: error: 'PORT_WILDCARD' undeclared (first use in this
function)
make[1]: *** [pdb_caml_xcs.o] Error 2
make[1]: Leaving directory
`/usr/src/xen-unstable.hg-20050930_orig/tools/debugger/pdb'
make: *** [debug-code] Error 2
[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3170 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2005-09-30 5:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-30 5:58 Jonathan M. McCune [this message]
2005-09-30 6:13 ` pdb missing files? Kip Macy
2005-09-30 6:27 ` Jonathan McCune
2005-09-30 6:42 ` Kip Macy
2005-09-30 7:04 ` Jonathan McCune
2005-09-30 7:16 ` Kip Macy
2005-09-30 7:26 ` NAHieu
2005-09-30 7:44 ` Kip Macy
2005-09-30 16:15 ` Jonathan M. McCune
2005-09-30 16:26 ` Ewan Mellor
2005-09-30 18:03 ` Kip Macy
2005-09-30 20:30 ` Jonathan M. McCune
2005-09-30 20:49 ` Kip Macy
2005-09-30 21:11 ` Jonathan M. McCune
2005-10-05 15:35 ` Steven Smith
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=433CD40E.6030907@cmu.edu \
--to=jonmccune@cmu.edu \
--cc=parno@cmu.edu \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.