This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: macros/856: Can't use [some] macro's in conditional breakpoints
- From: Jim Blandy <jimb at redhat dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 23 Nov 2003 04:18:00 -0000
- Subject: Re: macros/856: Can't use [some] macro's in conditional breakpoints
- Reply-to: Jim Blandy <jimb at redhat dot com>
The following reply was made to PR macros/856; it has been noted by GNATS.
From: Jim Blandy <jimb@redhat.com>
To: gdb-gnats@sources.redhat.com
Cc:
Subject: Re: macros/856: Can't use [some] macro's in conditional breakpoints
Date: 22 Nov 2003 23:10:06 -0500
Changing parse_exp_1 to take a sal instead of a block seems like the
right thing to me, too.
Also, expression_context_pc should be replaced with
expression_context_sal. Then, parse_exp_1 can simply set
expression_context_sal, and c_preprocess_and_parse need not call
find_pc_line (which loses information).