radareorg / radare2-book

The Official Radare2 Book
https://book.rada.re
Creative Commons Attribution Share Alike 4.0 International
800 stars 227 forks source link

Gdb commands are wrong #291

Open moon-chilled opened 3 years ago

moon-chilled commented 3 years ago

Here, it says that gdb uses n to step into and s to step over, but it's actually the other way around.

(Also, the gdb command listings are inconsistent; some of them use the abbreviated forms and some use the expanded ones. E.G. s is short for step, but info registers can be shortened to i r.)

moon-chilled commented 3 years ago

Also, gdb uses advance and until to step until a specific address; not s.

wargio commented 3 years ago

can you submit a PR fixing this information with the correct one?

moon-chilled commented 3 years ago

Yes, will do that later today.

But would appreciate advice on what the best thing to do about abbreviations is: use abbreviated form? Expanded form? Show both?

wargio commented 3 years ago

probably both forms

trufae commented 4 months ago

still waiting for today