This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/11662] agent expressions can't represent all DWARF locations


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]