A few fixes for the new bridge that make using the builtin GDB invocation a bit nicer #13

Merged
Lephenixnoir merged 2 commits from redoste/fxsdk:gdb-bridge-fixes into dev 2024-03-31 18:32:47 +02:00
Contributor

See Lephenixnoir/gint#27 for details

See Lephenixnoir/gint#27 for details
redoste added 2 commits 2024-03-31 18:29:07 +02:00
b830fe3998
gdb: ignore SIGINT from the bridge when gdb is in foreground
^C can be used within gdb to break a running target, handeling it from
the bridge would kill the connection
redoste changed title from A few fixes for the new bridge that makes using the builtin GDB invocation a bit nicer to A few fixes for the new bridge that make using the builtin GDB invocation a bit nicer 2024-03-31 18:29:38 +02:00
Lephenixnoir reviewed 2024-03-31 18:30:12 +02:00
@ -122,3 +122,3 @@
sprintf(target_command, "target remote %s", socket_path);
char **argv = malloc((n + 5) * sizeof *argv);
char **argv = malloc((n + 6) * sizeof *argv);
Owner

That needs to be +7 (6 fixed arguments + n + terminating NULL)

That needs to be +7 (6 fixed arguments + n + terminating NULL)
Author
Contributor

Oops that's stupid, I fixed it in the force push

Oops that's stupid, I fixed it in the force push
redoste force-pushed gdb-bridge-fixes from b830fe3998 to 4d664f9e05 2024-03-31 18:31:51 +02:00 Compare
Lephenixnoir merged commit 76c23b88ac into dev 2024-03-31 18:32:47 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Lephenixnoir/fxsdk#13
No description provided.