Skip to content
Commit d03878e6 authored by Tom de Vries's avatar Tom de Vries
Browse files

[gdb/testsuite] Modernize gdb.base/huge.exp



Rewrite test-case gdb.base/huge.exp:
- use build_executable rather than gdb_compile,
- use save_vars,
- factor out hardcoded loop limits min and max,
- handle compilation failure using require, and
- avoid using . in regexp to match $, {} and <>.

Tested on x86_64-linux.

Approved-By: default avatarTom Tromey <tom@tromey.com>
parent d7680f13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment