This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Move gdbserver to top level
- From: "Maciej W. Rozycki" <macro at wdc dot com>
- To: Luis Machado <luis dot machado at linaro dot org>
- Cc: Tom Tromey <tom at tromey dot com>, Sergio Durigan Junior <sergiodj at redhat dot com>, Tom de Vries <tdevries at suse dot de>, Pedro Alves <palves at redhat dot com>, gdb-patches at sourceware dot org
- Date: Mon, 17 Feb 2020 14:21:28 +0000 (GMT)
- Subject: Re: [PATCH] Move gdbserver to top level
- Ironport-sdr: lC+H1ItxYcDYQ3pe8b22w1nzn5lN1EWR961sLrmKwpAcpi3HsjObcc+CjwuAbaERCHhGzk9J9z i2dwBrOEaQmN/vtpG2q2d3igGAypy4xDRkk/2G4TTMsln91KeuNRLI/SgprqR+5Idq/tu8M4OA m0pSuDWDJqiAw1xwxljKmup6ViywIkIFShHUTM662XWPzfSP9LZO2ntilmOmLU2z4S4497Brlx 5mTrgMJ0wzjROsAb0UO7BEx5iPS2a8aHDVE/lkhqRtU9eU/gLJdVN78+XOkE2nNkdAHrA5f+4N MpY=
- Ironport-sdr: XYpPOGI4qKmT3Ug5haPrSaT05knQqmMm1Dm1vWAHVeDIgV/SFaColwLLSR+BIN2ZBogSmTIRBh gP/8Z6+3zy+I1X9KCWjQVQg97WMxB0LOLGsE4m+oqeEKLlsphvmOLZs1GYHGuaXF9HrxJGGNV/ sYjSFFVdXcUgnD1hL7FMEp1v8sAzANA9p/SmgSflVg8jGXcX0qLb5okp0+E/Hi72JGtyDhxDw5 nqTAsX1H5NGtRlS7f9S97nok4xkp6BO1i8GNuAHk36pOh4k0xd4ey+OKYSyyj/oqeAVYL0rpwl voWcR/IQBPs+HSS0omnmO8M1
- Ironport-sdr: c5qqSytuomZDx/+Cp+oPYR6qhDxMf7dl8bJ6Z+ok0Q09zdQLaKWEAJAzh5/91j47OTfkYoQe/F ce1b0emsR5UF3n1TMBUmLBOK+wwJYyrZYJIy0Q8FiWZGTELUcC/zM5E7PzegznZZsfmhGFeAc8 bPbS+65XJGc9F9IYCJAvlMbACIbODb8VwMQ/HZ5BSC7H5pAJkmrDbbG7KlL5ylCtVFFMOGAC5e E7Kge196GAtBjERG4JKoyAkabuXLbVmk+/OPGOD6Eso61U4WebxB1g7g+4Lo59qeJ32xn5cdMv FSk=
- References: <87d0bf45up.fsf@tromey.com> <7ceebbb7-b2f7-3d4a-1d8a-f31310badbe8@redhat.com> <874kwk8nz9.fsf@tromey.com> <171a3144-af37-1c29-a2a4-c4cd7eaa14c0@redhat.com> <87r1zm6x8s.fsf@tromey.com> <01b4b5ca-a802-54b5-3135-428b7c9faa84@redhat.com> <87o8uo4mj0.fsf@tromey.com> <87blqfn0d6.fsf@tromey.com> <0b6b4f24-f5c8-b236-c249-737e70395667@suse.de> <4d5a1276-91aa-7197-5f90-854767987f73@suse.de> <c58efeda-0be9-ef0d-86f1-cff89393a947@suse.de> <87imkeh1za.fsf@redhat.com> <87eev0bp4s.fsf@tromey.com> <8736bd3jt2.fsf@redhat.com> <8736bdj9qt.fsf@tromey.com> <87pnegan2x.fsf@tromey.com> <efcc7ef9-40c7-8413-be29-845d5d64f0a0@linaro.org>
- Wdcironportexception: Internal
On Mon, 17 Feb 2020, Luis Machado wrote:
> Should --disable-gdb also imply --disable-gdbserver? Or should we be
> able to build gdbserver without building gdb (sounds a bit more complex)?
Nope, `--disable-gdb --enable-gdbserver' is typical for a cross-debug
environment, where you want to configure and build cross-GDB with
`--host=foo --target=bar' and `gdbserver' with `--host=bar'. Sometimes
your build environment may not even be capable to build native GDB with
`--host=bar', or your target system to run it, and in any case building
GDB takes a lot of processing time compared to `gdbserver'. So it would
be a waste of resources if we forced people to do that.
I build `gdbserver' by itself routinely, although I only did the minimum
to convert from the old layout, that is rather than calling `configure'
from gdb/gdbserver/ I now call it from gdbserver/. So far it has worked,
although with the new arrangement it probably qualifies as a hack, and may
stop working sometime.
Maciej