Skip to content

Commit

Permalink
Add "n2a03" (6502 CPU clone) to gdbstub for NES, and swapped 6502 PC/…
Browse files Browse the repository at this point in the history
…SP to SP/PC (#7440)
  • Loading branch information
LucienMP authored Nov 6, 2020
1 parent 4493d92 commit 1b9b9c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/osd/modules/debugger/debuggdbstub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ static const gdb_register_map gdb_register_map_m6502 =
{ "X", "x", false, TYPE_INT },
{ "Y", "y", false, TYPE_INT },
{ "P", "p", false, TYPE_INT },
{ "PC", "pc", true, TYPE_CODE_POINTER },
{ "SP", "sp", true, TYPE_DATA_POINTER },
{ "PC", "pc", true, TYPE_CODE_POINTER },
}
};

Expand Down Expand Up @@ -315,6 +315,7 @@ static const std::map<std::string, const gdb_register_map &> gdb_register_maps =
{ "m68020pmmu", gdb_register_map_m68020pmmu },
{ "z80", gdb_register_map_z80 },
{ "m6502", gdb_register_map_m6502 },
{ "n2a03", gdb_register_map_m6502 },
{ "m6809", gdb_register_map_m6809 },
};

Expand Down

0 comments on commit 1b9b9c9

Please sign in to comment.