Patch to fix GDB building
Hello,
The attached patch against Xen-unstable corrects building of GDB for Xen domains (it tried to link against the xc library which seems to be renamed to xenctrl). I also added a README file in tools/debugger/gdb which describes how to get GDB working for debugging Xen domains (based on a mail by Tim Newsham).
// Simon
tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure +1 -1
@@ -3475,7 +3475,7 @@ GDBSERVER_DEPFILES="$srv_regobj $srv_tgtobj $srv_thread_depfiles" -GDBSERVER_LIBS="$srv_libs -L../../../../../libxc/ -lxc" +GDBSERVER_LIBS="$srv_libs -L../../../../../libxc/ -lxenctrl"
tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.in +1 -1
@@ -107,7 +107,7 @@ GDBSERVER_DEPFILES="$srv_regobj $srv_tgtobj $srv_thread_depfiles" -GDBSERVER_LIBS="$srv_libs -L../../../../../libxc/ -lxc" +GDBSERVER_LIBS="$srv_libs -L../../../../../libxc/ -lxenctrl" AC_SUBST(GDBSERVER_DEPFILES) AC_SUBST(GDBSERVER_LIBS)
tools/debugger/gdb/README new file +41 -0
41 lines not on this page · raw message
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel