* [RFA]: Compile Ada language files in gdb
@ 2003-06-17 21:42 Stephane Carrez
2003-06-18 10:17 ` Paul N. Hilfinger
0 siblings, 1 reply; 2+ messages in thread
From: Stephane Carrez @ 2003-06-17 21:42 UTC (permalink / raw)
To: gdb-patches
[-- 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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFA]: Compile Ada language files in gdb
2003-06-17 21:42 [RFA]: Compile Ada language files in gdb Stephane Carrez
@ 2003-06-18 10:17 ` Paul N. Hilfinger
0 siblings, 0 replies; 2+ messages in thread
From: Paul N. Hilfinger @ 2003-06-18 10:17 UTC (permalink / raw)
To: stcarrez; +Cc: gdb-patches
> The following patch adds the Ada specific files to gdb.
> These files build completely and allow to have a support of Ada in gdb.
Well, it's nice that they compile, but I fear this does not by itself
enable Ada support. I know, we've been promising to get this fixed
for awhile. Just a bit more patience, please. The last time I
submitted a patch to start this process, the reviewer (Andrew?)
suggested that it would be nice to keep Ada-specific tests out of
generic files. This has turned out to be rather surprisingly
involved, but that journey is now coming to an end.
Paul Hilfinger
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-18 10:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-17 21:42 [RFA]: Compile Ada language files in gdb Stephane Carrez
2003-06-18 10:17 ` Paul N. Hilfinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox