This is the mail archive of the gdb-patches@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]

Re: [RFA/RFC] Support DW_OP_breg for tracepoints


Why are you adding the offset twice?  Is it just cut-and-paste from
the DW_OP_fbreg code?  That looks wrong, too.

Yes, copy and paste. I don't understand why it's added twice either :) Dan seems to think it's ok, but I'll wait a bit before I commit anything.


This code should go in ax-gdb.[ch].  That has a translator from GDB
expressions to agent expressions; it would make sense to also have a
translator from Dwarf expressions to agent expressions.

I don't feel comfortable enough with the dwarf code to touch this, so I'll have to leave this part to one of you experts :)


randolph



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