In GDB, what is the difference between b main
and b *main
?
Similarly, is there any difference between x/10i main
and x/10i *main
? (10i is just an arbitrary example). What is the purpose of *
prior to addresses?
In GDB, what is the difference between b main
and b *main
?
Similarly, is there any difference between x/10i main
and x/10i *main
? (10i is just an arbitrary example). What is the purpose of *
prior to addresses?
For the break
command, the difference is described here.
For the examine
command, there is no difference.