Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@gnat.com>
To: Kevin Buettner <kevinb@redhat.com>
Cc: Pierre Muller <muller@cerbere.u-strasbg.fr>,
	gdb-patches@sources.redhat.com
Subject: Re: New target method returning the name of the malloc function?
Date: Mon, 09 Sep 2002 09:48:00 -0000	[thread overview]
Message-ID: <20020909164845.GW1169@gnat.com> (raw)
In-Reply-To: <1020906161422.ZM26295@localhost.localdomain>

> This would suggest that something other than a target dependent method
> is needed.  (It seems to me that it's both target and language dependent.)

Do we have a mechanism already in place that would handle both target
and language? I could not find any. An alternative is for me to add a
target method (for interix), and Pierre adds a language method (for
Pascal).

We then change the code in valops to be something like:

  if (language_special_name_of_malloc ())
    name_of_malloc = language_special_name_of_malloc ();
  else
    name_of_malloc = NAME_OF_MALLOC ();

I am slightly confused by Michael Snyder's message, though. Did it mean
that GDB has no intention of handling the cases where malloc is named
differently?

-- 
Joel


  reply	other threads:[~2002-09-09 16:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-05 17:23 Joel Brobecker
2002-09-06  0:22 ` Pierre Muller
2002-09-06  6:03   ` Daniel Jacobowitz
2002-09-06  9:14   ` Kevin Buettner
2002-09-09  9:48     ` Joel Brobecker [this message]
2002-09-09 13:10     ` Andrew Cagney
2002-09-09 15:44       ` muller
2002-09-09 21:06         ` Andrew Cagney
2002-09-06 11:04 ` Michael Snyder

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=20020909164845.GW1169@gnat.com \
    --to=brobecker@gnat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kevinb@redhat.com \
    --cc=muller@cerbere.u-strasbg.fr \
    /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