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: [PATCH/RFA] Multi-arch STARTUP_WITH_SHELL and START_INFERIOR_TRAPS_EXPECTED


On Sun, Apr 21, 2002 at 06:06:16PM -0700, Jason R Thorpe wrote:

 > The following puts STARTUP_WITH_SHELL and START_INFERIOR_TRAPS_EXPECTED
 > under the control of gdbarch.

...here is an update; I missed where procfs.c does an #ifdef check for
START_INFERIOR_TRAPS_EXPECTED; that #ifdef is not needed.  Update patch
attached.

	* gdbarch.sh (STARTUP_WITH_SHELL): New variable.  Defaults to 1.
	(START_INFERIOR_TRAPS_EXPECTED): New variable.  Defaults to 2.
	* gdbarch.c: Regenerate.
	* gdbarch.h: Regenerate.
	* inferior.h (STARTUP_WITH_SHELL): Remove.
	(START_INFERIOR_TRAPS_EXPECTED): Remove.
	* procfs.c (procfs_init_inferior): Remove #ifdef of
	START_INFERIOR_TRAPS_EXPECTED.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: startup-patch
Description: Text document


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