Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Geoffrey Keating <geoffk@cygnus.com>
To: Tom Tromey  <tromey@redhat.com>, gdb@sources.redhat.com
Subject: missing construct_inferior_arguments
Date: Fri, 16 Nov 2001 14:58:00 -0000	[thread overview]
Message-ID: <200111271131.fARBVNb24601@thief.cygnus.com> (raw)


Hi Tom,

I'm having a problem that I think is related to your patch:

2001-11-21  Tom Tromey  <tromey@redhat.com>

        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 <geoffk@redhat.com>


WARNING: multiple messages have this Message-ID
From: Geoffrey Keating <geoffk@cygnus.com>
To: Tom Tromey  <tromey@redhat.com>, gdb@sources.redhat.com
Subject: missing construct_inferior_arguments
Date: Tue, 27 Nov 2001 03:31:00 -0000	[thread overview]
Message-ID: <200111271131.fARBVNb24601@thief.cygnus.com> (raw)
Message-ID: <20011127033100.sz-qwdsm61yVUdNT3567wYJ_qXAFlM7j3MTphM7OjH4@z> (raw)

Hi Tom,

I'm having a problem that I think is related to your patch:

2001-11-21  Tom Tromey  <tromey@redhat.com>

        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 <geoffk@redhat.com>


             reply	other threads:[~2001-11-27 11:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-16 14:58 Geoffrey Keating [this message]
2001-11-17 14:50 ` Tom Tromey
2001-11-27 10:25   ` Tom Tromey
2001-11-27  3:31 ` Geoffrey Keating

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200111271131.fARBVNb24601@thief.cygnus.com \
    --to=geoffk@cygnus.com \
    --cc=gdb@sources.redhat.com \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox