This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Apple version gdb-309
- From: Nick Roberts <nick at nick dot uklinux dot net>
- To: Jim Ingham <jingham at apple dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 30 Mar 2004 00:22:23 +0100
- Subject: Re: Apple version gdb-309
- References: <5241541D-81C7-11D8-95CB-000A958F4C44@apple.com>
> > More specifically will the future versions for Mac OS
> > ( == powerpc-apple-darwin? ) have the changes for -stack-list-locals
> > and
> > -var-list-children that I committed to the FSF repository on
> > 2004-01-20?
>
> Yes. Both these commands are different in our gdb from the version in
> the FSF repository, but as I merge the differences, I will try to keep
> the behavior you added working. It doesn't look too hard, though in
> the case of stack-list-locals, your change uses argument values that we
> had already taken (I think Jason mentioned this at the time you were
> adding it). So I have to get Xcode to change as well. Fortunately for
> now we keep the Xcode and gdb versions in sync, so this won't be a
> problem...
Jim,
I did say to Jason (12 Dec 2003):
Me> I don't see why both our changes can't be accommodated. This patch uses a
Me> switch statement for each value of print_values. If for some reason Apple
Me> need -stack-list-locals 2, I dont mind using another value.
He didn't seem enthusiastic but perhaps I missed his point. All my changes to
Emacs and GDB are still in CVS, so, as far as I'm concerned, you're welcome to
change my values if this makes things easier for your merge.
Thanks for the info,
Nick