I know that inline function are either replaced where it is called or behave as a normal function.
But how will I know whether inline function is actually replaced a
With gdb, if you cannot call to a function, one of its possible meanings is the function is inline. Flipping the reasoning, if you can call a function inside gdb, means the function is not marked inline.