From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5546 invoked by alias); 27 Nov 2001 11:31:37 -0000 Mailing-List: contact gdb-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 5431 invoked from network); 27 Nov 2001 11:31:29 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by hostedprojects.ges.redhat.com with SMTP; 27 Nov 2001 11:31:29 -0000 Received: from thief.cygnus.com (thief.cygnus.com [205.180.231.32]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id DAA24066; Tue, 27 Nov 2001 03:31:23 -0800 (PST) From: Geoffrey Keating Received: (geoffk@localhost) by thief.cygnus.com (8.11.6/8.6.4) id fARBVNb24601; Tue, 27 Nov 2001 03:31:23 -0800 Date: Fri, 16 Nov 2001 14:58:00 -0000 Message-Id: <200111271131.fARBVNb24601@thief.cygnus.com> To: Tom Tromey , gdb@sources.redhat.com Subject: missing construct_inferior_arguments X-SW-Source: 2001-11/txt/msg00177.txt.bz2 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 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