public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/10640] New: GDB doesn't support DW_OP_call{2,4}
@ 2009-09-15 9:40 jakub at redhat dot com
2009-09-20 10:15 ` [Bug gdb/10640] " jan dot kratochvil at redhat dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: jakub at redhat dot com @ 2009-09-15 9:40 UTC (permalink / raw)
To: gdb-prs
In http://gcc.gnu.org/PR41343 we are discussing using DW_OP_call{2,4} to
reference DW_AT_location of other variables in current TU from DW_AT_location or
location lists, but unfortunately it doesn't seem to be supported by gdb.
--
Summary: GDB doesn't support DW_OP_call{2,4}
Product: gdb
Version: 6.8
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: gdb
AssignedTo: unassigned at sourceware dot org
ReportedBy: jakub at redhat dot com
CC: gdb-prs at sourceware dot org,jan dot kratochvil at
redhat dot com,tromey at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10640
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/10640] GDB doesn't support DW_OP_call{2,4}
2009-09-15 9:40 [Bug gdb/10640] New: GDB doesn't support DW_OP_call{2,4} jakub at redhat dot com
@ 2009-09-20 10:15 ` jan dot kratochvil at redhat dot com
2009-09-20 12:37 ` jan dot kratochvil at redhat dot com
2010-06-07 19:57 ` jan dot kratochvil at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2009-09-20 10:15 UTC (permalink / raw)
To: gdb-prs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at sourceware dot|jan dot kratochvil at redhat
|org |dot com
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
http://sourceware.org/bugzilla/show_bug.cgi?id=10640
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/10640] GDB doesn't support DW_OP_call{2,4}
2009-09-15 9:40 [Bug gdb/10640] New: GDB doesn't support DW_OP_call{2,4} jakub at redhat dot com
2009-09-20 10:15 ` [Bug gdb/10640] " jan dot kratochvil at redhat dot com
@ 2009-09-20 12:37 ` jan dot kratochvil at redhat dot com
2010-06-07 19:57 ` jan dot kratochvil at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2009-09-20 12:37 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From jan dot kratochvil at redhat dot com 2009-09-20 12:37 -------
Posted:
http://sourceware.org/ml/gdb-patches/2009-09/msg00641.html
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10640
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/10640] GDB doesn't support DW_OP_call{2,4}
2009-09-15 9:40 [Bug gdb/10640] New: GDB doesn't support DW_OP_call{2,4} jakub at redhat dot com
2009-09-20 10:15 ` [Bug gdb/10640] " jan dot kratochvil at redhat dot com
2009-09-20 12:37 ` jan dot kratochvil at redhat dot com
@ 2010-06-07 19:57 ` jan dot kratochvil at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-06-07 19:57 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-06-07 19:55 -------
Subject: Bug 10640
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2010-06-07 19:55:33
Modified files:
gdb : ChangeLog dwarf2-frame.c dwarf2expr.c
dwarf2expr.h dwarf2loc.c dwarf2loc.h
dwarf2read.c
gdb/testsuite : ChangeLog
Added files:
gdb/testsuite/gdb.dwarf2: dw2-op-call.S dw2-op-call.exp
Log message:
gdb/
Fix PR 10640.
* dwarf2-frame.c (no_dwarf_call): New function.
(execute_stack_op): Set CTX->DWARF_CALL.
* dwarf2expr.c (execute_stack_op) <DW_OP_call2, DW_OP_call4>: New.
* dwarf2expr.h (struct dwarf_expr_context) <dwarf_call>: New.
(struct dwarf_expr_context) <get_subr>: Remove the #if0-ed field.
* dwarf2loc.c (per_cu_dwarf_call, dwarf_expr_dwarf_call): New functions.
(dwarf2_evaluate_loc_desc): Initialize CTX->DWARF_CALL.
(needs_frame_dwarf_call): New function.
(dwarf2_loc_desc_needs_frame): Initialize CTX->DWARF_CALL.
* dwarf2read.c (follow_die_offset): Based on former follow_die_ref.
Update the comment. Move variables die, offset and error call to ...
(follow_die_ref): ... a new function.
(dwarf2_fetch_die_location_block): New function.
* dwarf2loc.h (dwarf2_fetch_die_location_block): New prototype.
gdb/testsuite/
Test PR 10640.
* gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11884&r2=1.11885
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2-frame.c.diff?cvsroot=src&r1=1.111&r2=1.112
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2expr.c.diff?cvsroot=src&r1=1.45&r2=1.46
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2expr.h.diff?cvsroot=src&r1=1.24&r2=1.25
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2loc.c.diff?cvsroot=src&r1=1.87&r2=1.88
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2loc.h.diff?cvsroot=src&r1=1.16&r2=1.17
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&r1=1.396&r2=1.397
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2320&r2=1.2321
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw2-op-call.S.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw2-op-call.exp.diff?cvsroot=src&r1=NONE&r2=1.1
------- Additional Comments From jan dot kratochvil at redhat dot com 2010-06-07 19:57 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=10640
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-06-07 19:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-15 9:40 [Bug gdb/10640] New: GDB doesn't support DW_OP_call{2,4} jakub at redhat dot com
2009-09-20 10:15 ` [Bug gdb/10640] " jan dot kratochvil at redhat dot com
2009-09-20 12:37 ` jan dot kratochvil at redhat dot com
2010-06-07 19:57 ` jan dot kratochvil at redhat 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).