From: Andrew Cagney <cagney@gnu.org>
To: Paul Hilfinger <hilfingr@gnat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA]: Turn on initial Ada support in GDB
Date: Tue, 28 Sep 2004 17:59:00 -0000 [thread overview]
Message-ID: <4159A662.2090407@gnu.org> (raw)
In-Reply-To: <20040927103327.450A8F2C33@nile.gnat.com>
> With the following patch, I believe we have addressed all outstanding
> requests for modifications. The most recent changes incorporated here
> (to ada-lang.c and ada-lang.h) strip out the code that was #ifdefed
> out depending on whether we were compiling from our internal sources
> or the public tree, and also remove a few other definitions or
> declarations that were unused as a result. The other files in the
> patch are repostings of the previously approved portions (not yet applied
> because the whole lot is interdependent).
>
> Paul Hilfinger
> 2004-09-27 Paul N. Hilfinger <Hilfinger@gnat.com>
>
> Turn on initial Ada support (mainly expression evaluation).
>
> * Makefile.in (ada_lex_c): Define
> (HFILES_NO_SRCDIR): Add ada-lang.h.
Can these two lines be put on hold for a moment, there's a symtab change
that should be run past the symtab reviewer.
> (COMMON_OBS): Add ada-lang.o, ada-typeprint.o, ada-valprint.o.
> (YYOBJ): Add ada-exp.o.
otherwize all the Makefile stuff can go in.
> (rule .l.c): Generalize to not mention ada.
> (ada-lex.o): Remove (ada-lex.c is included by ada-exp.y).
... dig dig, ah, bleaugh :-) Leave this for the moment -> I'll tweak
gdb_makefile.sh to better handle this. Just wonder if the above should
be changed from .l.c to .l.h. (but which ever)?
> (ada-lang.o): Add dependencies on completer.h, gdb_obstack.h,
> hashtab.h.
> (ada-tasks.o): Add dependency on gdb_string.h.
> (ada-valprint.o): Add dependency on gdb_string.h.
> (ada-exp.o): Add dependency on gdb_string.h.
>
> * symtab.c: Add dependency on ada-lang.h.
> (symbol_natural_name): Add Ada case.
> (symbol_demangled_name): Add Ada case.
> (symbol_search_name): Add Ada case.
This is for symtab review, can you post it separatly?
> * symfile.c (init_filename_language_table): Add extensions for
> Ada.
Relativly obvious, yes, ok.
> * defs.h (enum language): Add language_ada.
M'kay.
>
> * gdbtypes.h (TYPE_FLAG_FIXED_INSTANCE): Define.
It isn't used.
>
> * ada-lang.c: Strip code that is conditionalized out by GNAT_GDB.
> (add_symbols_from_enclosing_procs): Make a no-op for now.
> (ada_unqualified_name,add_angle_brackets,function_name_from_pc)
> (extended_canonical_line_spec, find_sal_from_funcs_and_line)
> (find_line_in_linetable, find_next_line_in_linetable)
> (read_all_symtabs, is_plausible_func_for_line)
> (adjust_pc_past_prologue, error_breakpoint_runtime_sym_not_found)
> (is_runtime_sym_defined, check_size): Remove declaration.
> (function_name_from_pc, ada_translate_error_message)
> (ada_lookup_minimal_symbol): Remove definition.
> (ada_add_block_symbols): Remove useless label.
> * ada-lang.h (ada_maybe_exception_partial_symbol): Remove
> useless declaration.
> (ada_is_exception_sym): Likewise.
Yes, and thanks.
> doc ChangeLog:
>
> 2004-09-22 Paul N. Hilfinger <hilfinger@gnat.com>
>
> * gdb.texinfo (Filenames): Add Ada suffixes.
> (Ada) New section.
For Eli, suggest posting it separatly.
Andrew
next prev parent reply other threads:[~2004-09-28 17:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-27 10:33 Paul Hilfinger
2004-09-28 17:59 ` Andrew Cagney [this message]
2004-09-29 8:39 ` Paul Hilfinger
[not found] ` <20040930073351.6BE79F2BA6@nile.gnat.com>
[not found] ` <415CADC5.6050205@gnu.org>
2004-10-01 10:41 ` Paul Hilfinger
[not found] ` <20041001102419.78F74F2D17@nile.gnat.com>
[not found] ` <415D6817.50005@gnu.org>
2004-10-01 18:25 ` Paul Hilfinger
2004-10-01 20:07 ` Andrew Cagney
2004-09-28 20:14 ` Eli Zaretskii
2004-09-28 20:41 ` Joel Brobecker
2004-09-30 12:56 ` Eli Zaretskii
2004-09-29 8:43 ` Paul 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=4159A662.2090407@gnu.org \
--to=cagney@gnu.org \
--cc=gdb-patches@sources.redhat.com \
--cc=hilfingr@gnat.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