mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
Add "n2a03" (6502 CPU clone) to gdbstub for NES, and swapped 6502 PC/SP to SP/PC (#7440)
This commit is contained in:
parent
4493d92a2c
commit
1b9b9c9509
@ -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 },
|
||||
}
|
||||
};
|
||||
|
||||
@ -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 },
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user