simulavr-devel
[Top][All Lists]
Advanced

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

Re: [Simulavr-devel] Connect with gdb to a core of a python simulation


From: Marek Pietrzak
Subject: Re: [Simulavr-devel] Connect with gdb to a core of a python simulation
Date: Mon, 15 Aug 2011 22:29:16 +0200

I don't see the GdbServer class being exported to Python in SWIG file,
so the answer is most likely no. Perhaps because it's kind of weird
using gdb when you can get all about the internal state of the device
with Python alone. Why do you want gdb in your simulation?
 
On Mon, 2011-08-15 at 21:55 +0200, Sebastian wrote:
> Hi,
> is it possible to connect with gdb to a core of a python simulation?
> 
> Something like
>         device = pysimulavr.AvrFactory.instance().makeDevice(mcu)
>         device.Load(program)
>         device.SetClockFreq(clock_setting)
>         sim.Add(device)
>       device.setPortForGDB(1212) # I'm looking for this function
> which also works for simulations with multiple devices.
> 
> Sebastian
> 
> 
> 
> _______________________________________________
> Simulavr-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/simulavr-devel





reply via email to

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