summaryrefslogtreecommitdiffstats
path: root/meta-microblaze
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2022-03-09 09:58:18 -0800
committerMark Hatle <mark.hatle@xilinx.com>2022-03-10 13:36:39 -0800
commit1b0581ec90bba2ce0a539c0759a2d7addb0fe981 (patch)
tree48adced14c464cb65459af221de7027c6adeb1ee /meta-microblaze
parent575d1724dcfd4795c515fe255155ba023f6efa31 (diff)
downloadmeta-xilinx-1b0581ec90bba2ce0a539c0759a2d7addb0fe981.tar.gz
gdb: Disable on-target GDB for microblaze
Failure: ../../gdb-10.2/bfd/cpu-microblaze.c:75:1: warning: missing initializer for field 'max_reloc_offset_into_insn' of 'bfd_arch_info_type' {aka 'const struct bfd_arch_info'} [-Wmissing-field-initializers] | 75 | }, | | ^ | In file included from ../../gdb-10.2/bfd/cpu-microblaze.c:23: | ./bfd.h:1998:14: note: 'max_reloc_offset_into_insn' declared here | 1998 | signed int max_reloc_offset_into_insn; | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> (cherry picked from commit bc23fe5c5b810a7821f0de76d71b6093a05fa509) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-microblaze')
-rw-r--r--meta-microblaze/recipes-devtools/gdb/gdb_%.bbappend7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-microblaze/recipes-devtools/gdb/gdb_%.bbappend b/meta-microblaze/recipes-devtools/gdb/gdb_%.bbappend
index 33fbe158..23866471 100644
--- a/meta-microblaze/recipes-devtools/gdb/gdb_%.bbappend
+++ b/meta-microblaze/recipes-devtools/gdb/gdb_%.bbappend
@@ -1,4 +1,11 @@
1MICROBLAZEPATCHES = "" 1MICROBLAZEPATCHES = ""
2MICROBLAZEPATCHES:microblaze = "gdb-microblaze.inc" 2MICROBLAZEPATCHES:microblaze = "gdb-microblaze.inc"
3 3
4# We don't have ptrace support for on-target microblaze GDB currently. Need
5# to use tcf-agent or other external debug interface.
6MB_DOES_NOT_WORK = ""
7MB_DOES_NOT_WORK:microblaze = "GDB is not currently supported on Microblaze."
8
9PNBLACKLIST[gdb] = "${MB_DOES_NOT_WORK}"
10
4require ${MICROBLAZEPATCHES} 11require ${MICROBLAZEPATCHES}