Skip to contentSkip to conversation

Patch to fix GDB building

PATCH Simon Kagstrom 1 participant 1 message Sep 5, 2005

lore
Share & tools
lore
#0 lore raw

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
diff -r cd6f1a4e9a39 tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure
@@ -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
diff -r cd6f1a4e9a39 tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.in
@@ -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