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]

[PATCH/RFA] Multi-arch STARTUP_WITH_SHELL and START_INFERIOR_TRAPS_EXPECTED


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

Currently STARTUP_WITH_SHELL is not modified by any of the target configs,
but START_INFERIOR_TRAPS_EXPECTED is modified by several.

This does not include changes to actually use the gdbarch'd versions.  Some
of those will follow.

OK to commit?

	* 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.

-- 
        -- 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]