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] Fix "set lang auto" oddity when inferior not started yet


On Wed, Jan 02, 2008 at 05:31:32AM -0800, Joel Brobecker wrote:
> The attached patch fixes the problem.
> 
> 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
> 
>         * symfile.c (set_initial_language): Make non-static.
>         * symfile.h (set_initial_language): Add declaration.
>         * language.c: #include "symfile.h".
>         (set_language): Call set_initial_language if the frame language
>         could not be determined.
> 
> I also wrote a tiny testcase:
> 
> 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
> 
>         * gdb.base/set_lang_auto.exp: New testcase.

Looks fine.  Dashes outnumber underscores (300 to 80) in the
testsuite, so please use those instead.

-- 
Daniel Jacobowitz
CodeSourcery


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