From: Simon Marchi <simon.marchi@ericsson.com>
To: Anton Kolesov <Anton.Kolesov@synopsys.com>
Cc: GDB Patches <gdb-patches@sourceware.org>
Subject: ARC disassembler Valgrind error
Date: Fri, 20 Oct 2017 18:07:00 -0000 [thread overview]
Message-ID: <6ad8121e-42d1-02d3-b1e3-caef337b524a@ericsson.com> (raw)
Hi Anton,
I noticed this error when running the GDB selftests under Valgrind. Could you take
a look or forward to whomever is responsible?
Start gdb under Valgrind:
$ valgrind ./gdb
Ignore all the Python and Guile errors at startup (it's expected). Then run
(gdb) maintenance selftest print_one_insn
Here's what I get:
==12380== Conditional jump or move depends on uninitialised value(s)
==12380== at 0xA0D93E: find_format (arc-dis.c:449)
==12380== by 0xA0EC69: print_insn_arc (arc-dis.c:1121)
==12380== by 0x733B9C: default_print_insn(unsigned long, disassemble_info*) (arch-utils.c:957)
==12380== by 0x414A39: arc_delayed_print_insn(unsigned long, disassemble_info*) (arc-tdep.c:1433)
==12380== by 0x8577C0: gdbarch_print_insn(gdbarch*, unsigned long, disassemble_info*) (gdbarch.c:3273)
==12380== by 0x7BB930: gdb_disassembler::print_insn(unsigned long, int*) (disasm.c:765)
==12380== by 0x7BC731: selftests::print_one_insn_test(gdbarch*)::gdb_disassembler_test::print_insn(unsigned long) (disasm-selftests.c:130)
==12380== by 0x7BC99E: selftests::print_one_insn_test(gdbarch*) (disasm-selftests.c:163)
==12380== by 0x91D6F1: selftests::gdbarch_selftest::operator()() const (selftest-arch.c:73)
==12380== by 0x91B361: selftests::run_tests(char const*) (selftest.c:88)
==12380== by 0x8B738A: maintenance_selftest(char const*, int) (maint.c:945)
==12380== by 0x62465B: do_const_cfunc(cmd_list_element*, char*, int) (cli-decode.c:122)
==12380==
==12380== Conditional jump or move depends on uninitialised value(s)
==12380== at 0xA0DA26: find_format (arc-dis.c:479)
==12380== by 0xA0EC69: print_insn_arc (arc-dis.c:1121)
==12380== by 0x733B9C: default_print_insn(unsigned long, disassemble_info*) (arch-utils.c:957)
==12380== by 0x414A39: arc_delayed_print_insn(unsigned long, disassemble_info*) (arc-tdep.c:1433)
==12380== by 0x8577C0: gdbarch_print_insn(gdbarch*, unsigned long, disassemble_info*) (gdbarch.c:3273)
==12380== by 0x7BB930: gdb_disassembler::print_insn(unsigned long, int*) (disasm.c:765)
==12380== by 0x7BC731: selftests::print_one_insn_test(gdbarch*)::gdb_disassembler_test::print_insn(unsigned long) (disasm-selftests.c:130)
==12380== by 0x7BC99E: selftests::print_one_insn_test(gdbarch*) (disasm-selftests.c:163)
==12380== by 0x91D6F1: selftests::gdbarch_selftest::operator()() const (selftest-arch.c:73)
==12380== by 0x91B361: selftests::run_tests(char const*) (selftest.c:88)
==12380== by 0x8B738A: maintenance_selftest(char const*, int) (maint.c:945)
==12380== by 0x62465B: do_const_cfunc(cmd_list_element*, char*, int) (cli-decode.c:122)
Thanks!
Simon
next reply other threads:[~2017-10-20 18:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-20 18:07 Simon Marchi [this message]
2017-10-20 18:44 ` Anton Kolesov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6ad8121e-42d1-02d3-b1e3-caef337b524a@ericsson.com \
--to=simon.marchi@ericsson.com \
--cc=Anton.Kolesov@synopsys.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox