This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: fix PR 2506
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 21 Oct 2008 12:53:55 -0600
- Subject: Re: RFA: fix PR 2506
- References: <m3zln7ku62.fsf@fleche.redhat.com> <200810211727.18574.pedro@codesourcery.com>
- Reply-to: Tom Tromey <tromey at redhat dot com>
Pedro> This crashes for me:
Pedro> print "foo" "bar" "boo"
Pedro> :-(
Thanks.
I added a new test case and fixed this problem.
I'm sending it back through the regression tester now.
Pedro> Also, these files don't use xmalloc/xfree. Instead, one writes
Pedro> malloc/free; they're sed'ed by the build system --- see the top of
Pedro> c-exp.y.
I made this change.
Two notes here: first, the Makefile doesn't actually s/free/xfree/ --
it only handles malloc and realloc. Funny. This should not really
matter in practice.
Second, ada-exp.y uses xmalloc once and p-exp.y uses xfree once, in
case anybody wants to clean that up.
I'll resubmit once the testing is finished.
Tom