i have a .so(shared object) file and i want to debug into it.

could you plz give a little gdb debugger code sample which is adding a shared object for debugging.

PS : My executable is Test.x and I know to start with

gdb Test.x

:)

could u take me further?
thanks.

Load shared library, and call a function in it. Don't use debugger, instead add debug statements to the code, it's much more efficient and faster that way.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.