Re: gdb support for m32c?

Hans-Wolfgang Loidl
2006-03-10T22:45:20Z

Hi DJ,

In the meantime I managed to build the m32c simulator from the CVS HEAD,
and with that version I can now run simple C programs, and also some
programs compiled via C from out high-level language
So, I'm a happy user (for now)!

I noticed, though, that the simulator can't handle argv input: it gives
a null pointer reference.

Any patches that you have, and other hints on using it tools etc would
be very welcome!

Cheers,
--
HW

On Fri, 10 Mar 2006 16:30:19 -0500
DJ Delorie <dj@redhat.com> wrote:

>
> > > I now checked out the HEAD of the gdb cvs rep with the m32c code
> > > in sim. Does "not supported yet" mean that the simulator itself
> > > doesn't work, or just that some GDB features don't work, yet?
> > > As said, at the moment I'd only need the simulator, and I'd happy
> > > with a version even if it's still a bit unstable.
> >
> > The simulator should be fine, as far as I know.
>
> Alas, it needs some patches, although they're minor. I use the
> simulator a LOT so it's fairly stable.
>
> I missed that the m32c sim had been approved. I'm supposed to be the
> m32c sim maintainer but Jim didn't add me as part of the commit
> process. How to proceed?
>
> Also, while I can get the simulator to build, it currently doesn't get
> that far because it has a dependency on gdb being at least configured,
> which doesn't happen yet. That's why I didn't notice my builds
> suddenly including the simulator :-P