Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
t7ko-seagate committed May 13, 2022
1 parent ff6faaf commit 0b464da
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions gdb.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
* `set print pretty on`
* `enable pretty-printer`
* Examining memory (`x/nfu address`): https://sourceware.org/gdb/current/onlinedocs/gdb/Memory.html
*

```
break foo if x>0
commands
silent
printf "x is %d\n",x
cont
end
```

0 comments on commit 0b464da

Please sign in to comment.