[RFA] testsuite gdb.base/expand-psymtabs: ensure code is generated for the expected source line
Christophe LYON
christophe.lyon@st.com
Thu Dec 11 08:50:00 GMT 2008
On 10.12.2008 18:28, Carlos Eduardo Seo wrote:
> 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,
>
We are using Open64. Its front-end is based on GCC but the "trees" are
converted into Whirl (Open64 Internal Representation) rather early.
We have ported it to internal targets, and on a few occasions, I already
submitted this kind of small patches.
Christophe.
More information about the Gdb-patches
mailing list