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]

Re: GDB version as convenience variable


On 2019-03-25 14:10, Eli Zaretskii wrote:
Is it worth having a test for that?

Hmm... how would you test that?

Something like

gdb_test "print \$_gdb_major" " = 8"
gdb_test "print \$_gdb_minor" " = 4"

Simon


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