Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* missing construct_inferior_arguments
@ 2001-11-16 14:58 Geoffrey Keating
  2001-11-17 14:50 ` Tom Tromey
  2001-11-27  3:31 ` Geoffrey Keating
  0 siblings, 2 replies; 4+ messages in thread
From: Geoffrey Keating @ 2001-11-16 14:58 UTC (permalink / raw)
  To: Tom Tromey, gdb


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>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: missing construct_inferior_arguments
  2001-11-16 14:58 missing construct_inferior_arguments Geoffrey Keating
@ 2001-11-17 14:50 ` Tom Tromey
  2001-11-27 10:25   ` Tom Tromey
  2001-11-27  3:31 ` Geoffrey Keating
  1 sibling, 1 reply; 4+ messages in thread
From: Tom Tromey @ 2001-11-17 14:50 UTC (permalink / raw)
  To: Geoffrey Keating; +Cc: gdb

>>>>> "Geoff" == Geoffrey Keating <geoffk@cygnus.com> writes:

Geoff> I'm having a problem that I think is related to your patch:
Geoff> 2001-11-21  Tom Tromey  <tromey@redhat.com>
Geoff>         Fix for PR gdb/209, PR gdb/156:
Geoff>         * gdbarch.c, gdbarch.h: Rebuilt.
Geoff>         * gdbarch.sh: Added `construct_inferior_arguments'.
Geoff> ..

Geoff> /home/geoffk/co/combined/gdb/gdbarch.c:509: undefined reference to
Geoff> `construct_inferior_arguments'

I checked in the fix for this last night.

Tom


^ permalink raw reply	[flat|nested] 4+ messages in thread

* missing construct_inferior_arguments
  2001-11-16 14:58 missing construct_inferior_arguments Geoffrey Keating
  2001-11-17 14:50 ` Tom Tromey
@ 2001-11-27  3:31 ` Geoffrey Keating
  1 sibling, 0 replies; 4+ messages in thread
From: Geoffrey Keating @ 2001-11-27  3:31 UTC (permalink / raw)
  To: Tom Tromey, gdb

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>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: missing construct_inferior_arguments
  2001-11-17 14:50 ` Tom Tromey
@ 2001-11-27 10:25   ` Tom Tromey
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Tromey @ 2001-11-27 10:25 UTC (permalink / raw)
  To: Geoffrey Keating; +Cc: gdb

>>>>> "Geoff" == Geoffrey Keating <geoffk@cygnus.com> writes:

Geoff> I'm having a problem that I think is related to your patch:
Geoff> 2001-11-21  Tom Tromey  <tromey@redhat.com>
Geoff>         Fix for PR gdb/209, PR gdb/156:
Geoff>         * gdbarch.c, gdbarch.h: Rebuilt.
Geoff>         * gdbarch.sh: Added `construct_inferior_arguments'.
Geoff> ..

Geoff> /home/geoffk/co/combined/gdb/gdbarch.c:509: undefined reference to
Geoff> `construct_inferior_arguments'

I checked in the fix for this last night.

Tom


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-11-27 18:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-16 14:58 missing construct_inferior_arguments Geoffrey Keating
2001-11-17 14:50 ` Tom Tromey
2001-11-27 10:25   ` Tom Tromey
2001-11-27  3:31 ` Geoffrey Keating

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox