This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/11662] agent expressions can't represent all DWARF locations
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 2 Jun 2010 22:27:50 -0000
- Subject: [Bug breakpoints/11662] agent expressions can't represent all DWARF locations
- References: <20100602211133.11662.tromey@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From tromey at redhat dot com 2010-06-02 22:27 -------
Also, DWARF does not have many restrictions on how an expression
can manipulate the stack. For example, a DWARF expression may
push any number of values, while only the last value is used.
Branching can mean that the number of values on the stack at
any given point is not constant.
One simple way to deal with this problem would be to add new agent
opcodes to mark the stack depth and then pop to the mark.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11662
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.