This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

missing construct_inferior_arguments



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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]