Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] ada: Fix rashes on gdbarch garbage
Date: Mon, 21 Mar 2011 15:39:00 -0000	[thread overview]
Message-ID: <20110321145109.GA26417@host1.jankratochvil.net> (raw)
In-Reply-To: <20110321144716.GD2520@adacore.com>

Hi Joel,

On Mon, 21 Mar 2011 15:47:16 +0100, Joel Brobecker wrote:
> To prevent any further fields from being undefined, I have also
> checked the following patch in.
> 
> gdb/ChangeLog:
> 
> 	* ada-lang.c (replace_operator_with_call): Use xzalloc instead
> 	of xmalloc.

The downside is valgrind will no longer complain like it did in the reported
case.  Still I agree it is probably better for users this way.


Thanks,
Jan


      reply	other threads:[~2011-03-21 14:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-21 10:46 Jan Kratochvil
2011-03-21 15:06 ` Joel Brobecker
2011-03-21 15:39   ` Jan Kratochvil [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110321145109.GA26417@host1.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox