public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug backtrace/10224] New: Please add dwarf3 DW_OP_call_frame_cfa
@ 2009-06-01 16:14 rth at gcc dot gnu dot org
  2009-06-01 16:16 ` [Bug backtrace/10224] " tromey at redhat dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2009-06-01 16:14 UTC (permalink / raw)
  To: gdb-prs

Currently GCC has to describe the CFA twice, once for the unwind info
and once in the form of location lists for DW_AT_frame_base.  This
dwarf3 opcode allows DW_AT_frame_base to essentially reference the
unwind info definition.

-- 
           Summary: Please add dwarf3 DW_OP_call_frame_cfa
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: backtrace
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: rth at gcc dot gnu dot org
                CC: gdb-prs at sourceware dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=10224

------- 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] 8+ messages in thread

* [Bug backtrace/10224] Please add dwarf3 DW_OP_call_frame_cfa
  2009-06-01 16:14 [Bug backtrace/10224] New: Please add dwarf3 DW_OP_call_frame_cfa rth at gcc dot gnu dot org
@ 2009-06-01 16:16 ` tromey at redhat dot com
  2009-06-02  9:38 ` jan dot kratochvil at redhat dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tromey at redhat dot com @ 2009-06-01 16:16 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10224

------- 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] 8+ messages in thread

* [Bug backtrace/10224] Please add dwarf3 DW_OP_call_frame_cfa
  2009-06-01 16:14 [Bug backtrace/10224] New: Please add dwarf3 DW_OP_call_frame_cfa rth at gcc dot gnu dot org
  2009-06-01 16:16 ` [Bug backtrace/10224] " tromey at redhat dot com
@ 2009-06-02  9:38 ` jan dot kratochvil at redhat dot com
  2009-06-02 21:31 ` tromey at redhat dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2009-06-02  9:38 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan dot kratochvil at redhat
                   |                            |dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10224

------- 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] 8+ messages in thread

* [Bug backtrace/10224] Please add dwarf3 DW_OP_call_frame_cfa
  2009-06-01 16:14 [Bug backtrace/10224] New: Please add dwarf3 DW_OP_call_frame_cfa rth at gcc dot gnu dot org
  2009-06-01 16:16 ` [Bug backtrace/10224] " tromey at redhat dot com
  2009-06-02  9:38 ` jan dot kratochvil at redhat dot com
@ 2009-06-02 21:31 ` tromey at redhat dot com
  2009-06-02 23:11 ` rth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tromey at redhat dot com @ 2009-06-02 21:31 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From tromey at redhat dot com  2009-06-02 21:31 -------
What is the simplest way to test a patch implementing this?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10224

------- 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] 8+ messages in thread

* [Bug backtrace/10224] Please add dwarf3 DW_OP_call_frame_cfa
  2009-06-01 16:14 [Bug backtrace/10224] New: Please add dwarf3 DW_OP_call_frame_cfa rth at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-06-02 21:31 ` tromey at redhat dot com
@ 2009-06-02 23:11 ` rth at gcc dot gnu dot org
  2009-06-02 23:27 ` tromey at redhat dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2009-06-02 23:11 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From rth at gcc dot gnu dot org  2009-06-02 23:11 -------
We'll whip up a patch to generate the opcode, then ...

Probably to watch the value of a function argument on
the stack, while stepping through the prologue of a function.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10224

------- 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] 8+ messages in thread

* [Bug backtrace/10224] Please add dwarf3 DW_OP_call_frame_cfa
  2009-06-01 16:14 [Bug backtrace/10224] New: Please add dwarf3 DW_OP_call_frame_cfa rth at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-06-02 23:11 ` rth at gcc dot gnu dot org
@ 2009-06-02 23:27 ` tromey at redhat dot com
  2009-06-03  0:07 ` rth at gcc dot gnu dot org
  2009-09-14 15:58 ` tromey at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: tromey at redhat dot com @ 2009-06-02 23:27 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From tromey at redhat dot com  2009-06-02 23:27 -------
Sounds good.

I have a gdb patch; attach the gcc patch here and I will give it a try.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at sourceware dot|tromey at redhat dot com
                   |org                         |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-06-02 23:27:09
               date|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=10224

------- 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] 8+ messages in thread

* [Bug backtrace/10224] Please add dwarf3 DW_OP_call_frame_cfa
  2009-06-01 16:14 [Bug backtrace/10224] New: Please add dwarf3 DW_OP_call_frame_cfa rth at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2009-06-02 23:27 ` tromey at redhat dot com
@ 2009-06-03  0:07 ` rth at gcc dot gnu dot org
  2009-09-14 15:58 ` tromey at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2009-06-03  0:07 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From rth at gcc dot gnu dot org  2009-06-03 00:07 -------
Created an attachment (id=3979)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3979&action=view)
quick hack to make gcc generate DW_OP_call_frame_cfa

I'm not sure off-hand what conditional I should really be using,
but no conditional at all will work for testing.  =)

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10224

------- 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] 8+ messages in thread

* [Bug backtrace/10224] Please add dwarf3 DW_OP_call_frame_cfa
  2009-06-01 16:14 [Bug backtrace/10224] New: Please add dwarf3 DW_OP_call_frame_cfa rth at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2009-06-03  0:07 ` rth at gcc dot gnu dot org
@ 2009-09-14 15:58 ` tromey at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: tromey at redhat dot com @ 2009-09-14 15:58 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From tromey at redhat dot com  2009-09-14 15:58 -------
I checked in the fix.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|6.8                         |6.9


http://sourceware.org/bugzilla/show_bug.cgi?id=10224

------- 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] 8+ messages in thread

end of thread, other threads:[~2009-09-14 15:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-01 16:14 [Bug backtrace/10224] New: Please add dwarf3 DW_OP_call_frame_cfa rth at gcc dot gnu dot org
2009-06-01 16:16 ` [Bug backtrace/10224] " tromey at redhat dot com
2009-06-02  9:38 ` jan dot kratochvil at redhat dot com
2009-06-02 21:31 ` tromey at redhat dot com
2009-06-02 23:11 ` rth at gcc dot gnu dot org
2009-06-02 23:27 ` tromey at redhat dot com
2009-06-03  0:07 ` rth at gcc dot gnu dot org
2009-09-14 15:58 ` tromey 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).