This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA]: Compile Ada language files in gdb


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.
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)
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]