This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] testsuite gdb.base/expand-psymtabs: ensure code is generated for the expected source line


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]