Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
From: Michael Nolan <mtnolan2640@gmail.com>
To: libre-riscv-dev@lists.libre-riscv.org
Subject: Re: [libre-riscv-dev] daily kan-ban update 09jun2020
Date: Wed, 10 Jun 2020 14:53:47 -0400
Message-ID: <12b09b34-68d9-5b10-d2fb-8948802698e8@gmail.com> (raw)
In-Reply-To: <CAPweEDxTQS-h-uqTfPkpfLmisMOpE7RL-F0bMLpw-510nNTeeg@mail.gmail.com>

On 6/9/20 5:48 PM, Luke Kenneth Casson Leighton wrote:
>
> therefore to test twi, we add a new unit test to that file, and run
> it.  now, it *may* fail (because it's a trap, and we don't actually
> know how qemu will react to that).  we'll cross that bridge when we
> come to it, ok?  we expect at least the PC to be changed to 0x700, so
> will have to work out how to get the PC out of qemu.

While I don't remember exactly how I did it, I think I placed a 
breakpoint on the instruction after the end of the program and had qemu 
continue until it hit the breakpoint. Since trapping will never trigger 
that breakpoint I don't know what will happen. I suspect it will require 
a more creative solution though.

--Michael


_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

  parent reply index

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-09 13:11 Luke Kenneth Casson Leighton
2020-06-09 13:23 ` Tobias Platen
2020-06-09 16:20   ` Luke Kenneth Casson Leighton
2020-06-09 17:21 ` Jacob Lifshay
2020-06-09 17:44   ` Luke Kenneth Casson Leighton
2020-06-09 19:35 ` Cole Poirier
2020-06-09 20:15   ` Luke Kenneth Casson Leighton
2020-06-09 21:01     ` Cole Poirier
2020-06-09 21:48       ` Luke Kenneth Casson Leighton
2020-06-09 22:07         ` Luke Kenneth Casson Leighton
2020-06-10  0:38         ` Cole Poirier
2020-06-10 13:16           ` Luke Kenneth Casson Leighton
2020-06-10 18:53         ` Michael Nolan [this message]
2020-06-10 21:30           ` Cole Poirier
2020-06-09 21:49 Alain D D Williams
2020-06-09 22:48 ` Luke Kenneth Casson Leighton

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=12b09b34-68d9-5b10-d2fb-8948802698e8@gmail.com \
    --to=mtnolan2640@gmail.com \
    --cc=libre-riscv-dev@lists.libre-riscv.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

Libre RISC-V Mailing list Archives (accessible via public-inbox)

Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev

Example config snippet for mirrors


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git