Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@gnat.com>
To: Elena Zannoni <ezannoni@redhat.com>
Cc: Daniel Jacobowitz <drow@mvista.com>, gdb-patches@sources.redhat.com
Subject: Re: [RFA/DWARF2] Fallback unknown language to C
Date: Wed, 23 Apr 2003 00:04:00 -0000	[thread overview]
Message-ID: <20030423000413.GH2402@gnat.com> (raw)
In-Reply-To: <16021.45908.63160.331637@localhost.redhat.com>

Elena,

> I would prefer to have the partial language support. Joel, any chance
> you could be bribed into doing it? I think all it would be needed is
> to create a new language vector and copy/rename some of the
> c-functions into it.

I had a quicky look and I think it should be pretty simple. However, I
am not sure this is what you had in mind. Here is what I think might
work:

  - Add a new language in defs.h (``language_partial''?)
  - in c-lang.c: Create a new language vector. It seems that making this
    vector close to identical to the C or Asm language vector should be
    good enough. 

Once this is done and integrated, we can then update dwarf2read.c to
set the language to partial instead of unknown.

Does it correspond to what you were thinking?
-- 
Joel


  parent reply	other threads:[~2003-04-23  0:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-12  1:44 Joel Brobecker
2003-03-12 14:59 ` Daniel Jacobowitz
2003-04-07 13:24   ` Elena Zannoni
2003-04-04 22:25     ` Daniel Jacobowitz
2003-04-10 18:05       ` Elena Zannoni
2003-04-10 19:08         ` Joel Brobecker
2003-04-10 19:48           ` Elena Zannoni
2003-04-10 20:00             ` Joel Brobecker
2003-04-23  0:04         ` Joel Brobecker [this message]
2003-04-23  0:52           ` Elena Zannoni

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=20030423000413.GH2402@gnat.com \
    --to=brobecker@gnat.com \
    --cc=drow@mvista.com \
    --cc=ezannoni@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