This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] testsuite gdb.base/expand-psymtabs: ensure code is generated for the expected source line
- From: Carlos Eduardo Seo <cseo at linux dot vnet dot ibm dot com>
- To: Christophe LYON <christophe dot lyon at st dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 10 Dec 2008 15:28:17 -0200
- Subject: Re: [RFA] testsuite gdb.base/expand-psymtabs: ensure code is generated for the expected source line
- Openpgp: id=8BFFA900
- References: <493D3C16.3010303@st.com>
Christophe LYON wrote:
> I propose the attached small patch to expand-psymtabs.c. The goal is to
> make sure the compiler actually generates code and debug information for
> the expected line. Currently, our compiler attaches code only to the
> opening brace, hence causing the test to fail.
>
Just curious... which compiler are you using?
gcc generates the right code for the purpose of the test using both
(patched and unpatched) testcases. So, if everyone else agrees, I'm fine
with your modification.
Regards,
--
Carlos Eduardo Seo
Software Engineer
IBM Linux Technology Center