signal not handled when using gdb!

Hello!

I’m writing a program using SIGUSR1.

When I run it, it works.
When I run it from gdb, the handler is not activated.

I have used the “info signals” command and SIGUSR1 is in the following mode
“stop print pass”.

Any idea?

Thank you.