* Re: PATCH: --args
[not found] ` <87snbmb9nm.fsf@creche.redhat.com>
@ 2001-11-02 11:37 ` Fernando Nasser
2001-11-08 17:15 ` Elena Zannoni
1 sibling, 0 replies; 14+ messages in thread
From: Fernando Nasser @ 2001-11-02 11:37 UTC (permalink / raw)
To: tromey; +Cc: Andrew Cagney, gdb-patches, Elena Zannoni
> Andrew> Just check with Fernando and Elena.
>
> Ok.
>
OK with me. Elena?
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: PATCH: --args
[not found] ` <87snbmb9nm.fsf@creche.redhat.com>
2001-11-02 11:37 ` PATCH: --args Fernando Nasser
@ 2001-11-08 17:15 ` Elena Zannoni
2001-11-08 19:33 ` Tom Tromey
1 sibling, 1 reply; 14+ messages in thread
From: Elena Zannoni @ 2001-11-08 17:15 UTC (permalink / raw)
To: tromey; +Cc: gdb-patches
Tom Tromey writes:
> >>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> writes:
>
> Tom> +f::CONSTRUCT_INFERIOR_ARGUMENTS:char *:construct_inferior_arguments:int argc, char **argv:argc, argv:::construct_inferior_arguments::0
>
> Andrew> Could you please tweek this to be:
> Andrew> m:::char *:....
> Andrew> instead of ``f:''.
>
> Done.
> It wasn't clear to me when I would use `f' or `m', so I picked
> arbitrarily.
>
> >> + n = CONSTRUCT_INFERIOR_ARGUMENTS (inferior_argc, inferior_argv);
>
> Andrew> the above will also need to be tweeked to be:
> Andrew> n = gdbarch_construct_inferior_arguments (current_gdbarch, ...);
>
> Also done.
> Thanks.
>
> Andrew> Just check with Fernando and Elena.
>
> Ok.
main.c changes are ok.
Elena
>
> Tom
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: PATCH: --args
2001-11-08 17:15 ` Elena Zannoni
@ 2001-11-08 19:33 ` Tom Tromey
2001-11-09 1:29 ` Andrew Cagney
2001-11-09 18:30 ` PATCH: --args => build failure Pierre Muller
0 siblings, 2 replies; 14+ messages in thread
From: Tom Tromey @ 2001-11-08 19:33 UTC (permalink / raw)
To: Elena Zannoni; +Cc: gdb-patches
>>>>> "Elena" == Elena Zannoni <ezannoni@cygnus.com> writes:
Elena> main.c changes are ok.
Thanks! I think that's the last approval I need. I'll check the
patch in this evening.
I assume I should close the corresponding PRs. What is the gdb
process for this? Do I simply close them? Put them in `feedback'?
Or what?
Tom
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: PATCH: --args
2001-11-08 19:33 ` Tom Tromey
@ 2001-11-09 1:29 ` Andrew Cagney
2001-11-09 18:30 ` PATCH: --args => build failure Pierre Muller
1 sibling, 0 replies; 14+ messages in thread
From: Andrew Cagney @ 2001-11-09 1:29 UTC (permalink / raw)
To: tromey; +Cc: Elena Zannoni, gdb-patches
>>>>>> "Elena" == Elena Zannoni <ezannoni@cygnus.com> writes:
>
>
> Elena> main.c changes are ok.
>
> Thanks! I think that's the last approval I need. I'll check the
> patch in this evening.
>
> I assume I should close the corresponding PRs. What is the gdb
> process for this? Do I simply close them? Put them in `feedback'?
> Or what?
To be honest. I don't think we have one..... I do either depending on
what the PR is. If it is one of my ``enhancement requests'' just close it.
Andrew
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: PATCH: --args => build failure
2001-11-08 19:33 ` Tom Tromey
2001-11-09 1:29 ` Andrew Cagney
@ 2001-11-09 18:30 ` Pierre Muller
2001-11-09 21:48 ` Pierre Muller
` (2 more replies)
1 sibling, 3 replies; 14+ messages in thread
From: Pierre Muller @ 2001-11-09 18:30 UTC (permalink / raw)
To: tromey, Elena Zannoni, Christopher Faylor; +Cc: gdb-patches
At 00:13 22/11/2001 , Tom Tromey a écrit:
> >>>>> "Elena" == Elena Zannoni <ezannoni@cygnus.com> writes:
>
>Elena> main.c changes are ok.
>
>Thanks! I think that's the last approval I need. I'll check the
>patch in this evening.
>
>I assume I should close the corresponding PRs. What is the gdb
>process for this? Do I simply close them? Put them in `feedback'?
>Or what?
Your patch does create a build failure for cygwin target.
This target apparently does not use fork-child.c
(at least it is not included into the libgdb.a)
and thus I get the following error when I try to build the current main CVS
tree:
$ make
rm -f gdb.exe
gcc -g -O2 -o gdb.exe \
main.o libgdb.a cli-decode.o cli-script.o cli-cmds.o cli-setshow.o
cli-utils.o m
i-out.o mi-console.o mi-cmds.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o
mi-cmd
-disas.o mi-main.o mi-parse.o mi-getopt.o ../bfd/libbfd.a
../readline/libread
line.a ../opcodes/libopcodes.a ./../intl/libintl.a ../libiberty/libiberty.a `if
test -r ../libtermcap/libtermcap.a; then echo ../libtermcap/libtermcap.a;
else e
cho -ltermcap; fi` -lm ../libiberty/libiberty.a -luser32 -limagehlp\
libgdb.a(gdbarch.o): In function `gdbarch_alloc':
/home/muller/gdb/build/gdb/../../src/gdb/gdbarch.c:509: undefined reference
to `
construct_inferior_arguments'
/home/muller/gdb/build/gdb/../../src/gdb/gdbarch.c:482: undefined reference
to `
construct_inferior_arguments'
collect2: ld returned 1 exit status
make: *** [gdb.exe] Error 1
Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: PATCH: --args => build failure
2001-11-09 18:30 ` PATCH: --args => build failure Pierre Muller
@ 2001-11-09 21:48 ` Pierre Muller
2001-11-09 23:40 ` Pierre Muller
2001-11-10 8:22 ` Tom Tromey
2001-11-26 14:58 ` Michael Snyder
2 siblings, 1 reply; 14+ messages in thread
From: Pierre Muller @ 2001-11-09 21:48 UTC (permalink / raw)
To: tromey, Elena Zannoni, Christopher Faylor; +Cc: gdb-patches
At 12:17 22/11/2001 , Pierre Muller a écrit:
>At 00:13 22/11/2001 , Tom Tromey a écrit:
>> >>>>> "Elena" == Elena Zannoni <ezannoni@cygnus.com> writes:
>>
>>Elena> main.c changes are ok.
>>
>>Thanks! I think that's the last approval I need. I'll check the
>>patch in this evening.
>>
>>I assume I should close the corresponding PRs. What is the gdb
>>process for this? Do I simply close them? Put them in `feedback'?
>>Or what?
>
> Your patch does create a build failure for cygwin target.
>
> This target apparently does not use fork-child.c
>(at least it is not included into the libgdb.a)
>and thus I get the following error when I try to build the current main
>CVS tree:
>
>$ make
>rm -f gdb.exe
>gcc -g -O2 -o gdb.exe \
>main.o libgdb.a cli-decode.o cli-script.o cli-cmds.o cli-setshow.o
>cli-utils.o m
>i-out.o mi-console.o mi-cmds.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o
>mi-cmd
>-disas.o mi-main.o mi-parse.o mi-getopt.o ../bfd/libbfd.a
>../readline/libread
>line.a ../opcodes/libopcodes.a ./../intl/libintl.a
>../libiberty/libiberty.a `if
>test -r ../libtermcap/libtermcap.a; then echo ../libtermcap/libtermcap.a;
>else e
>cho -ltermcap; fi` -lm ../libiberty/libiberty.a -luser32 -limagehlp\
>
>libgdb.a(gdbarch.o): In function `gdbarch_alloc':
>/home/muller/gdb/build/gdb/../../src/gdb/gdbarch.c:509: undefined
>reference to `
>construct_inferior_arguments'
>/home/muller/gdb/build/gdb/../../src/gdb/gdbarch.c:482: undefined
>reference to `
>construct_inferior_arguments'
>collect2: ld returned 1 exit status
>make: *** [gdb.exe] Error 1
For you info:
compiling fork-child.o by calling
make fork-child.o
adding fork-child.o to libgdb.a with
ar t libgdb.a fork-child.o
and running make again
seems to be enough to get a new gdb executable.
But I have no real idea where dependency of fork-child file must be added.
Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: PATCH: --args => build failure
2001-11-09 21:48 ` Pierre Muller
@ 2001-11-09 23:40 ` Pierre Muller
0 siblings, 0 replies; 14+ messages in thread
From: Pierre Muller @ 2001-11-09 23:40 UTC (permalink / raw)
To: tromey, Elena Zannoni, Christopher Faylor; +Cc: gdb-patches
At 12:39 22/11/2001 , Pierre Muller a écrit:
>At 12:17 22/11/2001 , Pierre Muller a écrit:
>>At 00:13 22/11/2001 , Tom Tromey a écrit:
>>> >>>>> "Elena" == Elena Zannoni <ezannoni@cygnus.com> writes:
>>>
>>>Elena> main.c changes are ok.
>>>
>>>Thanks! I think that's the last approval I need. I'll check the
>>>patch in this evening.
>>>
>>>I assume I should close the corresponding PRs. What is the gdb
>>>process for this? Do I simply close them? Put them in `feedback'?
>>>Or what?
>>
>> Your patch does create a build failure for cygwin target.
>>
>> This target apparently does not use fork-child.c
>>(at least it is not included into the libgdb.a)
>>and thus I get the following error when I try to build the current main
>>CVS tree:
>>
>>$ make
>>rm -f gdb.exe
>>gcc -g -O2 -o gdb.exe \
>>main.o libgdb.a cli-decode.o cli-script.o cli-cmds.o cli-setshow.o
>>cli-utils.o m
>>i-out.o mi-console.o mi-cmds.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o
>>mi-cmd
>>-disas.o mi-main.o mi-parse.o mi-getopt.o ../bfd/libbfd.a
>>../readline/libread
>>line.a ../opcodes/libopcodes.a ./../intl/libintl.a
>>../libiberty/libiberty.a `if
>>test -r ../libtermcap/libtermcap.a; then echo ../libtermcap/libtermcap.a;
>>else e
>>cho -ltermcap; fi` -lm ../libiberty/libiberty.a -luser32 -limagehlp\
>>
>>libgdb.a(gdbarch.o): In function `gdbarch_alloc':
>>/home/muller/gdb/build/gdb/../../src/gdb/gdbarch.c:509: undefined
>>reference to `
>>construct_inferior_arguments'
>>/home/muller/gdb/build/gdb/../../src/gdb/gdbarch.c:482: undefined
>>reference to `
>>construct_inferior_arguments'
>>collect2: ld returned 1 exit status
>>make: *** [gdb.exe] Error 1
>
> For you info:
>compiling fork-child.o by calling
>make fork-child.o
>adding fork-child.o to libgdb.a with
>ar t libgdb.a fork-child.o
>and running make again
>seems to be enough to get a new gdb executable.
>
>But I have no real idea where dependency of fork-child file must be added.
Maybe the best solution would be to move this command into a file that is
loaded for
all targets, what about infrun.c ?
Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: PATCH: --args => build failure
2001-11-09 18:30 ` PATCH: --args => build failure Pierre Muller
2001-11-09 21:48 ` Pierre Muller
@ 2001-11-10 8:22 ` Tom Tromey
2001-11-10 8:34 ` Pierre Muller
2001-11-10 11:55 ` Christopher Faylor
2001-11-26 14:58 ` Michael Snyder
2 siblings, 2 replies; 14+ messages in thread
From: Tom Tromey @ 2001-11-10 8:22 UTC (permalink / raw)
To: Pierre Muller; +Cc: Elena Zannoni, Christopher Faylor, gdb-patches
>>>>> "Pierre" == Pierre Muller <muller@cerbere.u-strasbg.fr> writes:
Pierre> Your patch does create a build failure for cygwin target.
Sorry about that. I'll try to fix it this weekend.
One fix would be to write the correct quoting function for Windows.
Would you be able to test such a function if I wrote it?
Tom
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: PATCH: --args => build failure
2001-11-10 8:22 ` Tom Tromey
@ 2001-11-10 8:34 ` Pierre Muller
2001-11-10 11:55 ` Christopher Faylor
1 sibling, 0 replies; 14+ messages in thread
From: Pierre Muller @ 2001-11-10 8:34 UTC (permalink / raw)
To: tromey; +Cc: Elena Zannoni, Christopher Faylor, gdb-patches
At 14:19 22/11/01 -0700, Tom Tromey wrote:
>>>>>> "Pierre" == Pierre Muller <muller@cerbere.u-strasbg.fr> writes:
>
>Pierre> Your patch does create a build failure for cygwin target.
>
>Sorry about that. I'll try to fix it this weekend.
>One fix would be to write the correct quoting function for Windows.
>Would you be able to test such a function if I wrote it?
But that would only fix the problem for one target,
don't you think that my last proposal, to
move the code to infrun.c code is more
general ?
This does not exclude the fact that a separate version to parse the args
might be needed for cygwin target, but I
think that the build failure presently concerns all
targets that do not include fork-child.o in NATDEPFILES !
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: PATCH: --args => build failure
2001-11-10 8:22 ` Tom Tromey
2001-11-10 8:34 ` Pierre Muller
@ 2001-11-10 11:55 ` Christopher Faylor
1 sibling, 0 replies; 14+ messages in thread
From: Christopher Faylor @ 2001-11-10 11:55 UTC (permalink / raw)
To: Tom Tromey; +Cc: Pierre Muller, Elena Zannoni, gdb-patches
On Thu, Nov 22, 2001 at 02:19:26PM -0700, Tom Tromey wrote:
>>>>>> "Pierre" == Pierre Muller <muller@cerbere.u-strasbg.fr> writes:
>
>Pierre> Your patch does create a build failure for cygwin target.
>
>Sorry about that. I'll try to fix it this weekend.
>One fix would be to write the correct quoting function for Windows.
>Would you be able to test such a function if I wrote it?
Cygwin doesn't need any special quoting handling. There is a patch
pending which will cause cygwin to use /bin/sh to invoke a subprocess.
We're just waiting for an assignment.
cgf
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: PATCH: --args => build failure
2001-11-09 18:30 ` PATCH: --args => build failure Pierre Muller
2001-11-09 21:48 ` Pierre Muller
2001-11-10 8:22 ` Tom Tromey
@ 2001-11-26 14:58 ` Michael Snyder
2001-11-13 8:56 ` Michael Snyder
2001-11-26 15:05 ` Christopher Faylor
2 siblings, 2 replies; 14+ messages in thread
From: Michael Snyder @ 2001-11-26 14:58 UTC (permalink / raw)
To: Pierre Muller; +Cc: tromey, Elena Zannoni, Christopher Faylor, gdb-patches
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 697 bytes --]
Pierre Muller wrote:
>
> At 00:13 22/11/2001 , Tom Tromey a écrit:
> > >>>>> "Elena" == Elena Zannoni <ezannoni@cygnus.com> writes:
> >
> >Elena> main.c changes are ok.
> >
> >Thanks! I think that's the last approval I need. I'll check the
> >patch in this evening.
> >
> >I assume I should close the corresponding PRs. What is the gdb
> >process for this? Do I simply close them? Put them in `feedback'?
> >Or what?
>
> Your patch does create a build failure for cygwin target.
>
> This target apparently does not use fork-child.c
> (at least it is not included into the libgdb.a)
I would suspect that any non-native (eg. embedded) gdb
would fail to build for the same reason.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: PATCH: --args => build failure
2001-11-26 14:58 ` Michael Snyder
@ 2001-11-13 8:56 ` Michael Snyder
2001-11-26 15:05 ` Christopher Faylor
1 sibling, 0 replies; 14+ messages in thread
From: Michael Snyder @ 2001-11-13 8:56 UTC (permalink / raw)
To: Pierre Muller; +Cc: tromey, Elena Zannoni, Christopher Faylor, gdb-patches
Pierre Muller wrote:
>
> At 00:13 22/11/2001 , Tom Tromey a écrit:
> > >>>>> "Elena" == Elena Zannoni <ezannoni@cygnus.com> writes:
> >
> >Elena> main.c changes are ok.
> >
> >Thanks! I think that's the last approval I need. I'll check the
> >patch in this evening.
> >
> >I assume I should close the corresponding PRs. What is the gdb
> >process for this? Do I simply close them? Put them in `feedback'?
> >Or what?
>
> Your patch does create a build failure for cygwin target.
>
> This target apparently does not use fork-child.c
> (at least it is not included into the libgdb.a)
I would suspect that any non-native (eg. embedded) gdb
would fail to build for the same reason.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: PATCH: --args => build failure
2001-11-26 14:58 ` Michael Snyder
2001-11-13 8:56 ` Michael Snyder
@ 2001-11-26 15:05 ` Christopher Faylor
2001-11-13 9:00 ` Christopher Faylor
1 sibling, 1 reply; 14+ messages in thread
From: Christopher Faylor @ 2001-11-26 15:05 UTC (permalink / raw)
To: Michael Snyder; +Cc: Pierre Muller, tromey, Elena Zannoni, gdb-patches
On Mon, Nov 26, 2001 at 02:58:45PM -0800, Michael Snyder wrote:
>Pierre Muller wrote:
>>
>> At 00:13 22/11/2001 , Tom Tromey a ?crit:
>> > >>>>> "Elena" == Elena Zannoni <ezannoni@cygnus.com> writes:
>> >
>> >Elena> main.c changes are ok.
>> >
>> >Thanks! I think that's the last approval I need. I'll check the
>> >patch in this evening.
>> >
>> >I assume I should close the corresponding PRs. What is the gdb
>> >process for this? Do I simply close them? Put them in `feedback'?
>> >Or what?
>>
>> Your patch does create a build failure for cygwin target.
>>
>> This target apparently does not use fork-child.c
>> (at least it is not included into the libgdb.a)
>
>I would suspect that any non-native (eg. embedded) gdb
>would fail to build for the same reason.
FWIW, I moved the function to infcmd.c in my sandbox.
cgf
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: PATCH: --args => build failure
2001-11-26 15:05 ` Christopher Faylor
@ 2001-11-13 9:00 ` Christopher Faylor
0 siblings, 0 replies; 14+ messages in thread
From: Christopher Faylor @ 2001-11-13 9:00 UTC (permalink / raw)
To: Michael Snyder; +Cc: Pierre Muller, tromey, Elena Zannoni, gdb-patches
On Mon, Nov 26, 2001 at 02:58:45PM -0800, Michael Snyder wrote:
>Pierre Muller wrote:
>>
>> At 00:13 22/11/2001 , Tom Tromey a ?crit:
>> > >>>>> "Elena" == Elena Zannoni <ezannoni@cygnus.com> writes:
>> >
>> >Elena> main.c changes are ok.
>> >
>> >Thanks! I think that's the last approval I need. I'll check the
>> >patch in this evening.
>> >
>> >I assume I should close the corresponding PRs. What is the gdb
>> >process for this? Do I simply close them? Put them in `feedback'?
>> >Or what?
>>
>> Your patch does create a build failure for cygwin target.
>>
>> This target apparently does not use fork-child.c
>> (at least it is not included into the libgdb.a)
>
>I would suspect that any non-native (eg. embedded) gdb
>would fail to build for the same reason.
FWIW, I moved the function to infcmd.c in my sandbox.
cgf
^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <Elena>]
end of thread, other threads:[~2001-11-26 23:05 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <Pierre Muller's message of "Thu, 22 Nov 2001 12:17:26 +0100">
[not found] ` <Elena Zannoni's message of "Wed, 21 Nov 2001 17:16:14 -0500">
[not found] ` <873d3mcpcu.fsf@creche.redhat.com>
[not found] ` <3BED93E7.9000104@cygnus.com>
[not found] ` <87snbmb9nm.fsf@creche.redhat.com>
2001-11-02 11:37 ` PATCH: --args Fernando Nasser
2001-11-08 17:15 ` Elena Zannoni
2001-11-08 19:33 ` Tom Tromey
2001-11-09 1:29 ` Andrew Cagney
2001-11-09 18:30 ` PATCH: --args => build failure Pierre Muller
2001-11-09 21:48 ` Pierre Muller
2001-11-09 23:40 ` Pierre Muller
2001-11-10 8:22 ` Tom Tromey
2001-11-10 8:34 ` Pierre Muller
2001-11-10 11:55 ` Christopher Faylor
2001-11-26 14:58 ` Michael Snyder
2001-11-13 8:56 ` Michael Snyder
2001-11-26 15:05 ` Christopher Faylor
2001-11-13 9:00 ` Christopher Faylor
[not found] <Elena>
[not found] ` <Zannoni's>
[not found] ` <message>
[not found] ` <of>
[not found] ` <"Wed,>
[not found] ` <21>
[not found] ` <Nov>
[not found] ` <2001>
[not found] ` <17:16:14>
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox