diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-12-11 14:02:52 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2020-12-11 14:02:52 -0500 |
commit | 94ba44a68dccb5fa2a0a40a52efebdd1faeae43d (patch) | |
tree | bb4178d227e8cf249092ed9e4307c1495b767c16 /gdb/infrun.h | |
parent | 74b773fcd658c52554a6af07c657f677c52f8102 (diff) | |
download | gdb-94ba44a68dccb5fa2a0a40a52efebdd1faeae43d.zip gdb-94ba44a68dccb5fa2a0a40a52efebdd1faeae43d.tar.gz gdb-94ba44a68dccb5fa2a0a40a52efebdd1faeae43d.tar.bz2 |
gdb: make debug_infrun a bool
gdb/ChangeLog:
* infrun.h (debug_infrun): Make a bool.
* infrun.c (debug_infrun): Make a bool.
(_initialize_infrun): Use add_setshow_boolean_cmd to define "set
debug infrun".
Change-Id: If934106a6d3f879b93d265855eb705b1d606339a
Diffstat (limited to 'gdb/infrun.h')
-rw-r--r-- | gdb/infrun.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.h b/gdb/infrun.h index 4a4db84..3b5ab75 100644 --- a/gdb/infrun.h +++ b/gdb/infrun.h @@ -29,7 +29,7 @@ struct process_stratum_target; struct thread_info; /* True if we are debugging run control. */ -extern unsigned int debug_infrun; +extern bool debug_infrun; /* Print an "infrun" debug statement. */ |