Skip to content

Commit 427e9fc

Browse files
andyrossnashif
authored andcommitted
overlays: mt8195_adsp: Update for gdb 12.1
Update the upstream file to build against recent gdb source (see e.g. commit 34b88dc ("overlays: xtensa_nxp_imx8m_adsp: gdb: Update xtensa-config.c")). Signed-off-by: Andy Ross <andyross@google.com>
1 parent 11ad6f1 commit 427e9fc

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

overlays/xtensa_mtk_mt8195/gdb/gdb/xtensa-config.c

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const xtensa_mask_t xtensa_mask39 = { 1, xtensa_submask39 };
113113

114114

115115
/* Register map. */
116-
xtensa_register_t rmap[] =
116+
static xtensa_register_t rmap[] =
117117
{
118118
/* idx ofs bi sz al targno flags cp typ group name */
119119
XTREG( 0, 0,32, 4, 4,0x0020,0x0006,-2, 9,0x2100,pc, 0,0,0,0,0,0)
@@ -496,9 +496,4 @@ xtensa_register_t rmap[] =
496496
XTREG_END
497497
};
498498

499-
500-
501-
#ifdef XTENSA_CONFIG_INSTANTIATE
502-
XTENSA_CONFIG_INSTANTIATE(rmap,16)
503-
#endif
504-
499+
xtensa_gdbarch_tdep xtensa_tdep rmap);

0 commit comments

Comments
 (0)