This is the mail archive of the gdb@sources.redhat.com 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: p-exp.y: parse error before "xmalloc"


It's the problem that Andreas Schwab noticed.

p-exp.y says:

  char *uptokstart = (char *)malloc(namelen+1);

p-exp.c, after substitution, says:

  char *uptokstart = (char *xmalloc(namelen+1);

I'll go ahead and check in a patch unless someone beats me to it.

Michael


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