This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/3] sim: msp430: set initial PC to ELF entry if available
- From: DJ Delorie <dj at redhat dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb-patches at sourceware dot org, nickc at redhat dot com
- Date: Mon, 10 Mar 2014 17:09:25 -0400
- Subject: Re: [PATCH 2/3] sim: msp430: set initial PC to ELF entry if available
- Authentication-results: sourceware.org; auth=none
- References: <1394256493-15084-1-git-send-email-vapier at gentoo dot org> <1394256493-15084-2-git-send-email-vapier at gentoo dot org>
In the case where there *is* a valid reset vector, I think it would be
much better to honor it than to choose some other "arbitrary" (in
terms of hardware simulation) entry point.
Just because the other simulators don't accurately simulate the
hardware, doesn't mean they all shouldn't.
Also, the libgloss for msp430 always sets a valid reset vector, so all
the "simple ELFs" you create should already work.