This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] obvious pattern fix in gdb.base/step-line.exp
- From: Christophe LYON <christophe dot lyon at st dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 02 Apr 2009 10:51:01 +0200
- Subject: Re: [PATCH] obvious pattern fix in gdb.base/step-line.exp
- References: <49CCDB3D.5010302@st.com> <20090327184726.GW9472@adacore.com> <49D083FB.6020108@st.com> <20090330170216.GB9472@adacore.com> <49D21E7E.8080708@st.com> <20090401183240.GD8766@adacore.com>
On 01.04.2009 20:32, Joel Brobecker wrote:
But I am not 100% sure how to interpret the ANSI C spec regarding the
#line directive: when the name of the source file has no path (as in
step-line.c, where #line xx "step-line.c" is used), which path should be
considered?
Not sure either. Perhaps it's just unspecified?
I would say so, too.
I'm OK with leaving the testcase untouched if we don't need to.
OK. So I won't commit my patch, and fix the compiler instead.
Thanks
Christophe.