public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/17595] New: next/step following breakpoints always fails with 32-bit i386 executables
@ 2014-11-13 3:00 bssb787 at gmail dot com
2014-11-13 3:34 ` [Bug breakpoints/17595] " bssb787 at gmail dot com
2014-11-13 3:34 ` bssb787 at gmail dot com
0 siblings, 2 replies; 3+ messages in thread
From: bssb787 at gmail dot com @ 2014-11-13 3:00 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17595
Bug ID: 17595
Summary: next/step following breakpoints always fails with
32-bit i386 executables
Product: gdb
Version: 8.0
Status: NEW
Severity: critical
Priority: P2
Component: breakpoints
Assignee: unassigned at sourceware dot org
Reporter: bssb787 at gmail dot com
Build: 7.8.1
Elementary execution control (next/step) always fails with 32-bit OS X i386
executables; x86_64 executables (cc -m64) work fine.
Similar report of this on Linux:
http://stackoverflow.com/questions/19632435/gdb-shows-cannot-find-bounds-of-current-function-stepping
$ cat hello.c
#include <stdio.h>
int main()
{
printf("hello, ");
printf("world\n");
}
$ cc -m32 -g -o hello hello.c
$ gdb hello
GNU gdb (GDB) 7.8.1
...
This GDB was configured as "x86_64-apple-darwin14.0.0".
...
(gdb) b main
Breakpoint 1 at 0x1f52: file hello.c, line 4.
(gdb) r
Starting program: hello
Breakpoint 1, main () at hello.c:4
4 printf("hello, ");
(gdb) n
0x00001f80 in ?? ()
(gdb) where
#0 0x00001f80 in ?? ()
#1 0x979c76d9 in start () from /usr/lib/system/libdyld.dylib
#2 0x00000001 in ?? ()
#3 0xbffffaa8 in ?? ()
#4 0x00000001 in ?? ()
(gdb) n
Cannot find bounds of current function
(gdb) step
Cannot find bounds of current function
(gdb) show configuration
This GDB was configured as follows:
configure --host=x86_64-apple-darwin14.0.0
--target=x86_64-apple-darwin14.0.0
--with-auto-load-dir=:${prefix}/share/auto-load
--with-auto-load-safe-path=:${prefix}/share/auto-load
--with-expat
--with-gdb-datadir=/usr/local/share/gdb (relocatable)
--with-jit-reader-dir=/usr/local/lib/gdb (relocatable)
--without-libunwind-ia64
--without-lzma
--with-python=/System/Library/Frameworks/Python.framework/Versions/2.7
--without-guile
--with-separate-debug-dir=/usr/local/lib/debug (relocatable)
--with-zlib
--without-babeltrace
(gdb) q
$ uname -a
Darwin local 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014;
root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug breakpoints/17595] next/step following breakpoints always fails with 32-bit i386 executables
2014-11-13 3:00 [Bug breakpoints/17595] New: next/step following breakpoints always fails with 32-bit i386 executables bssb787 at gmail dot com
@ 2014-11-13 3:34 ` bssb787 at gmail dot com
2014-11-13 3:34 ` bssb787 at gmail dot com
1 sibling, 0 replies; 3+ messages in thread
From: bssb787 at gmail dot com @ 2014-11-13 3:34 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17595
bssb787 at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bssb787 at gmail dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug breakpoints/17595] next/step following breakpoints always fails with 32-bit i386 executables
2014-11-13 3:00 [Bug breakpoints/17595] New: next/step following breakpoints always fails with 32-bit i386 executables bssb787 at gmail dot com
2014-11-13 3:34 ` [Bug breakpoints/17595] " bssb787 at gmail dot com
@ 2014-11-13 3:34 ` bssb787 at gmail dot com
1 sibling, 0 replies; 3+ messages in thread
From: bssb787 at gmail dot com @ 2014-11-13 3:34 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17595
bssb787 at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|8.0 |7.8
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-13 3:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-13 3:00 [Bug breakpoints/17595] New: next/step following breakpoints always fails with 32-bit i386 executables bssb787 at gmail dot com
2014-11-13 3:34 ` [Bug breakpoints/17595] " bssb787 at gmail dot com
2014-11-13 3:34 ` bssb787 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).