forked from cs01/gdbgui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Chad Smith
committed
Feb 16, 2017
1 parent
1bcde27
commit 03a5a79
Showing
1 changed file
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
# Examples | ||
|
||
## C | ||
Clone gdbgui: | ||
|
||
git clone https://github.com/cs01/gdbgui.git | ||
cd gdbgui | ||
|
||
Running the following commands will: | ||
|
||
* open a new tab in your browser | ||
* load the inferior binary | ||
* insert a breakpoint at main | ||
|
||
Enter the `examples` directory then type | ||
You must click the run icon to begin running the program. | ||
|
||
## C | ||
|
||
make -C examples hello_c_binary | ||
gdbgui/backend.py examples/hello_c_binary | ||
|
||
|
||
## C++ | ||
|
||
Enter the `examples` directory then type | ||
|
||
make -C examples hello_cpp | ||
gdbgui/backend.py examples/hello_cpp_binary |