From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geoffrey Keating To: Tom Tromey , gdb@sources.redhat.com Subject: missing construct_inferior_arguments Date: Tue, 27 Nov 2001 03:31:00 -0000 Message-ID: <200111271131.fARBVNb24601@thief.cygnus.com> X-SW-Source: 2001-11/msg00284.html Message-ID: <20011127033100.sz-qwdsm61yVUdNT3567wYJ_qXAFlM7j3MTphM7OjH4@z> Hi Tom, I'm having a problem that I think is related to your patch: 2001-11-21 Tom Tromey Fix for PR gdb/209, PR gdb/156: * gdbarch.c, gdbarch.h: Rebuilt. * gdbarch.sh: Added `construct_inferior_arguments'. ... I am building a cross-gdb to a soon-to-be-contributed embedded target, and I get: /home/geoffk/co/combined/gdb/gdbarch.c:509: undefined reference to `construct_inferior_arguments' /home/geoffk/co/combined/gdb/gdbarch.c:501: undefined reference to `construct_inferior_arguments' because fork-child.o is not linked in (not surprisingly, since there is no forking and thus no children for this target). I worked around it by replacing the two uses of 'construct_inferior_arguments' with 0, but I'm sure that breaks native GDB horribly. Any ideas? -- Geoff Keating