#19359 closed bug (invalid)
gdbserver always throws sigaction: invalid argument
Reported by: | tstih | Owned by: | anevilyak |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | - General | Version: | R1/beta5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
I'm trying to create cross compilation environment. On Haiku, I have a simple test.cpp file
#include <stdio.h> int main() { printf("Hello world!"); return 0; }
I compile it on Haiku, running on Virtualbox, with
g++ -g -o test test.cpp
If I run it it works. If I do file ./test it reports debugging info included. But when I try to debug it with
gdbserver :1234 ./test
it cries:
sigaction: invalid argument
I took the latest gdb from the Depot and synced everything on Haiku.
Attachments (1)
Change History (3)
by , 39 hours ago
Attachment: | haiku-gdbserver-bug.png added |
---|
comment:1 by , 39 hours ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 39 hours ago
Component: | Applications/Debugger → - General |
---|---|
Keywords: | gdb debugger gdbserver removed |
Platform: | x86-64 → All |
Note:
See TracTickets
for help on using tickets.
gdbserver is a ported application, unless/until this is demonstrated to be a Haiku bug it's probably one in the port. Please file a ticket at https://github.com/haikuports/haikuports/ instead.