Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

The same thing is discussed a bit deeper herehere .

The same thing is discussed a bit deeper here .

The same thing is discussed a bit deeper here .

A few fixes
Source Link
perror
  • 19.2k
  • 29
  • 87
  • 150

To arrive to your _init_init function just continue execution. This will stop once again in the intended place.

According to information about shared libraries, it stopped first time in address area of libc.so libc.so, which looks like also has _init_init function, which caused gdbgdb to set this breakpoint there too (see breakpoint definition at the end of the listing).

To arrive to your _init function just continue execution. This will stop once again in the intended place.

According to information about shared libraries, it stopped first time in address area of libc.so , which looks like also has _init function, which caused gdb to set this breakpoint there too (see breakpoint definition at the end of the listing).

To arrive to your _init function just continue execution. This will stop once again in the intended place.

According to information about shared libraries, it stopped first time in address area of libc.so, which looks like also has _init function, which caused gdb to set this breakpoint there too (see breakpoint definition at the end of the listing).

added 251 characters in body
Source Link
w s
  • 8.5k
  • 1
  • 25
  • 40

If you want to set a breakpoint in your specific address, you can use

 b *address

notation. If you want to set a breakpoint on a specific function from specific source file you can use something like

(gdb) break test.c:call1

The same thing is discussed a bit deeper here .

Good luck.

Good luck.

If you want to set a breakpoint in your specific address, you can use

 b *address

notation. If you want to set a breakpoint on a specific function from specific source file you can use something like

(gdb) break test.c:call1

The same thing is discussed a bit deeper here .

Good luck.

Source Link
w s
  • 8.5k
  • 1
  • 25
  • 40
Loading