Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Joel Brobecker <brobecker@gnat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] Fallback unsupported languages to "minimal"
Date: Thu, 08 May 2003 17:51:00 -0000	[thread overview]
Message-ID: <20030508175034.GA29316@nevyn.them.org> (raw)
In-Reply-To: <20030508174652.GG2093@gnat.com>

On Thu, May 08, 2003 at 10:46:52AM -0700, Joel Brobecker wrote:
> Now that we have the "minimal" language, we can change the DWARF2 reader
> to fallback to this language, instead of using the "unknown" one.
> 
> See http://sources.redhat.com/ml/gdb-patches/2003-04/msg00112.html for
> more details.
> 
> 2002-05-08  J. Brobecker  <brobecker@gnat.com>
> 
>         * set_cu_language: Set the language to "minimal" if the language
>         of the CU is not currently supported by GDB.

Tsk tsk, changelog formatting :)  dwarf2read.c (set_cu_language).

> Seems kind of obvious, but it never hurts to ask. Ok to apply?

> Index: dwarf2read.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/dwarf2read.c,v
> retrieving revision 1.91
> diff -c -3 -p -r1.91 dwarf2read.c
> *** dwarf2read.c	7 May 2003 22:57:30 -0000	1.91
> --- dwarf2read.c	8 May 2003 17:39:56 -0000
> *************** set_cu_language (unsigned int lang)
> *** 4548,4554 ****
>       case DW_LANG_Pascal83:
>       case DW_LANG_Modula2:
>       default:
> !       cu_language = language_unknown;
>         break;
>       }
>     cu_language_defn = language_def (cu_language);
> --- 4548,4554 ----
>       case DW_LANG_Pascal83:
>       case DW_LANG_Modula2:
>       default:
> !       cu_language = language_minimal;
>         break;
>       }
>     cu_language_defn = language_def (cu_language);


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2003-05-08 17:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-08 17:46 Joel Brobecker
2003-05-08 17:51 ` Daniel Jacobowitz [this message]
2003-05-08 18:02 ` Elena Zannoni
2003-05-08 18:06   ` Joel Brobecker

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=20030508175034.GA29316@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=brobecker@gnat.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