diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2022-03-09 09:58:18 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2022-03-10 13:36:39 -0800 |
| commit | 1b0581ec90bba2ce0a539c0759a2d7addb0fe981 (patch) | |
| tree | 48adced14c464cb65459af221de7027c6adeb1ee /meta-microblaze | |
| parent | 575d1724dcfd4795c515fe255155ba023f6efa31 (diff) | |
| download | meta-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_%.bbappend | 7 |
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 @@ | |||
| 1 | MICROBLAZEPATCHES = "" | 1 | MICROBLAZEPATCHES = "" |
| 2 | MICROBLAZEPATCHES:microblaze = "gdb-microblaze.inc" | 2 | MICROBLAZEPATCHES: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. | ||
| 6 | MB_DOES_NOT_WORK = "" | ||
| 7 | MB_DOES_NOT_WORK:microblaze = "GDB is not currently supported on Microblaze." | ||
| 8 | |||
| 9 | PNBLACKLIST[gdb] = "${MB_DOES_NOT_WORK}" | ||
| 10 | |||
| 4 | require ${MICROBLAZEPATCHES} | 11 | require ${MICROBLAZEPATCHES} |
