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


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.


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