Summary: | regression by physname: PE32 prologue skip vs. static initializers | ||
---|---|---|---|
Product: | gdb | Reporter: | Jan Kratochvil <jan> |
Component: | breakpoints | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jan, keiths, tromey |
Priority: | P2 | ||
Version: | HEAD | ||
Target Milestone: | 7.5 | ||
Host: | Target: | i686-pc-mingw32 | |
Build: | Last reconfirmed: |
Description
Jan Kratochvil
2011-04-15 18:38:42 UTC
Is this still a problem? With 7.1 and also with cvs trunk I get (gdb) b main Breakpoint 1 at 0x40136b: file pr.cc, line 1. (gdb) disassemble main Dump of assembler code for function main: 0x00401360 <+0>: push %ebp 0x00401361 <+1>: mov %esp,%ebp 0x00401363 <+3>: and $0xfffffff0,%esp 0x00401366 <+6>: call 0x401a60 <__main> 0x0040136b <+11>: mov $0x0,%eax 0x00401370 <+16>: leave 0x00401371 <+17>: ret With 6.8 I get (gdb) b main Breakpoint 1 at 0x401366: file pr.cc, line 1. [RFC] symtab.c: Change skip_prologue_sal comparison to match main() too http://sourceware.org/ml/gdb-patches/2012-03/msg00454.html Message-ID: <20120313155817.44b4f280@mesquite.lan> fda4b74499e5d26b718a51b84ec637e435997fa6 is the first bad (=good) commit commit fda4b74499e5d26b718a51b84ec637e435997fa6 Author: Kevin Buettner <kevinb@redhat.com> Date: Wed Mar 21 21:59:12 2012 +0000 * symtab.c (skip_prologue_sal): Change test to check for "main()" in addition to "main". |