This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/23210] New: Bogus Breakpoint address adjusted from 0xf7fe7dd3 to 0xfffffffff7fe7dd3.
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 21 May 2018 15:27:47 +0000
- Subject: [Bug breakpoints/23210] New: Bogus Breakpoint address adjusted from 0xf7fe7dd3 to 0xfffffffff7fe7dd3.
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=23210
Bug ID: 23210
Summary: Bogus Breakpoint address adjusted from 0xf7fe7dd3 to
0xfffffffff7fe7dd3.
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
On x86-64, I got
(gdb) file
/export/build/gnu/gdb/build-x86_64-linux/gdb/testsuite/outputs/gdb.multi/multi-arch-exec/2-multi-arch-exec^M
Reading symbols from
/export/build/gnu/gdb/build-x86_64-linux/gdb/testsuite/outputs/gdb.multi/multi-arch-exec/2-multi-arch-exec...done.^M
(gdb) delete breakpoints^M
(gdb) info breakpoints^M
No breakpoints or watchpoints.^M
(gdb) break all_started^M
Breakpoint 1 at 0x804923b: file
/export/gnu/import/git/sources/binutils-gdb/gdb/testsuite/gdb.multi/multi-arch-exec.c,
line 42.^M
(gdb) run ^M
Starting program:
/export/build/gnu/gdb/build-x86_64-linux/gdb/testsuite/outputs/gdb.multi/multi-arch-exec/2-multi-arch-exec
^M
warning: Breakpoint address adjusted from 0xf7fd6b51 to 0xfffffffff7fd6b51.^M
warning: Breakpoint address adjusted from 0xf7fd7529 to 0xfffffffff7fd7529.^M
warning: Breakpoint address adjusted from 0xf7fd9a8c to 0xfffffffff7fd9a8c.^M
warning: Breakpoint address adjusted from 0xf7fd9614 to 0xfffffffff7fd9614.^M
warning: Breakpoint address adjusted from 0xf7fe7dd3 to 0xfffffffff7fe7dd3.^M
warning: Breakpoint address adjusted from 0xf7fe8a56 to 0xfffffffff7fe8a56.^M
warning: Breakpoint address adjusted from 0xf7fe8d14 to 0xfffffffff7fe8d14.^M
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
On x86-64, address should be zero-extended, not sign-extended.
FAIL: gdb.multi/multi-arch-exec.exp: first_arch=2: selected_thread=2:
follow_exec_mode=same: couldn't run to all_started
--
You are receiving this mail because:
You are on the CC list for the bug.