mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-28 04:23:37 +01:00
gdb: use sh4al-dsp target
Also switch the order of -ex for a slightly cleaner output
This commit is contained in:
parent
5fe02b055b
commit
5acef051f1
1 changed files with 2 additions and 2 deletions
|
@ -125,9 +125,9 @@ static pid_t fork_gdb(char **user_argv, char const *socket_path)
|
||||||
argv[0] = "sh-elf-gdb";
|
argv[0] = "sh-elf-gdb";
|
||||||
argv[1] = "-q";
|
argv[1] = "-q";
|
||||||
argv[2] = "-ex";
|
argv[2] = "-ex";
|
||||||
argv[3] = target_command;
|
argv[3] = "set architecture sh4al-dsp";
|
||||||
argv[4] = "-ex";
|
argv[4] = "-ex";
|
||||||
argv[5] = "set architecture sh4a-nofpu";
|
argv[5] = target_command;
|
||||||
memcpy(argv+6, user_argv, (n+1) * sizeof *argv);
|
memcpy(argv+6, user_argv, (n+1) * sizeof *argv);
|
||||||
|
|
||||||
struct sigaction action = {
|
struct sigaction action = {
|
||||||
|
|
Loading…
Reference in a new issue