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: expressions with C preprocessor macro info


On Sat, May 03, 2008 at 11:32:31PM +0100, Pedro Alves wrote:
> 	* expression.h (parse_exp_1): Take a context PC instead of a
> 	context block.

I'm thinking out loud here, but I think we should pass the PC _and_
the block.  Suppose we have inlined function support, which I'm still
hoping to submit soon.  Then there will be multiple relevant blocks
with different source locations at the same PC: the innermost
instruction, its "call site", and so forth.

-- 
Daniel Jacobowitz
CodeSourcery


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