public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug gdb/14647] New: [x32] "next" doesn't work with -O -g @ 2012-09-29 19:13 hjl.tools at gmail dot com 2012-09-29 23:24 ` [Bug gdb/14647] " hjl.tools at gmail dot com ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: hjl.tools at gmail dot com @ 2012-09-29 19:13 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=14647 Bug #: 14647 Summary: [x32] "next" doesn't work with -O -g Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: gdb AssignedTo: unassigned@sourceware.org ReportedBy: hjl.tools@gmail.com Classification: Unclassified On Linux/x32, I got [hjl@gnu-tools-1 tmp]$ cat x.c void bar (); int main () { bar (); return 0; } [hjl@gnu-tools-1 tmp]$ cat y.c void bar () { } [hjl@gnu-tools-1 tmp]$ gcc -O -mx32 -g x.c y.c [hjl@gnu-tools-1 tmp]$ gdb a.out GNU gdb (GDB) 7.5.50.20120925-cvs Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /tmp/a.out...done. (gdb) b main Breakpoint 1 at 0x40038c: file x.c, line 5. (gdb) r Starting program: /tmp/a.out Breakpoint 1, main () at x.c:5 5 { (gdb) next 6 bar (); (gdb) bar () at y.c:3 3 { (gdb) -- 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. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug gdb/14647] [x32] "next" doesn't work with -O -g 2012-09-29 19:13 [Bug gdb/14647] New: [x32] "next" doesn't work with -O -g hjl.tools at gmail dot com @ 2012-09-29 23:24 ` hjl.tools at gmail dot com 2012-10-01 16:13 ` jan.kratochvil at redhat dot com ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: hjl.tools at gmail dot com @ 2012-09-29 23:24 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=14647 --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2012-09-29 23:24:12 UTC --- hjl/x32/gdb_7_4-branch git branch at http://sourceware.org/git/?p=gdb.git;a=summary works fine. -- 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. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug gdb/14647] [x32] "next" doesn't work with -O -g 2012-09-29 19:13 [Bug gdb/14647] New: [x32] "next" doesn't work with -O -g hjl.tools at gmail dot com 2012-09-29 23:24 ` [Bug gdb/14647] " hjl.tools at gmail dot com @ 2012-10-01 16:13 ` jan.kratochvil at redhat dot com 2012-10-01 16:30 ` hjl.tools at gmail dot com ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: jan.kratochvil at redhat dot com @ 2012-10-01 16:13 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=14647 Jan Kratochvil <jan.kratochvil at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jan.kratochvil at redhat | |dot com --- Comment #2 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2012-10-01 16:13:33 UTC --- Not taking this bug but it would be good to have a -nostdlib testcase for this regression as it should be compatible with common x86_64 OSes. -- 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. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug gdb/14647] [x32] "next" doesn't work with -O -g 2012-09-29 19:13 [Bug gdb/14647] New: [x32] "next" doesn't work with -O -g hjl.tools at gmail dot com 2012-09-29 23:24 ` [Bug gdb/14647] " hjl.tools at gmail dot com 2012-10-01 16:13 ` jan.kratochvil at redhat dot com @ 2012-10-01 16:30 ` hjl.tools at gmail dot com 2012-10-15 20:37 ` cvs-commit at gcc dot gnu.org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: hjl.tools at gmail dot com @ 2012-10-01 16:30 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=14647 --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-10-01 16:30:18 UTC --- (In reply to comment #2) > Not taking this bug but it would be good to have a -nostdlib testcase for this > regression as it should be compatible with common x86_64 OSes. How should a -nostdlib testcase work? I believe such testcase only works in x32 environment. -- 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. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug gdb/14647] [x32] "next" doesn't work with -O -g 2012-09-29 19:13 [Bug gdb/14647] New: [x32] "next" doesn't work with -O -g hjl.tools at gmail dot com ` (2 preceding siblings ...) 2012-10-01 16:30 ` hjl.tools at gmail dot com @ 2012-10-15 20:37 ` cvs-commit at gcc dot gnu.org 2012-11-10 0:50 ` cvs-commit at gcc dot gnu.org 2012-11-10 0:52 ` hjl.tools at gmail dot com 5 siblings, 0 replies; 7+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2012-10-15 20:37 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=14647 --- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-10-15 20:37:43 UTC --- CVSROOT: /cvs/src Module name: src Changes by: hjl@sourceware.org 2012-10-15 20:37:39 Modified files: gdb : ChangeLog amd64-tdep.c i386-tdep.c i386-tdep.h Log message: Remove sp_regnum_from_eax and pc_regnum_from_eax PR backtrace/14646 PR gdb/14647 * i386-tdep.h (gdbarch_tdep): Remove sp_regnum_from_eax and pc_regnum_from_eax. * i386-tdep.c (i386_gdbarch_init): Don't use sp_regnum_from_eax nor pc_regnum_from_eax. * amd64-tdep.c (amd64_x32_init_abi): Don't set sp_regnum_from_eax nor pc_regnum_from_eax. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14736&r2=1.14737 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/amd64-tdep.c.diff?cvsroot=src&r1=1.112&r2=1.113 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/i386-tdep.c.diff?cvsroot=src&r1=1.357&r2=1.358 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/i386-tdep.h.diff?cvsroot=src&r1=1.80&r2=1.81 -- 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. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug gdb/14647] [x32] "next" doesn't work with -O -g 2012-09-29 19:13 [Bug gdb/14647] New: [x32] "next" doesn't work with -O -g hjl.tools at gmail dot com ` (3 preceding siblings ...) 2012-10-15 20:37 ` cvs-commit at gcc dot gnu.org @ 2012-11-10 0:50 ` cvs-commit at gcc dot gnu.org 2012-11-10 0:52 ` hjl.tools at gmail dot com 5 siblings, 0 replies; 7+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2012-11-10 0:50 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=14647 --- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-11-10 00:50:53 UTC --- CVSROOT: /cvs/src Module name: src Branch: gdb_7_5-branch Changes by: hjl@sourceware.org 2012-11-10 00:50:46 Modified files: gdb : ChangeLog amd64-tdep.c i386-tdep.c i386-tdep.h Log message: Remove sp_regnum_from_eax and pc_regnum_from_eax PR backtrace/14646 PR gdb/14647 * i386-tdep.h (gdbarch_tdep): Remove sp_regnum_from_eax and pc_regnum_from_eax. * i386-tdep.c (i386_gdbarch_init): Don't use sp_regnum_from_eax nor pc_regnum_from_eax. * amd64-tdep.c (amd64_x32_init_abi): Don't set sp_regnum_from_eax nor pc_regnum_from_eax. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_5-branch&r1=1.14469.2.37&r2=1.14469.2.38 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/amd64-tdep.c.diff?cvsroot=src&only_with_tag=gdb_7_5-branch&r1=1.109&r2=1.109.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/i386-tdep.c.diff?cvsroot=src&only_with_tag=gdb_7_5-branch&r1=1.355&r2=1.355.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/i386-tdep.h.diff?cvsroot=src&only_with_tag=gdb_7_5-branch&r1=1.80&r2=1.80.2.1 -- 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. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug gdb/14647] [x32] "next" doesn't work with -O -g 2012-09-29 19:13 [Bug gdb/14647] New: [x32] "next" doesn't work with -O -g hjl.tools at gmail dot com ` (4 preceding siblings ...) 2012-11-10 0:50 ` cvs-commit at gcc dot gnu.org @ 2012-11-10 0:52 ` hjl.tools at gmail dot com 5 siblings, 0 replies; 7+ messages in thread From: hjl.tools at gmail dot com @ 2012-11-10 0:52 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=14647 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |7.5 --- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-10 00:52:37 UTC --- Fixed on 7.5 branch. -- 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. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-11-10 0:52 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-09-29 19:13 [Bug gdb/14647] New: [x32] "next" doesn't work with -O -g hjl.tools at gmail dot com 2012-09-29 23:24 ` [Bug gdb/14647] " hjl.tools at gmail dot com 2012-10-01 16:13 ` jan.kratochvil at redhat dot com 2012-10-01 16:30 ` hjl.tools at gmail dot com 2012-10-15 20:37 ` cvs-commit at gcc dot gnu.org 2012-11-10 0:50 ` cvs-commit at gcc dot gnu.org 2012-11-10 0:52 ` hjl.tools at gmail dot com
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).