mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* remote-udi.c, remote-adapt.c, remote-mm.c: Move processor_type
to tm-a29k.h and a29k-tdep.c and make it an enum. * a29k-tdep.c (a29k_get_processor_type): New function. Fix many aspects of how we detected the processor type. * remote-udi.c, remote-adapt.c, remote-mm.c (*_open): Call it rather than figuring out the type ourselves.
This commit is contained in:
@ -715,3 +715,14 @@ extern void pop_frame ();
|
||||
"Invalid register number %d in symbol table entry for %s\n", \
|
||||
(num), SYMBOL_SOURCE_NAME (sym)), (num) \
|
||||
: (num))
|
||||
|
||||
extern enum a29k_processor_types {
|
||||
a29k_unknown,
|
||||
|
||||
/* Bit 0x400 of the CPS does *not* identify freeze mode, i.e. 29000,
|
||||
29030, etc. */
|
||||
a29k_no_freeze_mode,
|
||||
|
||||
/* Bit 0x400 of the CPS does identify freeze mode, i.e. 29050. */
|
||||
a29k_freeze_mode
|
||||
} processor_type;
|
||||
|
Reference in New Issue
Block a user