This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: single stepping mips remote programs built with gcc 4.0
- From: Daniel Jacobowitz <drow at false dot org>
- To: "Newman, Sarah R" <sarah dot r dot newman at lmco dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 17 Nov 2005 17:48:18 -0500
- Subject: Re: single stepping mips remote programs built with gcc 4.0
- References: <5990BE666D0436419054489CDD9D505409667C95@emss01m10.us.lmco.com>
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