$ gdb -nw test.dll
(gdb) break ada_dll
(gdb) exec-file main.exe
This will run the program until it reaches the breakpoint that has been set. From that point you can use the standard way to debug a program as described in (see Running and Debugging Ada Programs).
It is also possible to debug the DLL by attaching to a running process.