This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: SH breakpoint problem
- To: Kevin Buettner <kevinb at cygnus dot com>
- Subject: Re: SH breakpoint problem
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 08 Aug 2001 01:54:12 -0300
- Cc: Jonathan Larmour <jlarmour at redhat dot com>, gdb at sources dot redhat dot com
- Organization: GCC Team, Red Hat
- References: <3B6F5625.ADBD6F53@redhat.com><1010807224211.ZM23418@ocotillo.lan>
On Aug 7, 2001, Kevin Buettner <kevinb@cygnus.com> wrote:
> My opinion is that gdb should use the information obtained from
> find_pc_line() only to refine the limit searched by the prologue
> scanner. The prologue scanner needs to be taught that it must
> never scan past an instruction which modifies the flow of control
> (i.e, branch or call instructions).
This would cause a yet-to-be-contributed port I worked on to stop the
search too early, because some peculiarities of the ABI require
function calls to be inserted in the prologue in certain
circumstances.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me