This is the mail archive of the gdb-patches@sourceware.org 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]

Re: RFA: fix PR 2506


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


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