Opened 39 hours ago

Closed 39 hours ago

Last modified 39 hours ago

#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)

haiku-gdbserver-bug.png (35.5 KB ) - added by tstih 39 hours ago.

Download all attachments as: .zip

Change History (3)

by tstih, 39 hours ago

Attachment: haiku-gdbserver-bug.png added

comment:1 by waddlesplash, 39 hours ago

Resolution: invalid
Status: newclosed

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.

comment:2 by waddlesplash, 39 hours ago

Component: Applications/Debugger- General
Keywords: gdb debugger gdbserver removed
Platform: x86-64All
Note: See TracTickets for help on using tickets.