0

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?

zach
  • 95
  • 1
  • 7
  • 1
    i believe u can find some solution here :https://stackoverflow.com/a/40962367/14436359 – Hikachu Jun 19 '21 at 12:32
  • Still, the "x" instruction produces the same result, with or without ``*`` (at least at an example I tried myself) – zach Jun 19 '21 at 12:59

1 Answers1

0

For the break command, the difference is described here.

For the examine command, there is no difference.

Employed Russian
  • 199,314
  • 34
  • 295
  • 362