[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add riscv-sim.exp

From: Tom Tromey
Subject: Re: [PATCH] Add riscv-sim.exp
Date: Tue, 21 Jul 2020 05:43:09 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>>>>> "Rob" == Rob Savoye <> writes:

Rob> On 7/20/20 9:11 PM, Kito Cheng wrote:
>>> Do I correctly infer that this patch works with the sim tool shipped with 
>>> GDB?
>> Tested with GDB simulator and qemu, but we use a tricky way to test
>> with qemu, add a wrapper to qemu to made the interface same as gdb
>> simulator[1].

Rob>   QEMU supports the gdbserver remote debugging protocol (-g), so is
Rob> different from the sim interface. Linaro also had a way of using QEMU.
Rob> but I tried to make something more generic. I'd be interested in your
Rob> wrapper, but I think using the gdbserver protocol works better.

Me too.  I would actually like to remove "target sim" from gdb and
switch the in-tree sims to using the remote protocol, though it's
unclear if I'll ever actually get around to this.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]