From a38d001cfe80c29291fb02a02fe8b624562db91c Mon Sep 17 00:00:00 2001 From: andrew Date: Mon, 6 Aug 2018 00:25:33 -0400 Subject: docs: A little cleanup and added some gdb examples. docs: Added section on running VPP for developers. Change-Id: I98b5c6f1c9fee60b297e3947e78ec33f950f598a Signed-off-by: andrew --- docs/gettingstarted/developers/running_vpp.rst | 40 ++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 docs/gettingstarted/developers/running_vpp.rst (limited to 'docs/gettingstarted/developers/running_vpp.rst') diff --git a/docs/gettingstarted/developers/running_vpp.rst b/docs/gettingstarted/developers/running_vpp.rst new file mode 100644 index 00000000000..4c717af3e19 --- /dev/null +++ b/docs/gettingstarted/developers/running_vpp.rst @@ -0,0 +1,40 @@ +.. _running_vpp: + +.. toctree:: + +Running VPP +=========== + +After build the VPP binaries, there a several to run the images you've built. These is useful when +if you need to run VPP without installing the packages. For instance if you want to run VPP with GDB. + +Without GDB +_________________________ + +To run the VPP images, that you've build without GDB. + +Running the release image: + +.. code-block:: console + + # make run-release + # + +With GDB +_________________________ + +With the following commands you can run VPP and then be dropped into the GDB prompt. + +Running the release image: + +.. code-block:: console + + # make debug-release + (gdb) + +Running the debug image: + +.. code-block:: console + + # make debug + (gdb) -- cgit 1.2.3-korg