]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add non-wrapping mode to ada_decode
authorTom Tromey <tromey@adacore.com>
Fri, 25 Jun 2021 14:01:15 +0000 (08:01 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 25 Jun 2021 14:07:21 +0000 (08:07 -0600)
commit8a3df5acae7ad08f691b449c7e6f8e38fb1b8cb1
treec249b9197a9b8c7dfd719e3328bf91a5390c813f
parent134df964367c19afa2eef81a0841fe1c181a9edc
Add non-wrapping mode to ada_decode

When ada_decode encounters a name that it cannot decode, it simply
wraps it in <...>, which is used elsewhere in the Ada code to indicate
that a verbatim match should be done.

A subequent patch needed the ability to suppress this wrapping, so
this patch adds a new mode to ada_decode.

2021-06-25  Tom Tromey  <tromey@adacore.com>

* ada-lang.c (ada_decode): Add wrap parameter.
* ada-lang.h (ada_decode): Add wrap parameter.
gdb/ChangeLog
gdb/ada-lang.c
gdb/ada-lang.h