Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jeff Johnston <jjohnstn@redhat.com>
To: Jeff Johnston <jjohnstn@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA]: Make class_name_from_physname part of language vector
Date: Fri, 11 Jun 2004 17:49:00 -0000	[thread overview]
Message-ID: <40C9F090.3050303@redhat.com> (raw)
In-Reply-To: <40A5583B.7030802@redhat.com>

Ping.

Jeff Johnston wrote:
> The attached patch is a fix for Java support.  Currently, dwarf2read.c 
> calls class_name_from_physname to get a class name.  This code currently 
> resides in the cp-support.c file and is C++ specific as it parses 
> looking for "::".
> 
> This patch changes it so the class_name_from_physname becomes a function 
> in the language definition.  The current class_name_from_physname 
> routine is the C++ version and is renamed.
> 
> Ok to commit?
> 
> 2004-05-14  Jeff Johnston  <jjohnstn@redhat.com>
> 
>     * language.h (struct_language_defn): Add new function pointer:
>     la_class_name_from_physname.  Also add new prototype for
>     language_class_name_from_physname.
>     * language.c (language_class_name_from_physname): New function.
>     (unk_lang_class_name): Ditto.
>     (unknown_language_defn, auto_language_defn): Change
>     to add unk_lang_class_name function pointer for
>     la_class_name_from_physname.
>     (local_language_defn): Ditto.
>     * dwarf2read.c (guess_structure_name): Change to call
>     language_class_name_from_physname.
>     (determine_class_name): Ditto.
>     * cp-support.c (class_name_from_physname): Renamed.
>     (cp_class_name_from_physname): New name of function.
>     * cp-support.h: Ditto.
>     * c-lang.c (c_language_defn): Change to add NULL
>     for class_name_from_physname function pointer.
>     (cplus_language_defn): Change to add cp_class_name_from_physname.
>     * jv-lang.c (java_class_name_physname): New function.
>     (find_last_component): New static routine.
>     (java_language_defn): Add java_class_name_from_physname pointer.
>     * ada-lang.c (ada_language_defn): Change to add NULL
>     for class_name_from_physname function pointer.
>     * f-lang.c (f_language_defn): Ditto.
>     * m2-lang.c (m2_language_defn): Ditto.
>     * objc-lang.c (objc_language_defn): Ditto.
>     * p-lang.c (pascal_language_defn): Ditto.
>     * scm-lang.c (scm_language_defn): Ditto.
> 
>     
>     


  reply	other threads:[~2004-06-11 17:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-14 23:37 Jeff Johnston
2004-06-11 17:49 ` Jeff Johnston [this message]
2004-06-17  2:18 ` Daniel Jacobowitz
2004-07-05 20:21 Jeff Johnston
2004-07-05 21:50 ` Daniel Jacobowitz
2004-07-05 23:50   ` Jeff Johnston
2004-07-06 14:29     ` Daniel Jacobowitz
2004-07-06 19:29       ` Jeff Johnston

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=40C9F090.3050303@redhat.com \
    --to=jjohnstn@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /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