Re: RISC-V and fake function debug info in the testsuite

Jim Wilson <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAFyWVab_VW7-Rz-E6_sJiU5V8DZgWYfzEMq1QCcT6WE61X4ktw@mail.gmail.com>
On Fri, Apr 12, 2019 at 5:17 PM Jim Wilson <[email protected]> wrote:
> The question is what to do next.

On second thought, I realized I can fix it by wrapping the target
memory read in a try/catch.  I'm just not used to fixing problems that
way.  That defers the error from when we set the breakpoint to when we
try to run, at which point we get an error trying to write a
breakpoint instruction to an invalid address, which seems to be the
way that this works on other targets.  I already tried that and it
does fix the testsuite failures that I'm looking at.

Jim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.