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 "Segmentation fault" when "gdb -v"


On Thu, Mar 04, 2010 at 04:06:00PM +0800, Hui Zhu wrote:
> The way is make it output after interp_set.

Take a look at the comment you moved.

> -  /* Do these (and anything which might call wrap_here or *_filtered)
> -     after initialize_all_files() but before the interpreter has been
> -     installed.  Otherwize the help/version messages will be eaten by
> -     the interpreter's output handler.  */

That says to do it before interp_set.

-- 
Daniel Jacobowitz
CodeSourcery


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