Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Stephane Carrez <stcarrez@nerim.fr>
To: gdb-patches@sources.redhat.com
Subject: [RFA]: Compile Ada language files in gdb
Date: Tue, 17 Jun 2003 21:42:00 -0000	[thread overview]
Message-ID: <3EEF8B41.30405@nerim.fr> (raw)

[-- Attachment #1: Type: text/plain, Size: 772 bytes --]

Hi!

The following patch adds the Ada specific files to gdb.
These files build completely and allow to have a support of Ada in gdb.

Tested by configuring on i686 linux with ./configure --enable-tui

Tested the resulting i686 gdb on an Ada program compiled by gcc 3.3
(I had to 'set language ada' and the result was reasonable when comparing
to the C++ support).

Can someone approve this patch?

Ok... it breaks the -Werror because some of the Ada support files produce compilation
warnings.  But, it ensures that those files are kept up-to-date which was
not the case.  This will also allow people to improve and fix Ada support as well :-)

Thanks,
	Stephane

2003-06-17  Stephane Carrez  <stcarrez@nerim.fr>

	* Makefile.in (COMMON_OBS): Build the ada support files.

[-- Attachment #2: Makefile.in.diffs --]
[-- Type: text/plain, Size: 580 bytes --]

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.407
diff -u -p -r1.407 Makefile.in
--- Makefile.in	15 Jun 2003 20:56:46 -0000	1.407
+++ Makefile.in	17 Jun 2003 21:25:09 -0000
@@ -884,7 +884,8 @@ COMMON_OBS = version.o blockframe.o brea
 	gnu-v2-abi.o gnu-v3-abi.o hpacc-abi.o cp-abi.o cp-support.o \
 	cp-namespace.o \
 	reggroups.o \
-	trad-frame.o
+	trad-frame.o \
+	ada-exp.tab.o ada-lang.o ada-tasks.o ada-typeprint.o ada-valprint.o
 
 OBS = $(COMMON_OBS) $(ANNOTATE_OBS)
 

             reply	other threads:[~2003-06-17 21:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-17 21:42 Stephane Carrez [this message]
2003-06-18 10:17 ` Paul N. Hilfinger

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=3EEF8B41.30405@nerim.fr \
    --to=stcarrez@nerim.fr \
    --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