Re: single stepping mips remote programs built with gcc 4.0

Daniel Jacobowitz
2005-11-17T22:48:22Z

On Thu, Nov 17, 2005 at 02:23:17PM -0800, Newman, Sarah R wrote:
> I built it with the default options, that good enough? Something like
> "-g -O2" it seems.
>
> I doubt that mips32_next_pc is getting compiled in because I can set a
> breakpoint at mips_next_pc but not mips32_next_pc.
> mips_software_single_step never gets called in this sequence, should it
> be?

Could you show me a session transcript? If mips_software_single_step
isn't placing the breakpoint, what is?

mips32_next_pc was probably inlined; you can retry with -g -O0 if you
want.

--
Daniel Jacobowitz
CodeSourcery, LLC