This is the mail archive of the gdb-patches@sourceware.org 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]

[commit/testsuite/ada] accept "boolean" as the type description for boolean types


Hello,

You may recall that AdaCore made a small change in the compiler to use
the DWARF DW_ATE_boolean encoding for booleans instead of an enumeration
type. A patch enhancing the Ada mode to support this was checked in by
Paul: http://www.sourceware.org/ml/gdb-patches/2008-08/msg00512.html.

However, we forgot to update one of the tests that has a boolean in it
which fails when the encoding is used, because now GDB prints this type
description as "boolean" instead of "range true .. false". Both
descriptions are valid, so I simply updated the testcase to accept both.

2008-09-10  Joel Brobecker  <brobecker@adacore.com>

        * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
        description for boolean types.

Tested on x86-linux. Checked in.

-- 
Joel

Attachment: packed_tagged.exp.diff
Description: Text document


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