I'm trying to debug my program remotely with gdbserver.

I'm starting gdbserver on remote computer with
gdbserver xxx.xxx.xxx.xxx:2345 application
and start gdb on local computer.

In gdb I'm issue following commands:
file application_compiled_with_debug_info
target remote xxx.xxx.xxx.yyy:2345
and put breakpoint on main.

When my application wants to create first
thread - gdbserver issues following message:

GDB bug: target.c (target_signal_from_host): unrecognized real-time signal

and local gdb just hungs.

I tried this with gdb 5.2, compiled from sources.
Remote system is HardHat, local is RedHat 7.1
Application is compiled with 586-g++ HardHat cross compiler.

When I tried to use gdb 5.0 - it even does not comes to main()... :(
After "file" command I receive following messages:

rw_common (): write: Success.
warning: unable to set global thread event mask
[New Thread 1024 (active)]
rw_common (): write: Success.
warning: stop_or_attach_thread: generic error

                 Please help.
                            Michael.

_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to