I don't know about PDB, but you'll see the permissions problem if gdbserver-xen is not run as root.
-Kip
> Sources from this week give me:
> [root@cirrus root]# uname -a
> Linux cirrus.x0d.com 2.6.12-xen0 #1 Mon Aug 29 10:04:03 HST 2005 i686 i686
> i386 GNU/Linux
> [ root@cirrus root]# gdbserver-xen 127.0.0.1:9999 --attach 1
> Dom0 operation failed -- need to rebuild the user-space tool set?
> dom0 op failed: Permission denied
> Cannot attach to domain 1: Permission denied (13)
>
> I did a clean rebulid of gdbserver-xen. Are the sources out of sync
> with the xen 'visor?
I gave pdb a whilr for good measure and it is similarly not working:
[root@cirrus libxendebug]# pdb 9999
ERROR: Could not obtain handle on privileged command interface (2 = No
such file or directory)
(pdb) error opening xc interface: 2 (No such file or directory)
ERROR: do_evtchn_op: HYPERVISOR_event_channel_op failed: -1
(pdb) evtchn_bind_virq error!
failure: [evtchn_bind_virq error]
This with a freshly built libxendbug and pdb.
Tim Newsham
http://www.lava.net/~newsham/
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel