This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug server/15081] New: AX with gcc-4.8: Expression pieces exceedword size
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 29 Jan 2013 17:47:15 +0000
- Subject: [Bug server/15081] New: AX with gcc-4.8: Expression pieces exceedword size
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15081
Bug #: 15081
Summary: AX with gcc-4.8: Expression pieces exceed word size
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: server
AssignedTo: unassigned@sourceware.org
ReportedBy: jan.kratochvil@redhat.com
Classification: Unclassified
Host: x86_64-unknown-linux-gnu
Target: x86_64-unknown-linux-gnu
Then there is in gdbserver mode:
-PASS: gdb.trace/collection.exp: collect register locals collectively: start
trace experiment
+FAIL: gdb.trace/collection.exp: collect register locals collectively: start
trace experiment
due to:
register int locar[4];
locar[0] = 121;
locar[1] = 122;
locar[2] = 123;
locar[3] = 124;
producing with gcc-4.8.0pre:
DW_AT_location:
(DW_OP_reg12(r12);DW_OP_piece:8;DW_OP_reg13(r13);DW_OP_piece:8)
which cannot be handled by current AX:
if (bits_collected + size > 8 * sizeof (LONGEST))
error (_("Expression pieces exceed word size"));
as it is 128-bit variable (from two 64-bit registers).
--
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.