This is the mail archive of the gdb-patches@sources.redhat.com 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] Remove dependency on load address of environ


I remember looking at that code a year or two ago and wondering
what in the world it was doing with &environ.

I proofread this patch and it looks correct to me, no problems found.
I have not tested it though.

Michael C

2002-04-26  Fred Fish  <fnf@redhat.com>

	* main.c (display_space_base): Add global variable.
	(main): Initialize display_space_base by calling sbrk.

	* main.c (captured_main): Add display_space_base decl, remove environ
	decl and reference, remove lim variable, use display_space_base.
	* top.c (command_loop): Ditto.
	* event-top.c (command_handler): Ditto.
	(command_line_handler_continuation): Ditto.


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