[PATCH v2] Fix type of startup_with_shell in gdbserver

Tom Tromey tromey@adacore.com
Wed Oct 2 19:44:00 GMT 2019


>>>>> "Tom" == Tom Tromey <tromey@adacore.com> writes:

Tom> startup_with_shell was changed to be of "bool" type, but I noticed
Tom> that the definition in gdbserver disagreed.  This disagreement caused
Tom> some regressions on a big-endian machine.

Tom> This patch removes the redundant declaration and definition of
Tom> startup_with_shell and ensures that such clashes will be diagnosed.

Tom> This moves the declaration to common-inferior.h, and introduces a new
Tom> common-inferior.c, as suggested by Pedro.

Christian asked about this on irc, so I'm going to put it in.
If there's some further issue, tell me and I will correct it.

Tom



More information about the Gdb-patches mailing list