This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/15360] can't step into function
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 12 Apr 2013 08:52:17 +0000
- Subject: [Bug breakpoints/15360] can't step into function
- Auto-submitted: auto-generated
- References: <bug-15360-4717 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15360
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |palves at redhat dot com
--- Comment #2 from Pedro Alves <palves at redhat dot com> 2013-04-12 08:52:17 UTC ---
A simpler reproducer:
(gdb) b function
Breakpoint 1 at 0x400569: file pr15360.c, line 9.
(gdb) r
...
...exited normally.
GDB wants to put the breakpoint after the prologue of 'function', but:
(gdb) disassemble /m function
Dump of assembler code for function function():
8 {
0x000000000040055c <+0>: push %rbp
0x000000000040055d <+1>: mov %rsp,%rbp
0x0000000000400560 <+4>: push %r12
0x0000000000400562 <+6>: push %rbx
0x0000000000400563 <+7>: sub $0x10,%rsp
0x0000000000400567 <+11>: jmp 0x40056a <function()+14>
9 do{
0x0000000000400569 <+13>: nop
10 int i = 0;
0x000000000040056a <+14>: movl $0x0,-0x14(%rbp)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.