This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: expressions with C preprocessor macro info
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 5 Jun 2008 12:26:57 -0400
- Subject: Re: expressions with C preprocessor macro info
- References: <200805032119.27919.pedro@codesourcery.com> <20080503202744.GA22625@caradoc.them.org> <200805032332.31387.pedro@codesourcery.com>
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